grpc 1.81.1 → 1.82.0.pre2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Makefile +12 -9
- data/include/grpc/grpc.h +6 -7
- data/include/grpc/impl/channel_arg_names.h +3 -1
- data/src/core/call/call_filters.h +2 -2
- data/src/core/call/client_call.cc +1 -1
- data/src/core/call/interception_chain.h +6 -9
- data/src/core/call/metadata.h +1 -1
- data/src/core/call/metadata_batch.cc +1 -1
- data/src/core/call/metadata_batch.h +17 -1
- data/src/core/call/parsed_metadata.h +7 -2
- data/src/core/call/server_call.cc +4 -2
- data/src/core/call/server_call.h +9 -2
- data/src/core/call/status_util.cc +0 -4
- data/src/core/call/status_util.h +0 -3
- data/src/core/channelz/channel_trace.cc +3 -1
- data/src/core/client_channel/backup_poller.cc +1 -1
- data/src/core/client_channel/client_channel.cc +6 -14
- data/src/core/client_channel/client_channel.h +2 -2
- data/src/core/client_channel/client_channel_filter.cc +8 -17
- data/src/core/client_channel/client_channel_filter.h +2 -2
- data/src/core/client_channel/client_channel_plugin.cc +1 -1
- data/src/core/client_channel/config_selector.h +2 -7
- data/src/core/client_channel/dynamic_filters.cc +4 -7
- data/src/core/client_channel/dynamic_filters.h +1 -3
- data/src/core/client_channel/retry_filter.cc +2 -25
- data/src/core/client_channel/retry_filter.h +3 -7
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.h +2 -2
- data/src/core/client_channel/retry_interceptor.cc +7 -35
- data/src/core/client_channel/retry_interceptor.h +11 -14
- data/src/core/client_channel/retry_service_config.cc +0 -2
- data/src/core/client_channel/retry_service_config.h +0 -2
- data/src/core/client_channel/retry_throttle.cc +19 -7
- data/src/core/client_channel/retry_throttle.h +24 -7
- data/src/core/client_channel/subchannel.cc +1 -1
- data/src/core/credentials/call/external/external_account_credentials.cc +125 -12
- data/src/core/credentials/call/external/external_account_credentials.h +6 -1
- data/src/core/credentials/call/jwt/jwt_credentials.cc +11 -1
- data/src/core/credentials/call/jwt/jwt_credentials.h +3 -0
- data/src/core/credentials/call/oauth2/oauth2_credentials.cc +64 -11
- data/src/core/credentials/call/oauth2/oauth2_credentials.h +0 -1
- data/src/core/credentials/call/regional_access_boundary_fetcher.cc +411 -0
- data/src/core/credentials/call/regional_access_boundary_fetcher.h +158 -0
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.cc +1 -1
- data/src/core/credentials/call/token_fetcher/token_fetcher_credentials.h +7 -1
- data/src/core/credentials/transport/insecure/insecure_security_connector.h +1 -1
- data/src/core/credentials/transport/local/local_security_connector.cc +1 -1
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +28 -66
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +0 -8
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +24 -58
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +24 -19
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -81
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -50
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +13 -56
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +0 -14
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +175 -51
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +10 -1
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +73 -6
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +1 -0
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/flow_control.h +11 -0
- data/src/core/ext/transport/chttp2/transport/flow_control_manager.h +2 -4
- data/src/core/ext/transport/chttp2/transport/frame.cc +63 -13
- data/src/core/ext/transport/chttp2/transport/frame.h +45 -10
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +11 -3
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -1
- data/src/core/ext/transport/chttp2/transport/header_assembler.h +54 -22
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +53 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.cc +22 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +20 -0
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +33 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +4 -1
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.cc +118 -157
- data/src/core/ext/transport/chttp2/transport/http2_client_transport.h +6 -13
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.cc +2187 -0
- data/src/core/ext/transport/chttp2/transport/http2_server_transport.h +748 -0
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +19 -4
- data/src/core/ext/transport/chttp2/transport/http2_settings_manager.h +0 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings_promises.h +50 -17
- data/src/core/ext/transport/chttp2/transport/http2_transport.cc +13 -15
- data/src/core/ext/transport/chttp2/transport/http2_transport.h +16 -48
- data/src/core/ext/transport/chttp2/transport/internal.h +14 -0
- data/src/core/ext/transport/chttp2/transport/message_assembler.h +1 -2
- data/src/core/ext/transport/chttp2/transport/parsing.cc +82 -24
- data/src/core/ext/transport/chttp2/transport/read_context.h +452 -0
- data/src/core/ext/transport/chttp2/transport/security_frame.h +12 -3
- data/src/core/ext/transport/chttp2/transport/stream.h +25 -26
- data/src/core/ext/transport/chttp2/transport/stream_data_queue.h +6 -4
- data/src/core/ext/transport/chttp2/transport/write_cycle.h +9 -1
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +16 -2
- data/src/core/ext/upb-gen/cel/expr/checked.upb.h +621 -432
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.c +264 -166
- data/src/core/ext/upb-gen/cel/expr/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/cel/expr/syntax.upb.h +708 -497
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.c +294 -176
- data/src/core/ext/upb-gen/cel/expr/syntax.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +262 -181
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +84 -58
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +254 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +107 -53
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +271 -190
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +88 -64
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +1035 -730
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +384 -260
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.h +0 -19
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +105 -71
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +31 -29
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +19 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +201 -165
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +79 -31
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +46 -29
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb_minitable.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +34 -27
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +617 -452
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +221 -163
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +1339 -970
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +484 -324
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +0 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +181 -135
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +1353 -1028
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +535 -361
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +0 -25
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +234 -196
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +77 -57
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +695 -502
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +246 -186
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb.h +140 -116
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.c +53 -43
- data/src/core/ext/upb-gen/envoy/config/common/mutation_rules/v3/mutation_rules.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +363 -269
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +131 -89
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +1073 -769
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +515 -293
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +0 -30
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +375 -267
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +142 -86
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +87 -56
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +634 -468
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +255 -161
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.h +0 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +672 -474
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +228 -130
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +811 -635
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +347 -221
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +174 -118
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +62 -38
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +78 -57
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +28 -18
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_cmsg_headers.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +159 -119
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +47 -35
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +101 -76
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +41 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +189 -127
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +79 -49
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +378 -283
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +156 -98
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +354 -255
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +125 -69
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +611 -451
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +159 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +468 -321
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +157 -99
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +146 -119
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +55 -35
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +61 -51
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +43 -39
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +341 -247
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +130 -84
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +452 -313
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +144 -100
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +666 -493
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +251 -181
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +327 -197
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +92 -48
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +3583 -2532
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +1340 -816
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.h +0 -60
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +111 -82
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +48 -28
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +548 -410
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +214 -148
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +59 -50
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +30 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +29 -26
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +60 -49
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +50 -36
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +82 -63
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +27 -19
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +70 -58
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/config/trace/v3/trace.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +73 -62
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +39 -25
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +49 -45
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +33 -13
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +771 -588
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +383 -185
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb.h +66 -47
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +31 -17
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb.h +69 -58
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.c +27 -23
- data/src/core/ext/upb-gen/envoy/extensions/common/matching/v3/extension_matcher.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +151 -119
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +45 -39
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/matcher/action/v3/skip_action.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb.h +144 -109
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.c +46 -38
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/composite/v3/composite.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +184 -139
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +65 -35
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +129 -106
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +69 -41
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +83 -71
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +40 -26
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +148 -101
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +45 -27
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +35 -21
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +1362 -1024
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +508 -336
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.h +0 -22
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/call_credentials/access_token/v3/access_token_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb.h +35 -31
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/tls/v3/tls_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/grpc_service/channel_credentials/xds/v3/xds_credentials.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +94 -74
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +35 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +231 -179
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +88 -66
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +63 -56
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +31 -19
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb.h +27 -24
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/cert.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +538 -364
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +157 -95
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +150 -110
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +69 -49
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +517 -389
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +182 -116
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +84 -62
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +30 -22
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +340 -256
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +92 -82
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb.h +19 -17
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +857 -566
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +288 -182
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.h +0 -15
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +105 -72
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +312 -226
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +132 -78
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +82 -61
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +35 -19
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +123 -89
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb.h +48 -33
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/address.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +42 -36
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +101 -79
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +61 -31
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +83 -60
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +37 -19
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +56 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +15 -13
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +34 -29
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +32 -27
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +13 -11
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +88 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +48 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb.h +37 -30
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +1 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +79 -56
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +26 -18
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +164 -124
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +54 -40
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +200 -147
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +47 -41
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +160 -130
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +89 -47
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.h +0 -5
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +78 -62
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +26 -20
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/http.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +21 -19
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +43 -36
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +22 -12
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +62 -51
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +33 -19
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb.h +2 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_unit.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +25 -23
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +37 -33
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +15 -13
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/google/api/annotations.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +619 -430
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +260 -168
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.h +0 -13
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +734 -518
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +312 -182
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.h +0 -16
- data/src/core/ext/upb-gen/google/api/http.upb.h +146 -105
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +65 -29
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +52 -37
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +2236 -1514
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +824 -406
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +0 -34
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/empty.upb.h +19 -17
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +149 -100
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +59 -43
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +23 -21
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +15 -7
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +181 -139
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +99 -53
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +52 -37
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb.h +1553 -1157
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.c +712 -410
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/channelz.upb_minitable.h +0 -39
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb.h +189 -125
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.c +59 -35
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/channelz.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb.h +454 -343
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.c +204 -130
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/promise.upb_minitable.h +0 -11
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb.h +369 -243
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.c +109 -79
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/property_list.upb_minitable.h +0 -7
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb.h +256 -175
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.c +122 -68
- data/src/core/ext/upb-gen/src/proto/grpc/channelz/v2/service.upb_minitable.h +0 -8
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +71 -51
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +39 -19
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +583 -407
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +259 -145
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.h +0 -12
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +114 -84
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +52 -30
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +41 -34
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +25 -13
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +309 -230
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +123 -79
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +98 -63
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +51 -23
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +505 -312
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +159 -87
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.h +0 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +36 -29
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/validate/validate.upb.h +1682 -1130
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +587 -247
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.h +4 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +128 -91
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +82 -41
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.h +5 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +36 -29
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +36 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +13 -11
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.c +22 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb_minitable.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +122 -90
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +82 -39
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.h +3 -7
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +34 -27
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +34 -13
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.h +1 -2
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +21 -19
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +13 -7
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +70 -58
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +53 -34
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +26 -16
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +37 -33
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +22 -14
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +102 -76
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +43 -23
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +33 -30
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +19 -11
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +136 -83
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +41 -33
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.h +0 -4
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +46 -32
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +20 -12
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +93 -61
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +28 -20
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb.h +19 -17
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +1 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.h +0 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +105 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +32 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +430 -314
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +153 -123
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.h +0 -10
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +307 -199
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +74 -62
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.h +0 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +52 -42
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +19 -13
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +95 -71
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +36 -22
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +92 -77
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +42 -28
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.h +0 -2
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +67 -55
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +36 -18
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.h +0 -3
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +29 -26
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +17 -11
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.h +0 -1
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +885 -855
- data/src/core/filter/composite/composite_filter.cc +10 -3
- data/src/core/filter/composite/composite_filter.h +11 -1
- data/src/core/filter/filter_args.h +4 -22
- data/src/core/handshaker/handshaker.cc +10 -2
- data/src/core/handshaker/security/secure_endpoint.cc +73 -5
- data/src/core/lib/channel/channel_args.h +12 -6
- data/src/core/lib/channel/channel_stack.cc +1 -2
- data/src/core/lib/channel/channel_stack.h +1 -7
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -1
- data/src/core/lib/channel/channel_stack_builder_impl.h +0 -7
- data/src/core/lib/channel/promise_based_filter.cc +13 -1
- data/src/core/lib/channel/promise_based_filter.h +4 -5
- data/src/core/lib/event_engine/extensions/chaotic_good_extension.h +0 -13
- data/src/core/lib/event_engine/extensions/receive_coalescing_extension.h +48 -0
- data/src/core/lib/event_engine/posix.h +2 -0
- data/src/core/lib/event_engine/posix_engine/native_posix_dns_resolver.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +11 -8
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -6
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +2 -1
- data/src/core/lib/event_engine/posix_engine/posix_interface_posix.cc +10 -10
- data/src/core/lib/event_engine/posix_engine/posix_write_event_sink.h +1 -1
- data/src/core/lib/event_engine/windows/grpc_polled_fd_windows.cc +1 -1
- data/src/core/lib/event_engine/windows/native_windows_dns_resolver.cc +5 -4
- data/src/core/lib/experiments/experiments.cc +258 -87
- data/src/core/lib/experiments/experiments.h +130 -32
- data/src/core/lib/iomgr/buffer_list.h +1 -1
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +1 -1
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +2 -2
- data/src/core/lib/iomgr/tcp_posix.cc +2 -1
- data/src/core/lib/iomgr/tcp_server_posix.cc +3 -3
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -1
- data/src/core/lib/promise/detail/promise_factory.h +8 -8
- data/src/core/lib/promise/interceptor_list.h +1 -1
- data/src/core/lib/promise/try_seq.h +2 -2
- data/src/core/lib/resource_quota/telemetry.cc +54 -0
- data/src/core/lib/resource_quota/telemetry.h +5 -23
- data/src/core/lib/surface/call.cc +6 -1
- data/src/core/lib/surface/call.h +9 -0
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/promise_endpoint.h +7 -5
- data/src/core/lib/transport/transport.h +31 -4
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +146 -74
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.h +88 -0
- data/src/core/mitigation_engine/mitigation_engine.h +81 -0
- data/src/core/plugin_registry/grpc_plugin_registry.cc +0 -2
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -5
- data/src/core/resolver/xds/xds_resolver.cc +23 -133
- data/src/core/server/server.cc +40 -18
- data/src/core/server/server.h +25 -14
- data/src/core/server/server_config_selector_filter.cc +122 -0
- data/src/core/server/server_config_selector_filter.h +1 -0
- data/src/core/server/xds_server_config_fetcher.cc +6 -0
- data/src/core/server/xds_server_config_fetcher_legacy.cc +1333 -0
- data/src/core/telemetry/histogram.h +10 -89
- data/src/core/telemetry/instrument.h +42 -28
- data/src/core/transport/message_size_service_config.cc +123 -0
- data/src/core/transport/message_size_service_config.h +85 -0
- data/src/core/transport/session_endpoint.cc +29 -4
- data/src/core/transport/session_endpoint.h +4 -0
- data/src/core/tsi/alts/crypt/gsec.h +4 -2
- data/src/core/tsi/ssl_transport_security.cc +6 -4
- data/src/core/util/http_client/parser.cc +1 -1
- data/src/core/util/lru_cache.h +2 -0
- data/src/core/util/ref_counted_string.h +1 -1
- data/src/core/util/tchar.cc +13 -7
- data/src/core/util/trie_lookup.h +1 -1
- data/src/core/xds/grpc/blackboard.cc +58 -0
- data/src/core/{filter → xds/grpc}/blackboard.h +30 -11
- data/src/core/xds/grpc/xds_common_types.cc +40 -0
- data/src/core/xds/grpc/xds_common_types.h +13 -0
- data/src/core/xds/grpc/xds_common_types_parser.cc +37 -34
- data/src/core/xds/grpc/xds_endpoint_parser.cc +1 -1
- data/src/core/xds/grpc/xds_http_composite_filter.cc +34 -18
- data/src/core/xds/grpc/xds_http_composite_filter.h +6 -3
- data/src/core/xds/grpc/xds_http_fault_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_fault_filter.h +19 -8
- data/src/core/xds/grpc/xds_http_filter.cc +2 -1
- data/src/core/xds/grpc/xds_http_filter.h +6 -16
- data/src/core/xds/grpc/xds_http_filter_registry.cc +0 -2
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.cc +25 -119
- data/src/core/xds/grpc/xds_http_gcp_authn_filter.h +27 -15
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +0 -149
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +19 -8
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +18 -0
- data/src/core/xds/grpc/xds_listener_parser.cc +13 -9
- data/src/core/xds/grpc/xds_route_config.h +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.cc +3 -5
- data/src/core/xds/grpc/xds_routing.cc +5 -11
- data/src/core/xds/grpc/xds_routing.h +2 -3
- data/src/core/xds/xds_client/lrs_client.cc +2 -2
- data/src/ruby/ext/grpc/rb_byte_buffer.c +1 -0
- data/src/ruby/ext/grpc/rb_call.c +3 -0
- data/src/ruby/ext/grpc/rb_call_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_channel.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -0
- data/src/ruby/ext/grpc/rb_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_completion_queue.c +1 -0
- data/src/ruby/ext/grpc/rb_compression_options.c +1 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +6 -6
- data/src/ruby/ext/grpc/rb_server.c +1 -0
- data/src/ruby/ext/grpc/rb_server_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_channel_credentials.c +1 -0
- data/src/ruby/ext/grpc/rb_xds_server_credentials.c +1 -0
- data/src/ruby/lib/grpc/core/call_credentials.rb +86 -0
- data/src/ruby/lib/grpc/core/channel_credentials.rb +69 -0
- data/src/ruby/lib/grpc/core/credentials_helper.rb +126 -0
- data/src/ruby/lib/grpc/generic/client_stub.rb +86 -73
- data/src/ruby/lib/grpc/generic/interceptors.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/lib/grpc.rb +25 -0
- data/src/ruby/spec/call_credentials_spec.rb +52 -2
- data/src/ruby/spec/credentials_helper_spec.rb +80 -0
- data/src/ruby/spec/generic/client_stub_spec.rb +27 -4
- data/src/ruby/spec/generic/server_interceptors_spec.rb +17 -3
- data/third_party/upb/upb/base/error_handler.h +79 -0
- data/third_party/upb/upb/base/internal/log2.h +29 -5
- data/third_party/upb/upb/generated_code_support.h +1 -0
- data/third_party/upb/upb/hash/common.c +129 -14
- data/third_party/upb/upb/hash/common.h +1 -1
- data/third_party/upb/upb/hash/ext_table.h +65 -0
- data/third_party/upb/upb/lex/strtod.c +14 -5
- data/third_party/upb/upb/mem/arena.c +113 -95
- data/third_party/upb/upb/mem/internal/arena.h +13 -8
- data/third_party/upb/upb/message/accessors.c +2 -3
- data/third_party/upb/upb/message/accessors.h +32 -12
- data/third_party/upb/upb/message/array.c +51 -2
- data/third_party/upb/upb/message/array.h +10 -0
- data/third_party/upb/upb/message/copy.c +18 -34
- data/third_party/upb/upb/message/internal/accessors.h +15 -49
- data/third_party/upb/upb/message/internal/array.h +1 -1
- data/third_party/upb/upb/message/internal/map.h +1 -1
- data/third_party/upb/upb/message/internal/message.c +8 -1
- data/third_party/upb/upb/message/internal/message.h +40 -10
- data/third_party/upb/upb/message/message.c +3 -2
- data/third_party/upb/upb/message/value.h +0 -6
- data/third_party/upb/upb/mini_descriptor/decode.c +78 -59
- data/third_party/upb/upb/mini_descriptor/link.c +8 -6
- data/third_party/upb/upb/mini_table/extension_registry.c +17 -49
- data/third_party/upb/upb/mini_table/extension_registry.h +5 -17
- data/third_party/upb/upb/mini_table/generated_registry.c +180 -0
- data/third_party/upb/upb/mini_table/generated_registry.h +66 -0
- data/third_party/upb/upb/mini_table/internal/extension.h +5 -3
- data/third_party/upb/upb/mini_table/internal/field.h +7 -5
- data/third_party/upb/upb/mini_table/internal/generated_registry.h +37 -0
- data/third_party/upb/upb/mini_table/internal/message.c +0 -18
- data/third_party/upb/upb/mini_table/internal/message.h +24 -41
- data/third_party/upb/upb/mini_table/internal/size_log2.h +2 -1
- data/third_party/upb/upb/mini_table/internal/sub.h +2 -5
- data/third_party/upb/upb/mini_table/message.h +34 -13
- data/third_party/upb/upb/port/atomic.h +180 -74
- data/third_party/upb/upb/port/def.inc +194 -29
- data/third_party/upb/upb/port/sanitizers.h +15 -0
- data/third_party/upb/upb/port/undef.inc +6 -2
- data/third_party/upb/upb/reflection/common.h +0 -6
- data/third_party/upb/upb/reflection/def.hpp +8 -12
- data/third_party/upb/upb/reflection/def_pool.c +85 -33
- data/third_party/upb/upb/reflection/def_pool.h +38 -8
- data/third_party/upb/upb/reflection/def_type.h +3 -0
- data/third_party/upb/upb/reflection/enum_def.c +45 -33
- data/third_party/upb/upb/reflection/enum_def.h +8 -4
- data/third_party/upb/upb/reflection/enum_reserved_range.c +7 -3
- data/third_party/upb/upb/reflection/enum_value_def.c +14 -29
- data/third_party/upb/upb/reflection/enum_value_def.h +5 -4
- data/third_party/upb/upb/reflection/extension_range.c +15 -14
- data/third_party/upb/upb/reflection/extension_range.h +7 -4
- data/third_party/upb/upb/reflection/field_def.c +114 -96
- data/third_party/upb/upb/reflection/field_def.h +3 -3
- data/third_party/upb/upb/reflection/file_def.c +71 -65
- data/third_party/upb/upb/reflection/file_def.h +4 -5
- data/third_party/upb/upb/reflection/internal/def_builder.c +22 -14
- data/third_party/upb/upb/reflection/internal/def_builder.h +44 -38
- data/third_party/upb/upb/reflection/internal/def_pool.h +5 -1
- data/third_party/upb/upb/reflection/internal/enum_def.h +6 -4
- data/third_party/upb/upb/reflection/internal/enum_reserved_range.h +3 -2
- data/third_party/upb/upb/reflection/internal/enum_value_def.h +7 -4
- data/third_party/upb/upb/reflection/internal/extension_range.h +4 -3
- data/third_party/upb/upb/reflection/internal/field_def.h +15 -12
- data/third_party/upb/upb/reflection/internal/file_def.h +8 -1
- data/third_party/upb/upb/reflection/internal/message_def.h +10 -7
- data/third_party/upb/upb/reflection/internal/message_reserved_range.h +3 -1
- data/third_party/upb/upb/reflection/internal/method_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/oneof_def.h +6 -6
- data/third_party/upb/upb/reflection/internal/service_def.h +9 -6
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message_def.c +46 -53
- data/third_party/upb/upb/reflection/message_def.h +6 -7
- data/third_party/upb/upb/reflection/message_reserved_range.c +7 -6
- data/third_party/upb/upb/reflection/method_def.c +22 -20
- data/third_party/upb/upb/reflection/method_def.h +4 -4
- data/third_party/upb/upb/reflection/oneof_def.c +17 -15
- data/third_party/upb/upb/reflection/oneof_def.h +6 -3
- data/third_party/upb/upb/reflection/service_def.c +50 -23
- data/third_party/upb/upb/reflection/service_def.h +7 -4
- data/third_party/upb/upb/text/internal/encode.c +7 -10
- data/third_party/upb/upb/wire/decode.c +269 -430
- data/third_party/upb/upb/wire/decode.h +6 -45
- data/third_party/upb/upb/wire/decode_fast/combinations.h +7 -3
- data/third_party/upb/upb/wire/decode_fast/select.c +7 -2
- data/third_party/upb/upb/wire/encode.c +144 -106
- data/third_party/upb/upb/wire/encode.h +6 -2
- data/third_party/upb/upb/wire/eps_copy_input_stream.c +36 -7
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +94 -380
- data/third_party/upb/upb/wire/internal/decoder.c +1 -14
- data/third_party/upb/upb/wire/internal/decoder.h +84 -24
- data/third_party/upb/upb/wire/internal/eps_copy_input_stream.h +339 -0
- data/third_party/upb/upb/wire/internal/reader.h +29 -12
- data/third_party/upb/upb/wire/reader.c +35 -22
- data/third_party/upb/upb/wire/reader.h +11 -18
- data/third_party/utf8_range/utf8_range.c +1 -1
- data/third_party/utf8_range/utf8_range.h +2 -1
- metadata +27 -13
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +0 -117
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.h +0 -109
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.cc +0 -80
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_service_config_parser.h +0 -86
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.cc +0 -83
- data/src/core/ext/filters/stateful_session/stateful_session_service_config_parser.h +0 -91
- data/src/core/ext/transport/chttp2/transport/incoming_metadata_tracker.h +0 -217
- data/src/core/filter/blackboard.cc +0 -33
- data/third_party/upb/upb/message/internal/tagged_ptr.h +0 -56
- data/third_party/upb/upb/message/tagged_ptr.h +0 -48
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
#define SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_H__UPB_H_
|
|
11
11
|
|
|
12
12
|
#include "upb/generated_code_support.h"
|
|
13
|
-
|
|
14
13
|
#include "src/proto/grpc/gcp/handshaker.upb_minitable.h"
|
|
15
|
-
|
|
16
14
|
#include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h"
|
|
17
15
|
|
|
18
16
|
// Must be last.
|
|
@@ -21,17 +19,46 @@
|
|
|
21
19
|
#ifdef __cplusplus
|
|
22
20
|
extern "C" {
|
|
23
21
|
#endif
|
|
22
|
+
typedef struct grpc_gcp_Endpoint {
|
|
23
|
+
upb_Message UPB_PRIVATE(base);
|
|
24
|
+
} grpc_gcp_Endpoint;
|
|
25
|
+
|
|
26
|
+
typedef struct grpc_gcp_Identity {
|
|
27
|
+
upb_Message UPB_PRIVATE(base);
|
|
28
|
+
} grpc_gcp_Identity;
|
|
29
|
+
|
|
30
|
+
typedef struct grpc_gcp_StartClientHandshakeReq {
|
|
31
|
+
upb_Message UPB_PRIVATE(base);
|
|
32
|
+
} grpc_gcp_StartClientHandshakeReq;
|
|
33
|
+
|
|
34
|
+
typedef struct grpc_gcp_ServerHandshakeParameters {
|
|
35
|
+
upb_Message UPB_PRIVATE(base);
|
|
36
|
+
} grpc_gcp_ServerHandshakeParameters;
|
|
37
|
+
|
|
38
|
+
typedef struct grpc_gcp_StartServerHandshakeReq {
|
|
39
|
+
upb_Message UPB_PRIVATE(base);
|
|
40
|
+
} grpc_gcp_StartServerHandshakeReq;
|
|
41
|
+
|
|
42
|
+
typedef struct grpc_gcp_NextHandshakeMessageReq {
|
|
43
|
+
upb_Message UPB_PRIVATE(base);
|
|
44
|
+
} grpc_gcp_NextHandshakeMessageReq;
|
|
45
|
+
|
|
46
|
+
typedef struct grpc_gcp_HandshakerReq {
|
|
47
|
+
upb_Message UPB_PRIVATE(base);
|
|
48
|
+
} grpc_gcp_HandshakerReq;
|
|
49
|
+
|
|
50
|
+
typedef struct grpc_gcp_HandshakerResult {
|
|
51
|
+
upb_Message UPB_PRIVATE(base);
|
|
52
|
+
} grpc_gcp_HandshakerResult;
|
|
53
|
+
|
|
54
|
+
typedef struct grpc_gcp_HandshakerStatus {
|
|
55
|
+
upb_Message UPB_PRIVATE(base);
|
|
56
|
+
} grpc_gcp_HandshakerStatus;
|
|
57
|
+
|
|
58
|
+
typedef struct grpc_gcp_HandshakerResp {
|
|
59
|
+
upb_Message UPB_PRIVATE(base);
|
|
60
|
+
} grpc_gcp_HandshakerResp;
|
|
24
61
|
|
|
25
|
-
typedef struct grpc_gcp_Endpoint { upb_Message UPB_PRIVATE(base); } grpc_gcp_Endpoint;
|
|
26
|
-
typedef struct grpc_gcp_Identity { upb_Message UPB_PRIVATE(base); } grpc_gcp_Identity;
|
|
27
|
-
typedef struct grpc_gcp_StartClientHandshakeReq { upb_Message UPB_PRIVATE(base); } grpc_gcp_StartClientHandshakeReq;
|
|
28
|
-
typedef struct grpc_gcp_ServerHandshakeParameters { upb_Message UPB_PRIVATE(base); } grpc_gcp_ServerHandshakeParameters;
|
|
29
|
-
typedef struct grpc_gcp_StartServerHandshakeReq { upb_Message UPB_PRIVATE(base); } grpc_gcp_StartServerHandshakeReq;
|
|
30
|
-
typedef struct grpc_gcp_NextHandshakeMessageReq { upb_Message UPB_PRIVATE(base); } grpc_gcp_NextHandshakeMessageReq;
|
|
31
|
-
typedef struct grpc_gcp_HandshakerReq { upb_Message UPB_PRIVATE(base); } grpc_gcp_HandshakerReq;
|
|
32
|
-
typedef struct grpc_gcp_HandshakerResult { upb_Message UPB_PRIVATE(base); } grpc_gcp_HandshakerResult;
|
|
33
|
-
typedef struct grpc_gcp_HandshakerStatus { upb_Message UPB_PRIVATE(base); } grpc_gcp_HandshakerStatus;
|
|
34
|
-
typedef struct grpc_gcp_HandshakerResp { upb_Message UPB_PRIVATE(base); } grpc_gcp_HandshakerResp;
|
|
35
62
|
struct grpc_gcp_NegotiatedTransportProtocol;
|
|
36
63
|
struct grpc_gcp_RpcProtocolVersions;
|
|
37
64
|
struct grpc_gcp_TransportProtocolPreferences;
|
|
@@ -51,37 +78,39 @@ typedef enum {
|
|
|
51
78
|
|
|
52
79
|
|
|
53
80
|
/* grpc.gcp.Endpoint */
|
|
54
|
-
|
|
55
81
|
UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_new(upb_Arena* arena) {
|
|
56
82
|
return (grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena);
|
|
57
83
|
}
|
|
58
|
-
UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse(const char* buf, size_t size,
|
|
84
|
+
UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse(const char* buf, size_t size,
|
|
85
|
+
upb_Arena* arena) {
|
|
59
86
|
grpc_gcp_Endpoint* ret = grpc_gcp_Endpoint_new(arena);
|
|
60
87
|
if (!ret) return NULL;
|
|
61
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Endpoint_msg_init, NULL, 0,
|
|
62
|
-
|
|
88
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Endpoint_msg_init, NULL, 0,
|
|
89
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
63
90
|
return NULL;
|
|
64
91
|
}
|
|
65
92
|
return ret;
|
|
66
93
|
}
|
|
67
|
-
UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(
|
|
68
|
-
|
|
69
|
-
|
|
94
|
+
UPB_INLINE grpc_gcp_Endpoint* grpc_gcp_Endpoint_parse_ex(
|
|
95
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
96
|
+
int options, upb_Arena* arena) {
|
|
70
97
|
grpc_gcp_Endpoint* ret = grpc_gcp_Endpoint_new(arena);
|
|
71
98
|
if (!ret) return NULL;
|
|
72
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Endpoint_msg_init, extreg,
|
|
73
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
99
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Endpoint_msg_init, extreg,
|
|
100
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
74
101
|
return NULL;
|
|
75
102
|
}
|
|
76
103
|
return ret;
|
|
77
104
|
}
|
|
78
|
-
UPB_INLINE char* grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint* msg,
|
|
105
|
+
UPB_INLINE char* grpc_gcp_Endpoint_serialize(const grpc_gcp_Endpoint* msg,
|
|
106
|
+
upb_Arena* arena, size_t* len) {
|
|
79
107
|
char* ptr;
|
|
80
108
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__Endpoint_msg_init, 0, arena, &ptr, len);
|
|
81
109
|
return ptr;
|
|
82
110
|
}
|
|
83
|
-
UPB_INLINE char* grpc_gcp_Endpoint_serialize_ex(const grpc_gcp_Endpoint* msg,
|
|
84
|
-
|
|
111
|
+
UPB_INLINE char* grpc_gcp_Endpoint_serialize_ex(const grpc_gcp_Endpoint* msg,
|
|
112
|
+
int options, upb_Arena* arena,
|
|
113
|
+
size_t* len) {
|
|
85
114
|
char* ptr;
|
|
86
115
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__Endpoint_msg_init, options, arena, &ptr, len);
|
|
87
116
|
return ptr;
|
|
@@ -123,51 +152,53 @@ UPB_INLINE int32_t grpc_gcp_Endpoint_protocol(const grpc_gcp_Endpoint* msg) {
|
|
|
123
152
|
return ret;
|
|
124
153
|
}
|
|
125
154
|
|
|
126
|
-
UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint
|
|
155
|
+
UPB_INLINE void grpc_gcp_Endpoint_set_ip_address(grpc_gcp_Endpoint* msg, upb_StringView value) {
|
|
127
156
|
const upb_MiniTableField field = {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
128
|
-
upb_Message_SetBaseField((upb_Message
|
|
157
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
129
158
|
}
|
|
130
|
-
UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint
|
|
159
|
+
UPB_INLINE void grpc_gcp_Endpoint_set_port(grpc_gcp_Endpoint* msg, int32_t value) {
|
|
131
160
|
const upb_MiniTableField field = {2, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
132
|
-
upb_Message_SetBaseField((upb_Message
|
|
161
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
133
162
|
}
|
|
134
|
-
UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint
|
|
163
|
+
UPB_INLINE void grpc_gcp_Endpoint_set_protocol(grpc_gcp_Endpoint* msg, int32_t value) {
|
|
135
164
|
const upb_MiniTableField field = {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
136
|
-
upb_Message_SetBaseField((upb_Message
|
|
165
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
137
166
|
}
|
|
138
167
|
|
|
139
168
|
/* grpc.gcp.Identity */
|
|
140
|
-
|
|
141
169
|
UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_new(upb_Arena* arena) {
|
|
142
170
|
return (grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
143
171
|
}
|
|
144
|
-
UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse(const char* buf, size_t size,
|
|
172
|
+
UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse(const char* buf, size_t size,
|
|
173
|
+
upb_Arena* arena) {
|
|
145
174
|
grpc_gcp_Identity* ret = grpc_gcp_Identity_new(arena);
|
|
146
175
|
if (!ret) return NULL;
|
|
147
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Identity_msg_init, NULL, 0,
|
|
148
|
-
|
|
176
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Identity_msg_init, NULL, 0,
|
|
177
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
149
178
|
return NULL;
|
|
150
179
|
}
|
|
151
180
|
return ret;
|
|
152
181
|
}
|
|
153
|
-
UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(
|
|
154
|
-
|
|
155
|
-
|
|
182
|
+
UPB_INLINE grpc_gcp_Identity* grpc_gcp_Identity_parse_ex(
|
|
183
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
184
|
+
int options, upb_Arena* arena) {
|
|
156
185
|
grpc_gcp_Identity* ret = grpc_gcp_Identity_new(arena);
|
|
157
186
|
if (!ret) return NULL;
|
|
158
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Identity_msg_init, extreg,
|
|
159
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
187
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__Identity_msg_init, extreg,
|
|
188
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
160
189
|
return NULL;
|
|
161
190
|
}
|
|
162
191
|
return ret;
|
|
163
192
|
}
|
|
164
|
-
UPB_INLINE char* grpc_gcp_Identity_serialize(const grpc_gcp_Identity* msg,
|
|
193
|
+
UPB_INLINE char* grpc_gcp_Identity_serialize(const grpc_gcp_Identity* msg,
|
|
194
|
+
upb_Arena* arena, size_t* len) {
|
|
165
195
|
char* ptr;
|
|
166
196
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__Identity_msg_init, 0, arena, &ptr, len);
|
|
167
197
|
return ptr;
|
|
168
198
|
}
|
|
169
|
-
UPB_INLINE char* grpc_gcp_Identity_serialize_ex(const grpc_gcp_Identity* msg,
|
|
170
|
-
|
|
199
|
+
UPB_INLINE char* grpc_gcp_Identity_serialize_ex(const grpc_gcp_Identity* msg,
|
|
200
|
+
int options, upb_Arena* arena,
|
|
201
|
+
size_t* len) {
|
|
171
202
|
char* ptr;
|
|
172
203
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__Identity_msg_init, options, arena, &ptr, len);
|
|
173
204
|
return ptr;
|
|
@@ -177,7 +208,9 @@ typedef enum {
|
|
|
177
208
|
grpc_gcp_Identity_identity_oneof_hostname = 2,
|
|
178
209
|
grpc_gcp_Identity_identity_oneof_NOT_SET = 0
|
|
179
210
|
} grpc_gcp_Identity_identity_oneof_oneofcases;
|
|
180
|
-
|
|
211
|
+
|
|
212
|
+
UPB_INLINE grpc_gcp_Identity_identity_oneof_oneofcases
|
|
213
|
+
grpc_gcp_Identity_identity_oneof_case(const grpc_gcp_Identity* msg) {
|
|
181
214
|
const upb_MiniTableField field = {1, 16, UPB_SIZE(-13, -9), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
182
215
|
return (grpc_gcp_Identity_identity_oneof_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
183
216
|
UPB_UPCAST(msg), &field);
|
|
@@ -219,24 +252,30 @@ UPB_INLINE bool grpc_gcp_Identity_has_hostname(const grpc_gcp_Identity* msg) {
|
|
|
219
252
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
220
253
|
}
|
|
221
254
|
UPB_INLINE void grpc_gcp_Identity_clear_attributes(grpc_gcp_Identity* msg) {
|
|
222
|
-
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0,
|
|
255
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
223
256
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
224
257
|
}
|
|
225
258
|
UPB_INLINE size_t grpc_gcp_Identity_attributes_size(const grpc_gcp_Identity* msg) {
|
|
226
|
-
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0,
|
|
259
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
260
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
227
261
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
228
262
|
return map ? _upb_Map_Size(map) : 0;
|
|
229
263
|
}
|
|
230
|
-
|
|
231
|
-
|
|
264
|
+
|
|
265
|
+
UPB_INLINE bool grpc_gcp_Identity_attributes_get(const grpc_gcp_Identity* msg,
|
|
266
|
+
upb_StringView key, upb_StringView* val) {
|
|
267
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
232
268
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
233
269
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
234
270
|
if (!map) return false;
|
|
235
271
|
return _upb_Map_Get(map, &key, 0, val, 0);
|
|
236
272
|
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
273
|
+
|
|
274
|
+
UPB_INLINE bool grpc_gcp_Identity_attributes_next(const grpc_gcp_Identity* msg,
|
|
275
|
+
upb_StringView* key,
|
|
276
|
+
upb_StringView* val,
|
|
277
|
+
size_t* iter) {
|
|
278
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
240
279
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
241
280
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
242
281
|
if (!map) return false;
|
|
@@ -247,78 +286,91 @@ UPB_INLINE bool grpc_gcp_Identity_attributes_next(const grpc_gcp_Identity* msg,
|
|
|
247
286
|
memcpy(val, &v, sizeof(*val));
|
|
248
287
|
return true;
|
|
249
288
|
}
|
|
289
|
+
|
|
290
|
+
// and ~ a upb_Map for mutable.
|
|
291
|
+
//
|
|
250
292
|
UPB_INLINE const upb_Map* _grpc_gcp_Identity_attributes_upb_map(grpc_gcp_Identity* msg) {
|
|
251
|
-
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0,
|
|
293
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
252
294
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
253
295
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
254
296
|
}
|
|
255
|
-
|
|
256
|
-
|
|
297
|
+
|
|
298
|
+
UPB_INLINE upb_Map* _grpc_gcp_Identity_attributes_mutable_upb_map(
|
|
299
|
+
grpc_gcp_Identity* msg, upb_Arena* a) {
|
|
300
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
257
301
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
258
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
302
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
303
|
+
0, 0, a);
|
|
259
304
|
}
|
|
260
305
|
|
|
261
|
-
UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity
|
|
306
|
+
UPB_INLINE void grpc_gcp_Identity_set_service_account(grpc_gcp_Identity* msg, upb_StringView value) {
|
|
262
307
|
const upb_MiniTableField field = {1, 16, UPB_SIZE(-13, -9), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
263
|
-
upb_Message_SetBaseField((upb_Message
|
|
308
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
264
309
|
}
|
|
265
|
-
UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity
|
|
310
|
+
UPB_INLINE void grpc_gcp_Identity_set_hostname(grpc_gcp_Identity* msg, upb_StringView value) {
|
|
266
311
|
const upb_MiniTableField field = {2, 16, UPB_SIZE(-13, -9), kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
267
|
-
upb_Message_SetBaseField((upb_Message
|
|
312
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
268
313
|
}
|
|
269
314
|
UPB_INLINE void grpc_gcp_Identity_attributes_clear(grpc_gcp_Identity* msg) {
|
|
270
|
-
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0,
|
|
315
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
316
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
271
317
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
272
318
|
if (!map) return;
|
|
273
319
|
_upb_Map_Clear(map);
|
|
274
320
|
}
|
|
275
|
-
|
|
276
|
-
|
|
321
|
+
|
|
322
|
+
UPB_INLINE bool grpc_gcp_Identity_attributes_set(grpc_gcp_Identity* msg, upb_StringView key,
|
|
323
|
+
upb_StringView val, upb_Arena* a) {
|
|
324
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
277
325
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
278
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
279
|
-
|
|
326
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
327
|
+
UPB_UPCAST(msg), &field, 0, 0, a);
|
|
280
328
|
return _upb_Map_Insert(map, &key, 0, &val, 0, a) !=
|
|
281
329
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
282
330
|
}
|
|
331
|
+
|
|
283
332
|
UPB_INLINE bool grpc_gcp_Identity_attributes_delete(grpc_gcp_Identity* msg, upb_StringView key) {
|
|
284
|
-
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0,
|
|
333
|
+
const upb_MiniTableField field = {3, UPB_SIZE(8, 32), 0, UPB_SIZE(3, 4), 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
334
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity__AttributesEntry_msg_init);
|
|
285
335
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
286
336
|
if (!map) return false;
|
|
287
337
|
return _upb_Map_Delete(map, &key, 0, NULL);
|
|
288
338
|
}
|
|
289
339
|
|
|
290
340
|
/* grpc.gcp.StartClientHandshakeReq */
|
|
291
|
-
|
|
292
341
|
UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_new(upb_Arena* arena) {
|
|
293
342
|
return (grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc__gcp__StartClientHandshakeReq_msg_init, arena);
|
|
294
343
|
}
|
|
295
|
-
UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse(const char* buf, size_t size,
|
|
344
|
+
UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse(const char* buf, size_t size,
|
|
345
|
+
upb_Arena* arena) {
|
|
296
346
|
grpc_gcp_StartClientHandshakeReq* ret = grpc_gcp_StartClientHandshakeReq_new(arena);
|
|
297
347
|
if (!ret) return NULL;
|
|
298
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartClientHandshakeReq_msg_init, NULL, 0,
|
|
299
|
-
|
|
348
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartClientHandshakeReq_msg_init, NULL, 0,
|
|
349
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
300
350
|
return NULL;
|
|
301
351
|
}
|
|
302
352
|
return ret;
|
|
303
353
|
}
|
|
304
|
-
UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse_ex(
|
|
305
|
-
|
|
306
|
-
|
|
354
|
+
UPB_INLINE grpc_gcp_StartClientHandshakeReq* grpc_gcp_StartClientHandshakeReq_parse_ex(
|
|
355
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
356
|
+
int options, upb_Arena* arena) {
|
|
307
357
|
grpc_gcp_StartClientHandshakeReq* ret = grpc_gcp_StartClientHandshakeReq_new(arena);
|
|
308
358
|
if (!ret) return NULL;
|
|
309
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartClientHandshakeReq_msg_init, extreg,
|
|
310
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
359
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartClientHandshakeReq_msg_init, extreg,
|
|
360
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
311
361
|
return NULL;
|
|
312
362
|
}
|
|
313
363
|
return ret;
|
|
314
364
|
}
|
|
315
|
-
UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
365
|
+
UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
366
|
+
upb_Arena* arena, size_t* len) {
|
|
316
367
|
char* ptr;
|
|
317
368
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__StartClientHandshakeReq_msg_init, 0, arena, &ptr, len);
|
|
318
369
|
return ptr;
|
|
319
370
|
}
|
|
320
|
-
UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize_ex(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
321
|
-
|
|
371
|
+
UPB_INLINE char* grpc_gcp_StartClientHandshakeReq_serialize_ex(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
372
|
+
int options, upb_Arena* arena,
|
|
373
|
+
size_t* len) {
|
|
322
374
|
char* ptr;
|
|
323
375
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__StartClientHandshakeReq_msg_init, options, arena, &ptr, len);
|
|
324
376
|
return ptr;
|
|
@@ -339,7 +391,8 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_application_protocols(grp
|
|
|
339
391
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
340
392
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
341
393
|
}
|
|
342
|
-
UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_application_protocols(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
394
|
+
UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_application_protocols(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
395
|
+
size_t* size) {
|
|
343
396
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
344
397
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
345
398
|
if (arr) {
|
|
@@ -350,7 +403,10 @@ UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_application_pr
|
|
|
350
403
|
return NULL;
|
|
351
404
|
}
|
|
352
405
|
}
|
|
353
|
-
|
|
406
|
+
|
|
407
|
+
//
|
|
408
|
+
UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_application_protocols_upb_array(
|
|
409
|
+
const grpc_gcp_StartClientHandshakeReq* msg, size_t* size) {
|
|
354
410
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
355
411
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
356
412
|
if (size) {
|
|
@@ -358,7 +414,9 @@ UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_application_protoc
|
|
|
358
414
|
}
|
|
359
415
|
return arr;
|
|
360
416
|
}
|
|
361
|
-
|
|
417
|
+
|
|
418
|
+
UPB_INLINE upb_Array* _grpc_gcp_StartClientHandshakeReq_application_protocols_mutable_upb_array(
|
|
419
|
+
grpc_gcp_StartClientHandshakeReq* msg, size_t* size, upb_Arena* arena) {
|
|
362
420
|
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
363
421
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
364
422
|
&field, arena);
|
|
@@ -371,7 +429,8 @@ UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_record_protocols(grpc_gcp
|
|
|
371
429
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
372
430
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
373
431
|
}
|
|
374
|
-
UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_record_protocols(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
432
|
+
UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_record_protocols(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
433
|
+
size_t* size) {
|
|
375
434
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
376
435
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
377
436
|
if (arr) {
|
|
@@ -382,7 +441,10 @@ UPB_INLINE upb_StringView const* grpc_gcp_StartClientHandshakeReq_record_protoco
|
|
|
382
441
|
return NULL;
|
|
383
442
|
}
|
|
384
443
|
}
|
|
385
|
-
|
|
444
|
+
|
|
445
|
+
//
|
|
446
|
+
UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_record_protocols_upb_array(
|
|
447
|
+
const grpc_gcp_StartClientHandshakeReq* msg, size_t* size) {
|
|
386
448
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
387
449
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
388
450
|
if (size) {
|
|
@@ -390,7 +452,9 @@ UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_record_protocols_u
|
|
|
390
452
|
}
|
|
391
453
|
return arr;
|
|
392
454
|
}
|
|
393
|
-
|
|
455
|
+
|
|
456
|
+
UPB_INLINE upb_Array* _grpc_gcp_StartClientHandshakeReq_record_protocols_mutable_upb_array(
|
|
457
|
+
grpc_gcp_StartClientHandshakeReq* msg, size_t* size, upb_Arena* arena) {
|
|
394
458
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
395
459
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
396
460
|
&field, arena);
|
|
@@ -400,11 +464,12 @@ UPB_INLINE upb_Array* _grpc_gcp_StartClientHandshakeReq_record_protocols_mutable
|
|
|
400
464
|
return arr;
|
|
401
465
|
}
|
|
402
466
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_target_identities(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
403
|
-
const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0,
|
|
467
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
404
468
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
405
469
|
}
|
|
406
|
-
UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_StartClientHandshakeReq_target_identities(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
407
|
-
|
|
470
|
+
UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_StartClientHandshakeReq_target_identities(const grpc_gcp_StartClientHandshakeReq* msg,
|
|
471
|
+
size_t* size) {
|
|
472
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
408
473
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
409
474
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
410
475
|
if (arr) {
|
|
@@ -415,8 +480,11 @@ UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_StartClientHandshakeReq_targ
|
|
|
415
480
|
return NULL;
|
|
416
481
|
}
|
|
417
482
|
}
|
|
418
|
-
|
|
419
|
-
|
|
483
|
+
|
|
484
|
+
//
|
|
485
|
+
UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_target_identities_upb_array(
|
|
486
|
+
const grpc_gcp_StartClientHandshakeReq* msg, size_t* size) {
|
|
487
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
420
488
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
421
489
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
422
490
|
if (size) {
|
|
@@ -424,8 +492,10 @@ UPB_INLINE const upb_Array* _grpc_gcp_StartClientHandshakeReq_target_identities_
|
|
|
424
492
|
}
|
|
425
493
|
return arr;
|
|
426
494
|
}
|
|
427
|
-
|
|
428
|
-
|
|
495
|
+
|
|
496
|
+
UPB_INLINE upb_Array* _grpc_gcp_StartClientHandshakeReq_target_identities_mutable_upb_array(
|
|
497
|
+
grpc_gcp_StartClientHandshakeReq* msg, size_t* size, upb_Arena* arena) {
|
|
498
|
+
const upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
429
499
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
430
500
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
431
501
|
&field, arena);
|
|
@@ -435,54 +505,54 @@ UPB_INLINE upb_Array* _grpc_gcp_StartClientHandshakeReq_target_identities_mutabl
|
|
|
435
505
|
return arr;
|
|
436
506
|
}
|
|
437
507
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_local_identity(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
438
|
-
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64,
|
|
508
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
439
509
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
440
510
|
}
|
|
441
511
|
UPB_INLINE const grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_local_identity(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
442
512
|
const grpc_gcp_Identity* default_val = NULL;
|
|
443
513
|
const grpc_gcp_Identity* ret;
|
|
444
|
-
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64,
|
|
514
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
445
515
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
446
516
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
447
517
|
&default_val, &ret);
|
|
448
518
|
return ret;
|
|
449
519
|
}
|
|
450
520
|
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_identity(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
451
|
-
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64,
|
|
521
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
452
522
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
453
523
|
}
|
|
454
524
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_local_endpoint(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
455
|
-
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65,
|
|
525
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
456
526
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
457
527
|
}
|
|
458
528
|
UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_local_endpoint(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
459
529
|
const grpc_gcp_Endpoint* default_val = NULL;
|
|
460
530
|
const grpc_gcp_Endpoint* ret;
|
|
461
|
-
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65,
|
|
531
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
462
532
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
463
533
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
464
534
|
&default_val, &ret);
|
|
465
535
|
return ret;
|
|
466
536
|
}
|
|
467
537
|
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_local_endpoint(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
468
|
-
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65,
|
|
538
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
469
539
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
470
540
|
}
|
|
471
541
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_remote_endpoint(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
472
|
-
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66,
|
|
542
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
473
543
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
474
544
|
}
|
|
475
545
|
UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_remote_endpoint(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
476
546
|
const grpc_gcp_Endpoint* default_val = NULL;
|
|
477
547
|
const grpc_gcp_Endpoint* ret;
|
|
478
|
-
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66,
|
|
548
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
479
549
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
480
550
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
481
551
|
&default_val, &ret);
|
|
482
552
|
return ret;
|
|
483
553
|
}
|
|
484
554
|
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_remote_endpoint(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
485
|
-
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66,
|
|
555
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
486
556
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
487
557
|
}
|
|
488
558
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_target_name(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
@@ -498,20 +568,20 @@ UPB_INLINE upb_StringView grpc_gcp_StartClientHandshakeReq_target_name(const grp
|
|
|
498
568
|
return ret;
|
|
499
569
|
}
|
|
500
570
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_rpc_versions(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
501
|
-
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67,
|
|
571
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
502
572
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
503
573
|
}
|
|
504
574
|
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_rpc_versions(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
505
575
|
const struct grpc_gcp_RpcProtocolVersions* default_val = NULL;
|
|
506
576
|
const struct grpc_gcp_RpcProtocolVersions* ret;
|
|
507
|
-
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67,
|
|
577
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
508
578
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
509
579
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
510
580
|
&default_val, &ret);
|
|
511
581
|
return ret;
|
|
512
582
|
}
|
|
513
583
|
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_rpc_versions(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
514
|
-
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67,
|
|
584
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
515
585
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
516
586
|
}
|
|
517
587
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_max_frame_size(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
@@ -539,28 +609,29 @@ UPB_INLINE upb_StringView grpc_gcp_StartClientHandshakeReq_access_token(const gr
|
|
|
539
609
|
return ret;
|
|
540
610
|
}
|
|
541
611
|
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_clear_transport_protocol_preferences(grpc_gcp_StartClientHandshakeReq* msg) {
|
|
542
|
-
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68,
|
|
612
|
+
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
543
613
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
544
614
|
}
|
|
545
615
|
UPB_INLINE const struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartClientHandshakeReq_transport_protocol_preferences(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
546
616
|
const struct grpc_gcp_TransportProtocolPreferences* default_val = NULL;
|
|
547
617
|
const struct grpc_gcp_TransportProtocolPreferences* ret;
|
|
548
|
-
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68,
|
|
618
|
+
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
549
619
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__TransportProtocolPreferences_msg_init);
|
|
550
620
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
551
621
|
&default_val, &ret);
|
|
552
622
|
return ret;
|
|
553
623
|
}
|
|
554
624
|
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_has_transport_protocol_preferences(const grpc_gcp_StartClientHandshakeReq* msg) {
|
|
555
|
-
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68,
|
|
625
|
+
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
556
626
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
557
627
|
}
|
|
558
628
|
|
|
559
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_handshake_security_protocol(grpc_gcp_StartClientHandshakeReq
|
|
629
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_handshake_security_protocol(grpc_gcp_StartClientHandshakeReq* msg, int32_t value) {
|
|
560
630
|
const upb_MiniTableField field = {1, 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
|
|
631
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
562
632
|
}
|
|
563
|
-
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_application_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
633
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_application_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
634
|
+
size_t* size) {
|
|
564
635
|
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
565
636
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
566
637
|
if (arr) {
|
|
@@ -571,12 +642,16 @@ UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_application_
|
|
|
571
642
|
return NULL;
|
|
572
643
|
}
|
|
573
644
|
}
|
|
574
|
-
|
|
645
|
+
|
|
646
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_resize_application_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
647
|
+
size_t size,
|
|
648
|
+
upb_Arena* arena) {
|
|
575
649
|
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
576
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
577
|
-
|
|
650
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
651
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
578
652
|
}
|
|
579
|
-
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_application_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val,
|
|
653
|
+
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_application_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val,
|
|
654
|
+
upb_Arena* arena) {
|
|
580
655
|
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
581
656
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
582
657
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -588,7 +663,8 @@ UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_application_protocols(grpc_
|
|
|
588
663
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
589
664
|
return true;
|
|
590
665
|
}
|
|
591
|
-
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_record_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
666
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_record_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
667
|
+
size_t* size) {
|
|
592
668
|
upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
593
669
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
594
670
|
if (arr) {
|
|
@@ -599,12 +675,16 @@ UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_mutable_record_proto
|
|
|
599
675
|
return NULL;
|
|
600
676
|
}
|
|
601
677
|
}
|
|
602
|
-
|
|
678
|
+
|
|
679
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartClientHandshakeReq_resize_record_protocols(grpc_gcp_StartClientHandshakeReq* msg,
|
|
680
|
+
size_t size,
|
|
681
|
+
upb_Arena* arena) {
|
|
603
682
|
upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
604
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
605
|
-
|
|
683
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
684
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
606
685
|
}
|
|
607
|
-
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val,
|
|
686
|
+
UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView val,
|
|
687
|
+
upb_Arena* arena) {
|
|
608
688
|
upb_MiniTableField field = {3, UPB_SIZE(20, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
609
689
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
610
690
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -616,8 +696,9 @@ UPB_INLINE bool grpc_gcp_StartClientHandshakeReq_add_record_protocols(grpc_gcp_S
|
|
|
616
696
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
617
697
|
return true;
|
|
618
698
|
}
|
|
619
|
-
UPB_INLINE grpc_gcp_Identity** grpc_gcp_StartClientHandshakeReq_mutable_target_identities(grpc_gcp_StartClientHandshakeReq* msg,
|
|
620
|
-
|
|
699
|
+
UPB_INLINE grpc_gcp_Identity** grpc_gcp_StartClientHandshakeReq_mutable_target_identities(grpc_gcp_StartClientHandshakeReq* msg,
|
|
700
|
+
size_t* size) {
|
|
701
|
+
upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
621
702
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
622
703
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
623
704
|
if (arr) {
|
|
@@ -628,13 +709,18 @@ UPB_INLINE grpc_gcp_Identity** grpc_gcp_StartClientHandshakeReq_mutable_target_i
|
|
|
628
709
|
return NULL;
|
|
629
710
|
}
|
|
630
711
|
}
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
712
|
+
|
|
713
|
+
UPB_INLINE grpc_gcp_Identity** grpc_gcp_StartClientHandshakeReq_resize_target_identities(grpc_gcp_StartClientHandshakeReq* msg,
|
|
714
|
+
size_t size,
|
|
715
|
+
upb_Arena* arena) {
|
|
716
|
+
upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
717
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
718
|
+
return (grpc_gcp_Identity**)upb_Message_ResizeArrayUninitialized(
|
|
719
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
635
720
|
}
|
|
636
|
-
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_add_target_identities(
|
|
637
|
-
|
|
721
|
+
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_add_target_identities(
|
|
722
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
723
|
+
upb_MiniTableField field = {4, UPB_SIZE(24, 72), 0, 27, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
638
724
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
639
725
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
640
726
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -642,18 +728,20 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_add_target
|
|
|
642
728
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
643
729
|
return NULL;
|
|
644
730
|
}
|
|
645
|
-
struct grpc_gcp_Identity* sub =
|
|
731
|
+
struct grpc_gcp_Identity* sub =
|
|
732
|
+
(struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
646
733
|
if (!arr || !sub) return NULL;
|
|
647
734
|
UPB_PRIVATE(_upb_Array_Set)
|
|
648
735
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
649
736
|
return sub;
|
|
650
737
|
}
|
|
651
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_identity(grpc_gcp_StartClientHandshakeReq
|
|
652
|
-
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64,
|
|
738
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_identity(grpc_gcp_StartClientHandshakeReq* msg, grpc_gcp_Identity* value) {
|
|
739
|
+
const upb_MiniTableField field = {5, UPB_SIZE(28, 80), 64, UPB_SIZE(25, 26), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
653
740
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
654
|
-
upb_Message_SetBaseField((upb_Message
|
|
741
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
655
742
|
}
|
|
656
|
-
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_mutable_local_identity(
|
|
743
|
+
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_mutable_local_identity(
|
|
744
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
657
745
|
struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_StartClientHandshakeReq_local_identity(msg);
|
|
658
746
|
if (sub == NULL) {
|
|
659
747
|
sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
@@ -661,12 +749,13 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_StartClientHandshakeReq_mutable_lo
|
|
|
661
749
|
}
|
|
662
750
|
return sub;
|
|
663
751
|
}
|
|
664
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_endpoint(grpc_gcp_StartClientHandshakeReq
|
|
665
|
-
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65,
|
|
752
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_local_endpoint(grpc_gcp_StartClientHandshakeReq* msg, grpc_gcp_Endpoint* value) {
|
|
753
|
+
const upb_MiniTableField field = {6, UPB_SIZE(32, 88), 65, UPB_SIZE(23, 25), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
666
754
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
667
|
-
upb_Message_SetBaseField((upb_Message
|
|
755
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
668
756
|
}
|
|
669
|
-
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_local_endpoint(
|
|
757
|
+
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_local_endpoint(
|
|
758
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
670
759
|
struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartClientHandshakeReq_local_endpoint(msg);
|
|
671
760
|
if (sub == NULL) {
|
|
672
761
|
sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena);
|
|
@@ -674,12 +763,13 @@ UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_lo
|
|
|
674
763
|
}
|
|
675
764
|
return sub;
|
|
676
765
|
}
|
|
677
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_remote_endpoint(grpc_gcp_StartClientHandshakeReq
|
|
678
|
-
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66,
|
|
766
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_remote_endpoint(grpc_gcp_StartClientHandshakeReq* msg, grpc_gcp_Endpoint* value) {
|
|
767
|
+
const upb_MiniTableField field = {7, UPB_SIZE(36, 96), 66, UPB_SIZE(21, 24), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
679
768
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
680
|
-
upb_Message_SetBaseField((upb_Message
|
|
769
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
681
770
|
}
|
|
682
|
-
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_remote_endpoint(
|
|
771
|
+
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_remote_endpoint(
|
|
772
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
683
773
|
struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartClientHandshakeReq_remote_endpoint(msg);
|
|
684
774
|
if (sub == NULL) {
|
|
685
775
|
sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena);
|
|
@@ -687,16 +777,17 @@ UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartClientHandshakeReq_mutable_re
|
|
|
687
777
|
}
|
|
688
778
|
return sub;
|
|
689
779
|
}
|
|
690
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_target_name(grpc_gcp_StartClientHandshakeReq
|
|
780
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_target_name(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView value) {
|
|
691
781
|
const upb_MiniTableField field = {8, UPB_SIZE(52, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
692
|
-
upb_Message_SetBaseField((upb_Message
|
|
782
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
693
783
|
}
|
|
694
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_rpc_versions(grpc_gcp_StartClientHandshakeReq
|
|
695
|
-
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67,
|
|
784
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_rpc_versions(grpc_gcp_StartClientHandshakeReq* msg, struct grpc_gcp_RpcProtocolVersions* value) {
|
|
785
|
+
const upb_MiniTableField field = {9, UPB_SIZE(40, 104), 67, UPB_SIZE(16, 20), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
696
786
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
697
|
-
upb_Message_SetBaseField((upb_Message
|
|
787
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
698
788
|
}
|
|
699
|
-
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_mutable_rpc_versions(
|
|
789
|
+
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq_mutable_rpc_versions(
|
|
790
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
700
791
|
struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_StartClientHandshakeReq_rpc_versions(msg);
|
|
701
792
|
if (sub == NULL) {
|
|
702
793
|
sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena);
|
|
@@ -704,20 +795,21 @@ UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartClientHandshakeReq
|
|
|
704
795
|
}
|
|
705
796
|
return sub;
|
|
706
797
|
}
|
|
707
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_max_frame_size(grpc_gcp_StartClientHandshakeReq
|
|
798
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_max_frame_size(grpc_gcp_StartClientHandshakeReq* msg, uint32_t value) {
|
|
708
799
|
const upb_MiniTableField field = {10, UPB_SIZE(44, 16), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
709
|
-
upb_Message_SetBaseField((upb_Message
|
|
800
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
710
801
|
}
|
|
711
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_access_token(grpc_gcp_StartClientHandshakeReq
|
|
802
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_access_token(grpc_gcp_StartClientHandshakeReq* msg, upb_StringView value) {
|
|
712
803
|
const upb_MiniTableField field = {11, UPB_SIZE(60, 40), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
713
|
-
upb_Message_SetBaseField((upb_Message
|
|
804
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
714
805
|
}
|
|
715
|
-
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_transport_protocol_preferences(grpc_gcp_StartClientHandshakeReq
|
|
716
|
-
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68,
|
|
806
|
+
UPB_INLINE void grpc_gcp_StartClientHandshakeReq_set_transport_protocol_preferences(grpc_gcp_StartClientHandshakeReq* msg, struct grpc_gcp_TransportProtocolPreferences* value) {
|
|
807
|
+
const upb_MiniTableField field = {12, UPB_SIZE(48, 112), 68, UPB_SIZE(8, 13), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
717
808
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__TransportProtocolPreferences_msg_init);
|
|
718
|
-
upb_Message_SetBaseField((upb_Message
|
|
809
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
719
810
|
}
|
|
720
|
-
UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartClientHandshakeReq_mutable_transport_protocol_preferences(
|
|
811
|
+
UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartClientHandshakeReq_mutable_transport_protocol_preferences(
|
|
812
|
+
grpc_gcp_StartClientHandshakeReq* msg, upb_Arena* arena) {
|
|
721
813
|
struct grpc_gcp_TransportProtocolPreferences* sub = (struct grpc_gcp_TransportProtocolPreferences*)grpc_gcp_StartClientHandshakeReq_transport_protocol_preferences(msg);
|
|
722
814
|
if (sub == NULL) {
|
|
723
815
|
sub = (struct grpc_gcp_TransportProtocolPreferences*)_upb_Message_New(&grpc__gcp__TransportProtocolPreferences_msg_init, arena);
|
|
@@ -727,37 +819,39 @@ UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartClientHan
|
|
|
727
819
|
}
|
|
728
820
|
|
|
729
821
|
/* grpc.gcp.ServerHandshakeParameters */
|
|
730
|
-
|
|
731
822
|
UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_new(upb_Arena* arena) {
|
|
732
823
|
return (grpc_gcp_ServerHandshakeParameters*)_upb_Message_New(&grpc__gcp__ServerHandshakeParameters_msg_init, arena);
|
|
733
824
|
}
|
|
734
|
-
UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_parse(const char* buf, size_t size,
|
|
825
|
+
UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_parse(const char* buf, size_t size,
|
|
826
|
+
upb_Arena* arena) {
|
|
735
827
|
grpc_gcp_ServerHandshakeParameters* ret = grpc_gcp_ServerHandshakeParameters_new(arena);
|
|
736
828
|
if (!ret) return NULL;
|
|
737
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__ServerHandshakeParameters_msg_init, NULL, 0,
|
|
738
|
-
|
|
829
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__ServerHandshakeParameters_msg_init, NULL, 0,
|
|
830
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
739
831
|
return NULL;
|
|
740
832
|
}
|
|
741
833
|
return ret;
|
|
742
834
|
}
|
|
743
|
-
UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_parse_ex(
|
|
744
|
-
|
|
745
|
-
|
|
835
|
+
UPB_INLINE grpc_gcp_ServerHandshakeParameters* grpc_gcp_ServerHandshakeParameters_parse_ex(
|
|
836
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
837
|
+
int options, upb_Arena* arena) {
|
|
746
838
|
grpc_gcp_ServerHandshakeParameters* ret = grpc_gcp_ServerHandshakeParameters_new(arena);
|
|
747
839
|
if (!ret) return NULL;
|
|
748
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__ServerHandshakeParameters_msg_init, extreg,
|
|
749
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
840
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__ServerHandshakeParameters_msg_init, extreg,
|
|
841
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
750
842
|
return NULL;
|
|
751
843
|
}
|
|
752
844
|
return ret;
|
|
753
845
|
}
|
|
754
|
-
UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
846
|
+
UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
847
|
+
upb_Arena* arena, size_t* len) {
|
|
755
848
|
char* ptr;
|
|
756
849
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__ServerHandshakeParameters_msg_init, 0, arena, &ptr, len);
|
|
757
850
|
return ptr;
|
|
758
851
|
}
|
|
759
|
-
UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize_ex(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
760
|
-
|
|
852
|
+
UPB_INLINE char* grpc_gcp_ServerHandshakeParameters_serialize_ex(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
853
|
+
int options, upb_Arena* arena,
|
|
854
|
+
size_t* len) {
|
|
761
855
|
char* ptr;
|
|
762
856
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__ServerHandshakeParameters_msg_init, options, arena, &ptr, len);
|
|
763
857
|
return ptr;
|
|
@@ -766,7 +860,8 @@ UPB_INLINE void grpc_gcp_ServerHandshakeParameters_clear_record_protocols(grpc_g
|
|
|
766
860
|
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
767
861
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
768
862
|
}
|
|
769
|
-
UPB_INLINE upb_StringView const* grpc_gcp_ServerHandshakeParameters_record_protocols(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
863
|
+
UPB_INLINE upb_StringView const* grpc_gcp_ServerHandshakeParameters_record_protocols(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
864
|
+
size_t* size) {
|
|
770
865
|
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
771
866
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
772
867
|
if (arr) {
|
|
@@ -777,7 +872,10 @@ UPB_INLINE upb_StringView const* grpc_gcp_ServerHandshakeParameters_record_proto
|
|
|
777
872
|
return NULL;
|
|
778
873
|
}
|
|
779
874
|
}
|
|
780
|
-
|
|
875
|
+
|
|
876
|
+
//
|
|
877
|
+
UPB_INLINE const upb_Array* _grpc_gcp_ServerHandshakeParameters_record_protocols_upb_array(
|
|
878
|
+
const grpc_gcp_ServerHandshakeParameters* msg, size_t* size) {
|
|
781
879
|
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
782
880
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
783
881
|
if (size) {
|
|
@@ -785,7 +883,9 @@ UPB_INLINE const upb_Array* _grpc_gcp_ServerHandshakeParameters_record_protocols
|
|
|
785
883
|
}
|
|
786
884
|
return arr;
|
|
787
885
|
}
|
|
788
|
-
|
|
886
|
+
|
|
887
|
+
UPB_INLINE upb_Array* _grpc_gcp_ServerHandshakeParameters_record_protocols_mutable_upb_array(
|
|
888
|
+
grpc_gcp_ServerHandshakeParameters* msg, size_t* size, upb_Arena* arena) {
|
|
789
889
|
const upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
790
890
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
791
891
|
&field, arena);
|
|
@@ -795,11 +895,12 @@ UPB_INLINE upb_Array* _grpc_gcp_ServerHandshakeParameters_record_protocols_mutab
|
|
|
795
895
|
return arr;
|
|
796
896
|
}
|
|
797
897
|
UPB_INLINE void grpc_gcp_ServerHandshakeParameters_clear_local_identities(grpc_gcp_ServerHandshakeParameters* msg) {
|
|
798
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0,
|
|
898
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
799
899
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
800
900
|
}
|
|
801
|
-
UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_ServerHandshakeParameters_local_identities(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
802
|
-
|
|
901
|
+
UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_ServerHandshakeParameters_local_identities(const grpc_gcp_ServerHandshakeParameters* msg,
|
|
902
|
+
size_t* size) {
|
|
903
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
803
904
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
804
905
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
805
906
|
if (arr) {
|
|
@@ -810,8 +911,11 @@ UPB_INLINE const grpc_gcp_Identity* const* grpc_gcp_ServerHandshakeParameters_lo
|
|
|
810
911
|
return NULL;
|
|
811
912
|
}
|
|
812
913
|
}
|
|
813
|
-
|
|
814
|
-
|
|
914
|
+
|
|
915
|
+
//
|
|
916
|
+
UPB_INLINE const upb_Array* _grpc_gcp_ServerHandshakeParameters_local_identities_upb_array(
|
|
917
|
+
const grpc_gcp_ServerHandshakeParameters* msg, size_t* size) {
|
|
918
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
815
919
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
816
920
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
817
921
|
if (size) {
|
|
@@ -819,8 +923,10 @@ UPB_INLINE const upb_Array* _grpc_gcp_ServerHandshakeParameters_local_identities
|
|
|
819
923
|
}
|
|
820
924
|
return arr;
|
|
821
925
|
}
|
|
822
|
-
|
|
823
|
-
|
|
926
|
+
|
|
927
|
+
UPB_INLINE upb_Array* _grpc_gcp_ServerHandshakeParameters_local_identities_mutable_upb_array(
|
|
928
|
+
grpc_gcp_ServerHandshakeParameters* msg, size_t* size, upb_Arena* arena) {
|
|
929
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
824
930
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
825
931
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
826
932
|
&field, arena);
|
|
@@ -842,7 +948,8 @@ UPB_INLINE upb_StringView grpc_gcp_ServerHandshakeParameters_token(const grpc_gc
|
|
|
842
948
|
return ret;
|
|
843
949
|
}
|
|
844
950
|
|
|
845
|
-
UPB_INLINE upb_StringView* grpc_gcp_ServerHandshakeParameters_mutable_record_protocols(grpc_gcp_ServerHandshakeParameters* msg,
|
|
951
|
+
UPB_INLINE upb_StringView* grpc_gcp_ServerHandshakeParameters_mutable_record_protocols(grpc_gcp_ServerHandshakeParameters* msg,
|
|
952
|
+
size_t* size) {
|
|
846
953
|
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
847
954
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
848
955
|
if (arr) {
|
|
@@ -853,12 +960,16 @@ UPB_INLINE upb_StringView* grpc_gcp_ServerHandshakeParameters_mutable_record_pro
|
|
|
853
960
|
return NULL;
|
|
854
961
|
}
|
|
855
962
|
}
|
|
856
|
-
|
|
963
|
+
|
|
964
|
+
UPB_INLINE upb_StringView* grpc_gcp_ServerHandshakeParameters_resize_record_protocols(grpc_gcp_ServerHandshakeParameters* msg,
|
|
965
|
+
size_t size,
|
|
966
|
+
upb_Arena* arena) {
|
|
857
967
|
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
858
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
859
|
-
|
|
968
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
969
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
860
970
|
}
|
|
861
|
-
UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_add_record_protocols(grpc_gcp_ServerHandshakeParameters* msg, upb_StringView val,
|
|
971
|
+
UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_add_record_protocols(grpc_gcp_ServerHandshakeParameters* msg, upb_StringView val,
|
|
972
|
+
upb_Arena* arena) {
|
|
862
973
|
upb_MiniTableField field = {1, UPB_SIZE(8, 24), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
863
974
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
864
975
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -870,8 +981,9 @@ UPB_INLINE bool grpc_gcp_ServerHandshakeParameters_add_record_protocols(grpc_gcp
|
|
|
870
981
|
(arr, arr->UPB_PRIVATE(size) - 1, &val, sizeof(val));
|
|
871
982
|
return true;
|
|
872
983
|
}
|
|
873
|
-
UPB_INLINE grpc_gcp_Identity** grpc_gcp_ServerHandshakeParameters_mutable_local_identities(grpc_gcp_ServerHandshakeParameters* msg,
|
|
874
|
-
|
|
984
|
+
UPB_INLINE grpc_gcp_Identity** grpc_gcp_ServerHandshakeParameters_mutable_local_identities(grpc_gcp_ServerHandshakeParameters* msg,
|
|
985
|
+
size_t* size) {
|
|
986
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
875
987
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
876
988
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
877
989
|
if (arr) {
|
|
@@ -882,13 +994,18 @@ UPB_INLINE grpc_gcp_Identity** grpc_gcp_ServerHandshakeParameters_mutable_local_
|
|
|
882
994
|
return NULL;
|
|
883
995
|
}
|
|
884
996
|
}
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
997
|
+
|
|
998
|
+
UPB_INLINE grpc_gcp_Identity** grpc_gcp_ServerHandshakeParameters_resize_local_identities(grpc_gcp_ServerHandshakeParameters* msg,
|
|
999
|
+
size_t size,
|
|
1000
|
+
upb_Arena* arena) {
|
|
1001
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1002
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
1003
|
+
return (grpc_gcp_Identity**)upb_Message_ResizeArrayUninitialized(
|
|
1004
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
889
1005
|
}
|
|
890
|
-
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_ServerHandshakeParameters_add_local_identities(
|
|
891
|
-
|
|
1006
|
+
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_ServerHandshakeParameters_add_local_identities(
|
|
1007
|
+
grpc_gcp_ServerHandshakeParameters* msg, upb_Arena* arena) {
|
|
1008
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, UPB_SIZE(6, 7), 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
892
1009
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
893
1010
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
894
1011
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -896,49 +1013,52 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_ServerHandshakeParameters_add_loca
|
|
|
896
1013
|
arr, arr->UPB_PRIVATE(size) + 1, arena)) {
|
|
897
1014
|
return NULL;
|
|
898
1015
|
}
|
|
899
|
-
struct grpc_gcp_Identity* sub =
|
|
1016
|
+
struct grpc_gcp_Identity* sub =
|
|
1017
|
+
(struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
900
1018
|
if (!arr || !sub) return NULL;
|
|
901
1019
|
UPB_PRIVATE(_upb_Array_Set)
|
|
902
1020
|
(arr, arr->UPB_PRIVATE(size) - 1, &sub, sizeof(sub));
|
|
903
1021
|
return sub;
|
|
904
1022
|
}
|
|
905
|
-
UPB_INLINE void grpc_gcp_ServerHandshakeParameters_set_token(grpc_gcp_ServerHandshakeParameters
|
|
1023
|
+
UPB_INLINE void grpc_gcp_ServerHandshakeParameters_set_token(grpc_gcp_ServerHandshakeParameters* msg, upb_StringView value) {
|
|
906
1024
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 8), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
907
|
-
upb_Message_SetBaseField((upb_Message
|
|
1025
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
908
1026
|
}
|
|
909
1027
|
|
|
910
1028
|
/* grpc.gcp.StartServerHandshakeReq */
|
|
911
|
-
|
|
912
1029
|
UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_new(upb_Arena* arena) {
|
|
913
1030
|
return (grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc__gcp__StartServerHandshakeReq_msg_init, arena);
|
|
914
1031
|
}
|
|
915
|
-
UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_parse(const char* buf, size_t size,
|
|
1032
|
+
UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_parse(const char* buf, size_t size,
|
|
1033
|
+
upb_Arena* arena) {
|
|
916
1034
|
grpc_gcp_StartServerHandshakeReq* ret = grpc_gcp_StartServerHandshakeReq_new(arena);
|
|
917
1035
|
if (!ret) return NULL;
|
|
918
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartServerHandshakeReq_msg_init, NULL, 0,
|
|
919
|
-
|
|
1036
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartServerHandshakeReq_msg_init, NULL, 0,
|
|
1037
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
920
1038
|
return NULL;
|
|
921
1039
|
}
|
|
922
1040
|
return ret;
|
|
923
1041
|
}
|
|
924
|
-
UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_parse_ex(
|
|
925
|
-
|
|
926
|
-
|
|
1042
|
+
UPB_INLINE grpc_gcp_StartServerHandshakeReq* grpc_gcp_StartServerHandshakeReq_parse_ex(
|
|
1043
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1044
|
+
int options, upb_Arena* arena) {
|
|
927
1045
|
grpc_gcp_StartServerHandshakeReq* ret = grpc_gcp_StartServerHandshakeReq_new(arena);
|
|
928
1046
|
if (!ret) return NULL;
|
|
929
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartServerHandshakeReq_msg_init, extreg,
|
|
930
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1047
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__StartServerHandshakeReq_msg_init, extreg,
|
|
1048
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
931
1049
|
return NULL;
|
|
932
1050
|
}
|
|
933
1051
|
return ret;
|
|
934
1052
|
}
|
|
935
|
-
UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1053
|
+
UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1054
|
+
upb_Arena* arena, size_t* len) {
|
|
936
1055
|
char* ptr;
|
|
937
1056
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__StartServerHandshakeReq_msg_init, 0, arena, &ptr, len);
|
|
938
1057
|
return ptr;
|
|
939
1058
|
}
|
|
940
|
-
UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize_ex(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
941
|
-
|
|
1059
|
+
UPB_INLINE char* grpc_gcp_StartServerHandshakeReq_serialize_ex(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1060
|
+
int options, upb_Arena* arena,
|
|
1061
|
+
size_t* len) {
|
|
942
1062
|
char* ptr;
|
|
943
1063
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__StartServerHandshakeReq_msg_init, options, arena, &ptr, len);
|
|
944
1064
|
return ptr;
|
|
@@ -947,7 +1067,8 @@ UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_application_protocols(grp
|
|
|
947
1067
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
948
1068
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
949
1069
|
}
|
|
950
|
-
UPB_INLINE upb_StringView const* grpc_gcp_StartServerHandshakeReq_application_protocols(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1070
|
+
UPB_INLINE upb_StringView const* grpc_gcp_StartServerHandshakeReq_application_protocols(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1071
|
+
size_t* size) {
|
|
951
1072
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
952
1073
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
953
1074
|
if (arr) {
|
|
@@ -958,7 +1079,10 @@ UPB_INLINE upb_StringView const* grpc_gcp_StartServerHandshakeReq_application_pr
|
|
|
958
1079
|
return NULL;
|
|
959
1080
|
}
|
|
960
1081
|
}
|
|
961
|
-
|
|
1082
|
+
|
|
1083
|
+
//
|
|
1084
|
+
UPB_INLINE const upb_Array* _grpc_gcp_StartServerHandshakeReq_application_protocols_upb_array(
|
|
1085
|
+
const grpc_gcp_StartServerHandshakeReq* msg, size_t* size) {
|
|
962
1086
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
963
1087
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
|
964
1088
|
if (size) {
|
|
@@ -966,7 +1090,9 @@ UPB_INLINE const upb_Array* _grpc_gcp_StartServerHandshakeReq_application_protoc
|
|
|
966
1090
|
}
|
|
967
1091
|
return arr;
|
|
968
1092
|
}
|
|
969
|
-
|
|
1093
|
+
|
|
1094
|
+
UPB_INLINE upb_Array* _grpc_gcp_StartServerHandshakeReq_application_protocols_mutable_upb_array(
|
|
1095
|
+
grpc_gcp_StartServerHandshakeReq* msg, size_t* size, upb_Arena* arena) {
|
|
970
1096
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
971
1097
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
|
972
1098
|
&field, arena);
|
|
@@ -976,25 +1102,32 @@ UPB_INLINE upb_Array* _grpc_gcp_StartServerHandshakeReq_application_protocols_mu
|
|
|
976
1102
|
return arr;
|
|
977
1103
|
}
|
|
978
1104
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_handshake_parameters(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
979
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0,
|
|
1105
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
980
1106
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
981
1107
|
}
|
|
982
1108
|
UPB_INLINE size_t grpc_gcp_StartServerHandshakeReq_handshake_parameters_size(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
983
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0,
|
|
1109
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1110
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1111
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
984
1112
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
985
1113
|
return map ? _upb_Map_Size(map) : 0;
|
|
986
1114
|
}
|
|
987
|
-
|
|
988
|
-
|
|
1115
|
+
|
|
1116
|
+
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_get(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1117
|
+
int32_t key, grpc_gcp_ServerHandshakeParameters** val) {
|
|
1118
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
989
1119
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
990
1120
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
991
1121
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
992
1122
|
if (!map) return false;
|
|
993
|
-
return _upb_Map_Get(map, &key, sizeof(
|
|
1123
|
+
return _upb_Map_Get(map, &key, sizeof(int32_t), val, sizeof(grpc_gcp_ServerHandshakeParameters*));
|
|
994
1124
|
}
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1125
|
+
|
|
1126
|
+
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_next(const grpc_gcp_StartServerHandshakeReq* msg,
|
|
1127
|
+
int32_t* key,
|
|
1128
|
+
const grpc_gcp_ServerHandshakeParameters** val,
|
|
1129
|
+
size_t* iter) {
|
|
1130
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
998
1131
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
999
1132
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1000
1133
|
const upb_Map* map = upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
@@ -1006,17 +1139,23 @@ UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_next(const
|
|
|
1006
1139
|
memcpy(val, &v, sizeof(*val));
|
|
1007
1140
|
return true;
|
|
1008
1141
|
}
|
|
1142
|
+
|
|
1143
|
+
// and ~ a upb_Map for mutable.
|
|
1144
|
+
//
|
|
1009
1145
|
UPB_INLINE const upb_Map* _grpc_gcp_StartServerHandshakeReq_handshake_parameters_upb_map(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1010
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0,
|
|
1146
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1011
1147
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1012
1148
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1013
1149
|
return upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1014
1150
|
}
|
|
1015
|
-
|
|
1016
|
-
|
|
1151
|
+
|
|
1152
|
+
UPB_INLINE upb_Map* _grpc_gcp_StartServerHandshakeReq_handshake_parameters_mutable_upb_map(
|
|
1153
|
+
grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* a) {
|
|
1154
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1017
1155
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1018
1156
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1019
|
-
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1157
|
+
return _upb_Message_GetOrCreateMutableMap(UPB_UPCAST(msg), &field,
|
|
1158
|
+
sizeof(int32_t), sizeof(grpc_gcp_ServerHandshakeParameters*), a);
|
|
1020
1159
|
}
|
|
1021
1160
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_in_bytes(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1022
1161
|
const upb_MiniTableField field = {3, UPB_SIZE(40, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
@@ -1031,54 +1170,54 @@ UPB_INLINE upb_StringView grpc_gcp_StartServerHandshakeReq_in_bytes(const grpc_g
|
|
|
1031
1170
|
return ret;
|
|
1032
1171
|
}
|
|
1033
1172
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_local_endpoint(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1034
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
1173
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1035
1174
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1036
1175
|
}
|
|
1037
1176
|
UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_local_endpoint(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1038
1177
|
const grpc_gcp_Endpoint* default_val = NULL;
|
|
1039
1178
|
const grpc_gcp_Endpoint* ret;
|
|
1040
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
1179
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1041
1180
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
1042
1181
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1043
1182
|
&default_val, &ret);
|
|
1044
1183
|
return ret;
|
|
1045
1184
|
}
|
|
1046
1185
|
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_local_endpoint(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1047
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
1186
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1048
1187
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1049
1188
|
}
|
|
1050
1189
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_remote_endpoint(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1051
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
1190
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1052
1191
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1053
1192
|
}
|
|
1054
1193
|
UPB_INLINE const grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_remote_endpoint(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1055
1194
|
const grpc_gcp_Endpoint* default_val = NULL;
|
|
1056
1195
|
const grpc_gcp_Endpoint* ret;
|
|
1057
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
1196
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1058
1197
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
1059
1198
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1060
1199
|
&default_val, &ret);
|
|
1061
1200
|
return ret;
|
|
1062
1201
|
}
|
|
1063
1202
|
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_remote_endpoint(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1064
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
1203
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1065
1204
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1066
1205
|
}
|
|
1067
1206
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_rpc_versions(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1068
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66,
|
|
1207
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1069
1208
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1070
1209
|
}
|
|
1071
1210
|
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_rpc_versions(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1072
1211
|
const struct grpc_gcp_RpcProtocolVersions* default_val = NULL;
|
|
1073
1212
|
const struct grpc_gcp_RpcProtocolVersions* ret;
|
|
1074
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66,
|
|
1213
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1075
1214
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
1076
1215
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1077
1216
|
&default_val, &ret);
|
|
1078
1217
|
return ret;
|
|
1079
1218
|
}
|
|
1080
1219
|
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_rpc_versions(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1081
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66,
|
|
1220
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1082
1221
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1083
1222
|
}
|
|
1084
1223
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_max_frame_size(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
@@ -1094,24 +1233,25 @@ UPB_INLINE uint32_t grpc_gcp_StartServerHandshakeReq_max_frame_size(const grpc_g
|
|
|
1094
1233
|
return ret;
|
|
1095
1234
|
}
|
|
1096
1235
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_clear_transport_protocol_preferences(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1097
|
-
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67,
|
|
1236
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1098
1237
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1099
1238
|
}
|
|
1100
1239
|
UPB_INLINE const struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartServerHandshakeReq_transport_protocol_preferences(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1101
1240
|
const struct grpc_gcp_TransportProtocolPreferences* default_val = NULL;
|
|
1102
1241
|
const struct grpc_gcp_TransportProtocolPreferences* ret;
|
|
1103
|
-
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67,
|
|
1242
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1104
1243
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__TransportProtocolPreferences_msg_init);
|
|
1105
1244
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1106
1245
|
&default_val, &ret);
|
|
1107
1246
|
return ret;
|
|
1108
1247
|
}
|
|
1109
1248
|
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_has_transport_protocol_preferences(const grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1110
|
-
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67,
|
|
1249
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1111
1250
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1112
1251
|
}
|
|
1113
1252
|
|
|
1114
|
-
UPB_INLINE upb_StringView* grpc_gcp_StartServerHandshakeReq_mutable_application_protocols(grpc_gcp_StartServerHandshakeReq* msg,
|
|
1253
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartServerHandshakeReq_mutable_application_protocols(grpc_gcp_StartServerHandshakeReq* msg,
|
|
1254
|
+
size_t* size) {
|
|
1115
1255
|
upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1116
1256
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
|
1117
1257
|
if (arr) {
|
|
@@ -1122,12 +1262,16 @@ UPB_INLINE upb_StringView* grpc_gcp_StartServerHandshakeReq_mutable_application_
|
|
|
1122
1262
|
return NULL;
|
|
1123
1263
|
}
|
|
1124
1264
|
}
|
|
1125
|
-
|
|
1265
|
+
|
|
1266
|
+
UPB_INLINE upb_StringView* grpc_gcp_StartServerHandshakeReq_resize_application_protocols(grpc_gcp_StartServerHandshakeReq* msg,
|
|
1267
|
+
size_t size,
|
|
1268
|
+
upb_Arena* arena) {
|
|
1126
1269
|
upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1127
|
-
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1128
|
-
|
|
1270
|
+
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(
|
|
1271
|
+
UPB_UPCAST(msg), &field, size, arena);
|
|
1129
1272
|
}
|
|
1130
|
-
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_add_application_protocols(grpc_gcp_StartServerHandshakeReq* msg, upb_StringView val,
|
|
1273
|
+
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_add_application_protocols(grpc_gcp_StartServerHandshakeReq* msg, upb_StringView val,
|
|
1274
|
+
upb_Arena* arena) {
|
|
1131
1275
|
upb_MiniTableField field = {1, UPB_SIZE(12, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1132
1276
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
|
1133
1277
|
UPB_UPCAST(msg), &field, arena);
|
|
@@ -1140,36 +1284,44 @@ UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_add_application_protocols(grpc_
|
|
|
1140
1284
|
return true;
|
|
1141
1285
|
}
|
|
1142
1286
|
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_handshake_parameters_clear(grpc_gcp_StartServerHandshakeReq* msg) {
|
|
1143
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0,
|
|
1287
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1288
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1289
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1144
1290
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1145
1291
|
if (!map) return;
|
|
1146
1292
|
_upb_Map_Clear(map);
|
|
1147
1293
|
}
|
|
1148
|
-
|
|
1149
|
-
|
|
1294
|
+
|
|
1295
|
+
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_set(grpc_gcp_StartServerHandshakeReq* msg, int32_t key,
|
|
1296
|
+
grpc_gcp_ServerHandshakeParameters* val, upb_Arena* a) {
|
|
1297
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1150
1298
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1151
1299
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1152
|
-
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1153
|
-
|
|
1300
|
+
upb_Map* map = _upb_Message_GetOrCreateMutableMap(
|
|
1301
|
+
UPB_UPCAST(msg), &field, sizeof(key), sizeof(val), a);
|
|
1154
1302
|
return _upb_Map_Insert(map, &key, sizeof(key), &val, sizeof(val), a) !=
|
|
1155
1303
|
kUpb_MapInsertStatus_OutOfMemory;
|
|
1156
1304
|
}
|
|
1305
|
+
|
|
1157
1306
|
UPB_INLINE bool grpc_gcp_StartServerHandshakeReq_handshake_parameters_delete(grpc_gcp_StartServerHandshakeReq* msg, int32_t key) {
|
|
1158
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0,
|
|
1307
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 40), 0, 21, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1308
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq__HandshakeParametersEntry_msg_init);
|
|
1309
|
+
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__ServerHandshakeParameters_msg_init);
|
|
1159
1310
|
upb_Map* map = (upb_Map*)upb_Message_GetMap(UPB_UPCAST(msg), &field);
|
|
1160
1311
|
if (!map) return false;
|
|
1161
1312
|
return _upb_Map_Delete(map, &key, sizeof(key), NULL);
|
|
1162
1313
|
}
|
|
1163
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_in_bytes(grpc_gcp_StartServerHandshakeReq
|
|
1314
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_in_bytes(grpc_gcp_StartServerHandshakeReq* msg, upb_StringView value) {
|
|
1164
1315
|
const upb_MiniTableField field = {3, UPB_SIZE(40, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1165
|
-
upb_Message_SetBaseField((upb_Message
|
|
1316
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1166
1317
|
}
|
|
1167
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_local_endpoint(grpc_gcp_StartServerHandshakeReq
|
|
1168
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64,
|
|
1318
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_local_endpoint(grpc_gcp_StartServerHandshakeReq* msg, grpc_gcp_Endpoint* value) {
|
|
1319
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 48), 64, UPB_SIZE(16, 17), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1169
1320
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
1170
|
-
upb_Message_SetBaseField((upb_Message
|
|
1321
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1171
1322
|
}
|
|
1172
|
-
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_local_endpoint(
|
|
1323
|
+
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_local_endpoint(
|
|
1324
|
+
grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) {
|
|
1173
1325
|
struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartServerHandshakeReq_local_endpoint(msg);
|
|
1174
1326
|
if (sub == NULL) {
|
|
1175
1327
|
sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena);
|
|
@@ -1177,12 +1329,13 @@ UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_lo
|
|
|
1177
1329
|
}
|
|
1178
1330
|
return sub;
|
|
1179
1331
|
}
|
|
1180
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(grpc_gcp_StartServerHandshakeReq
|
|
1181
|
-
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65,
|
|
1332
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_remote_endpoint(grpc_gcp_StartServerHandshakeReq* msg, grpc_gcp_Endpoint* value) {
|
|
1333
|
+
const upb_MiniTableField field = {5, UPB_SIZE(24, 56), 65, UPB_SIZE(14, 16), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1182
1334
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Endpoint_msg_init);
|
|
1183
|
-
upb_Message_SetBaseField((upb_Message
|
|
1335
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1184
1336
|
}
|
|
1185
|
-
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_remote_endpoint(
|
|
1337
|
+
UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_remote_endpoint(
|
|
1338
|
+
grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) {
|
|
1186
1339
|
struct grpc_gcp_Endpoint* sub = (struct grpc_gcp_Endpoint*)grpc_gcp_StartServerHandshakeReq_remote_endpoint(msg);
|
|
1187
1340
|
if (sub == NULL) {
|
|
1188
1341
|
sub = (struct grpc_gcp_Endpoint*)_upb_Message_New(&grpc__gcp__Endpoint_msg_init, arena);
|
|
@@ -1190,12 +1343,13 @@ UPB_INLINE struct grpc_gcp_Endpoint* grpc_gcp_StartServerHandshakeReq_mutable_re
|
|
|
1190
1343
|
}
|
|
1191
1344
|
return sub;
|
|
1192
1345
|
}
|
|
1193
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_rpc_versions(grpc_gcp_StartServerHandshakeReq
|
|
1194
|
-
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66,
|
|
1346
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_rpc_versions(grpc_gcp_StartServerHandshakeReq* msg, struct grpc_gcp_RpcProtocolVersions* value) {
|
|
1347
|
+
const upb_MiniTableField field = {6, UPB_SIZE(28, 64), 66, UPB_SIZE(12, 15), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1195
1348
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
1196
|
-
upb_Message_SetBaseField((upb_Message
|
|
1349
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1197
1350
|
}
|
|
1198
|
-
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_mutable_rpc_versions(
|
|
1351
|
+
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq_mutable_rpc_versions(
|
|
1352
|
+
grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) {
|
|
1199
1353
|
struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_StartServerHandshakeReq_rpc_versions(msg);
|
|
1200
1354
|
if (sub == NULL) {
|
|
1201
1355
|
sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena);
|
|
@@ -1203,16 +1357,17 @@ UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_StartServerHandshakeReq
|
|
|
1203
1357
|
}
|
|
1204
1358
|
return sub;
|
|
1205
1359
|
}
|
|
1206
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_max_frame_size(grpc_gcp_StartServerHandshakeReq
|
|
1360
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_max_frame_size(grpc_gcp_StartServerHandshakeReq* msg, uint32_t value) {
|
|
1207
1361
|
const upb_MiniTableField field = {7, UPB_SIZE(32, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1208
|
-
upb_Message_SetBaseField((upb_Message
|
|
1362
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1209
1363
|
}
|
|
1210
|
-
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_transport_protocol_preferences(grpc_gcp_StartServerHandshakeReq
|
|
1211
|
-
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67,
|
|
1364
|
+
UPB_INLINE void grpc_gcp_StartServerHandshakeReq_set_transport_protocol_preferences(grpc_gcp_StartServerHandshakeReq* msg, struct grpc_gcp_TransportProtocolPreferences* value) {
|
|
1365
|
+
const upb_MiniTableField field = {8, UPB_SIZE(36, 72), 67, UPB_SIZE(7, 11), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1212
1366
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__TransportProtocolPreferences_msg_init);
|
|
1213
|
-
upb_Message_SetBaseField((upb_Message
|
|
1367
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1214
1368
|
}
|
|
1215
|
-
UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartServerHandshakeReq_mutable_transport_protocol_preferences(
|
|
1369
|
+
UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartServerHandshakeReq_mutable_transport_protocol_preferences(
|
|
1370
|
+
grpc_gcp_StartServerHandshakeReq* msg, upb_Arena* arena) {
|
|
1216
1371
|
struct grpc_gcp_TransportProtocolPreferences* sub = (struct grpc_gcp_TransportProtocolPreferences*)grpc_gcp_StartServerHandshakeReq_transport_protocol_preferences(msg);
|
|
1217
1372
|
if (sub == NULL) {
|
|
1218
1373
|
sub = (struct grpc_gcp_TransportProtocolPreferences*)_upb_Message_New(&grpc__gcp__TransportProtocolPreferences_msg_init, arena);
|
|
@@ -1222,37 +1377,39 @@ UPB_INLINE struct grpc_gcp_TransportProtocolPreferences* grpc_gcp_StartServerHan
|
|
|
1222
1377
|
}
|
|
1223
1378
|
|
|
1224
1379
|
/* grpc.gcp.NextHandshakeMessageReq */
|
|
1225
|
-
|
|
1226
1380
|
UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_new(upb_Arena* arena) {
|
|
1227
1381
|
return (grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc__gcp__NextHandshakeMessageReq_msg_init, arena);
|
|
1228
1382
|
}
|
|
1229
|
-
UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_parse(const char* buf, size_t size,
|
|
1383
|
+
UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_parse(const char* buf, size_t size,
|
|
1384
|
+
upb_Arena* arena) {
|
|
1230
1385
|
grpc_gcp_NextHandshakeMessageReq* ret = grpc_gcp_NextHandshakeMessageReq_new(arena);
|
|
1231
1386
|
if (!ret) return NULL;
|
|
1232
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__NextHandshakeMessageReq_msg_init, NULL, 0,
|
|
1233
|
-
|
|
1387
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__NextHandshakeMessageReq_msg_init, NULL, 0,
|
|
1388
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1234
1389
|
return NULL;
|
|
1235
1390
|
}
|
|
1236
1391
|
return ret;
|
|
1237
1392
|
}
|
|
1238
|
-
UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_parse_ex(
|
|
1239
|
-
|
|
1240
|
-
|
|
1393
|
+
UPB_INLINE grpc_gcp_NextHandshakeMessageReq* grpc_gcp_NextHandshakeMessageReq_parse_ex(
|
|
1394
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1395
|
+
int options, upb_Arena* arena) {
|
|
1241
1396
|
grpc_gcp_NextHandshakeMessageReq* ret = grpc_gcp_NextHandshakeMessageReq_new(arena);
|
|
1242
1397
|
if (!ret) return NULL;
|
|
1243
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__NextHandshakeMessageReq_msg_init, extreg,
|
|
1244
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1398
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__NextHandshakeMessageReq_msg_init, extreg,
|
|
1399
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1245
1400
|
return NULL;
|
|
1246
1401
|
}
|
|
1247
1402
|
return ret;
|
|
1248
1403
|
}
|
|
1249
|
-
UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq* msg,
|
|
1404
|
+
UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize(const grpc_gcp_NextHandshakeMessageReq* msg,
|
|
1405
|
+
upb_Arena* arena, size_t* len) {
|
|
1250
1406
|
char* ptr;
|
|
1251
1407
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__NextHandshakeMessageReq_msg_init, 0, arena, &ptr, len);
|
|
1252
1408
|
return ptr;
|
|
1253
1409
|
}
|
|
1254
|
-
UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize_ex(const grpc_gcp_NextHandshakeMessageReq* msg,
|
|
1255
|
-
|
|
1410
|
+
UPB_INLINE char* grpc_gcp_NextHandshakeMessageReq_serialize_ex(const grpc_gcp_NextHandshakeMessageReq* msg,
|
|
1411
|
+
int options, upb_Arena* arena,
|
|
1412
|
+
size_t* len) {
|
|
1256
1413
|
char* ptr;
|
|
1257
1414
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__NextHandshakeMessageReq_msg_init, options, arena, &ptr, len);
|
|
1258
1415
|
return ptr;
|
|
@@ -1270,43 +1427,45 @@ UPB_INLINE upb_StringView grpc_gcp_NextHandshakeMessageReq_in_bytes(const grpc_g
|
|
|
1270
1427
|
return ret;
|
|
1271
1428
|
}
|
|
1272
1429
|
|
|
1273
|
-
UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_set_in_bytes(grpc_gcp_NextHandshakeMessageReq
|
|
1430
|
+
UPB_INLINE void grpc_gcp_NextHandshakeMessageReq_set_in_bytes(grpc_gcp_NextHandshakeMessageReq* msg, upb_StringView value) {
|
|
1274
1431
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1275
|
-
upb_Message_SetBaseField((upb_Message
|
|
1432
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1276
1433
|
}
|
|
1277
1434
|
|
|
1278
1435
|
/* grpc.gcp.HandshakerReq */
|
|
1279
|
-
|
|
1280
1436
|
UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_new(upb_Arena* arena) {
|
|
1281
1437
|
return (grpc_gcp_HandshakerReq*)_upb_Message_New(&grpc__gcp__HandshakerReq_msg_init, arena);
|
|
1282
1438
|
}
|
|
1283
|
-
UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse(const char* buf, size_t size,
|
|
1439
|
+
UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse(const char* buf, size_t size,
|
|
1440
|
+
upb_Arena* arena) {
|
|
1284
1441
|
grpc_gcp_HandshakerReq* ret = grpc_gcp_HandshakerReq_new(arena);
|
|
1285
1442
|
if (!ret) return NULL;
|
|
1286
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerReq_msg_init, NULL, 0,
|
|
1287
|
-
|
|
1443
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerReq_msg_init, NULL, 0,
|
|
1444
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1288
1445
|
return NULL;
|
|
1289
1446
|
}
|
|
1290
1447
|
return ret;
|
|
1291
1448
|
}
|
|
1292
|
-
UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse_ex(
|
|
1293
|
-
|
|
1294
|
-
|
|
1449
|
+
UPB_INLINE grpc_gcp_HandshakerReq* grpc_gcp_HandshakerReq_parse_ex(
|
|
1450
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1451
|
+
int options, upb_Arena* arena) {
|
|
1295
1452
|
grpc_gcp_HandshakerReq* ret = grpc_gcp_HandshakerReq_new(arena);
|
|
1296
1453
|
if (!ret) return NULL;
|
|
1297
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerReq_msg_init, extreg,
|
|
1298
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1454
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerReq_msg_init, extreg,
|
|
1455
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1299
1456
|
return NULL;
|
|
1300
1457
|
}
|
|
1301
1458
|
return ret;
|
|
1302
1459
|
}
|
|
1303
|
-
UPB_INLINE char* grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq* msg,
|
|
1460
|
+
UPB_INLINE char* grpc_gcp_HandshakerReq_serialize(const grpc_gcp_HandshakerReq* msg,
|
|
1461
|
+
upb_Arena* arena, size_t* len) {
|
|
1304
1462
|
char* ptr;
|
|
1305
1463
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerReq_msg_init, 0, arena, &ptr, len);
|
|
1306
1464
|
return ptr;
|
|
1307
1465
|
}
|
|
1308
|
-
UPB_INLINE char* grpc_gcp_HandshakerReq_serialize_ex(const grpc_gcp_HandshakerReq* msg,
|
|
1309
|
-
|
|
1466
|
+
UPB_INLINE char* grpc_gcp_HandshakerReq_serialize_ex(const grpc_gcp_HandshakerReq* msg,
|
|
1467
|
+
int options, upb_Arena* arena,
|
|
1468
|
+
size_t* len) {
|
|
1310
1469
|
char* ptr;
|
|
1311
1470
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerReq_msg_init, options, arena, &ptr, len);
|
|
1312
1471
|
return ptr;
|
|
@@ -1317,73 +1476,76 @@ typedef enum {
|
|
|
1317
1476
|
grpc_gcp_HandshakerReq_req_oneof_next = 3,
|
|
1318
1477
|
grpc_gcp_HandshakerReq_req_oneof_NOT_SET = 0
|
|
1319
1478
|
} grpc_gcp_HandshakerReq_req_oneof_oneofcases;
|
|
1320
|
-
|
|
1321
|
-
|
|
1479
|
+
|
|
1480
|
+
UPB_INLINE grpc_gcp_HandshakerReq_req_oneof_oneofcases
|
|
1481
|
+
grpc_gcp_HandshakerReq_req_oneof_case(const grpc_gcp_HandshakerReq* msg) {
|
|
1482
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1322
1483
|
return (grpc_gcp_HandshakerReq_req_oneof_oneofcases)upb_Message_WhichOneofFieldNumber(
|
|
1323
1484
|
UPB_UPCAST(msg), &field);
|
|
1324
1485
|
}
|
|
1325
1486
|
UPB_INLINE void grpc_gcp_HandshakerReq_clear_req_oneof(grpc_gcp_HandshakerReq* msg) {
|
|
1326
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1487
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1327
1488
|
upb_Message_ClearOneof(UPB_UPCAST(msg), &grpc__gcp__HandshakerReq_msg_init, &field);
|
|
1328
1489
|
}
|
|
1329
1490
|
UPB_INLINE void grpc_gcp_HandshakerReq_clear_client_start(grpc_gcp_HandshakerReq* msg) {
|
|
1330
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1491
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1331
1492
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1332
1493
|
}
|
|
1333
1494
|
UPB_INLINE const grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_client_start(const grpc_gcp_HandshakerReq* msg) {
|
|
1334
1495
|
const grpc_gcp_StartClientHandshakeReq* default_val = NULL;
|
|
1335
1496
|
const grpc_gcp_StartClientHandshakeReq* ret;
|
|
1336
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1497
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1337
1498
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartClientHandshakeReq_msg_init);
|
|
1338
1499
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1339
1500
|
&default_val, &ret);
|
|
1340
1501
|
return ret;
|
|
1341
1502
|
}
|
|
1342
1503
|
UPB_INLINE bool grpc_gcp_HandshakerReq_has_client_start(const grpc_gcp_HandshakerReq* msg) {
|
|
1343
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1504
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1344
1505
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1345
1506
|
}
|
|
1346
1507
|
UPB_INLINE void grpc_gcp_HandshakerReq_clear_server_start(grpc_gcp_HandshakerReq* msg) {
|
|
1347
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1508
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1348
1509
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1349
1510
|
}
|
|
1350
1511
|
UPB_INLINE const grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_server_start(const grpc_gcp_HandshakerReq* msg) {
|
|
1351
1512
|
const grpc_gcp_StartServerHandshakeReq* default_val = NULL;
|
|
1352
1513
|
const grpc_gcp_StartServerHandshakeReq* ret;
|
|
1353
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1514
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1354
1515
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq_msg_init);
|
|
1355
1516
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1356
1517
|
&default_val, &ret);
|
|
1357
1518
|
return ret;
|
|
1358
1519
|
}
|
|
1359
1520
|
UPB_INLINE bool grpc_gcp_HandshakerReq_has_server_start(const grpc_gcp_HandshakerReq* msg) {
|
|
1360
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1521
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1361
1522
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1362
1523
|
}
|
|
1363
1524
|
UPB_INLINE void grpc_gcp_HandshakerReq_clear_next(grpc_gcp_HandshakerReq* msg) {
|
|
1364
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1525
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1365
1526
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1366
1527
|
}
|
|
1367
1528
|
UPB_INLINE const grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_next(const grpc_gcp_HandshakerReq* msg) {
|
|
1368
1529
|
const grpc_gcp_NextHandshakeMessageReq* default_val = NULL;
|
|
1369
1530
|
const grpc_gcp_NextHandshakeMessageReq* ret;
|
|
1370
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1531
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1371
1532
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__NextHandshakeMessageReq_msg_init);
|
|
1372
1533
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1373
1534
|
&default_val, &ret);
|
|
1374
1535
|
return ret;
|
|
1375
1536
|
}
|
|
1376
1537
|
UPB_INLINE bool grpc_gcp_HandshakerReq_has_next(const grpc_gcp_HandshakerReq* msg) {
|
|
1377
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1538
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1378
1539
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1379
1540
|
}
|
|
1380
1541
|
|
|
1381
|
-
UPB_INLINE void grpc_gcp_HandshakerReq_set_client_start(grpc_gcp_HandshakerReq
|
|
1382
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9,
|
|
1542
|
+
UPB_INLINE void grpc_gcp_HandshakerReq_set_client_start(grpc_gcp_HandshakerReq* msg, grpc_gcp_StartClientHandshakeReq* value) {
|
|
1543
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), -9, UPB_SIZE(9, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1383
1544
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartClientHandshakeReq_msg_init);
|
|
1384
|
-
upb_Message_SetBaseField((upb_Message
|
|
1545
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1385
1546
|
}
|
|
1386
|
-
UPB_INLINE struct grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_mutable_client_start(
|
|
1547
|
+
UPB_INLINE struct grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_mutable_client_start(
|
|
1548
|
+
grpc_gcp_HandshakerReq* msg, upb_Arena* arena) {
|
|
1387
1549
|
struct grpc_gcp_StartClientHandshakeReq* sub = (struct grpc_gcp_StartClientHandshakeReq*)grpc_gcp_HandshakerReq_client_start(msg);
|
|
1388
1550
|
if (sub == NULL) {
|
|
1389
1551
|
sub = (struct grpc_gcp_StartClientHandshakeReq*)_upb_Message_New(&grpc__gcp__StartClientHandshakeReq_msg_init, arena);
|
|
@@ -1391,12 +1553,13 @@ UPB_INLINE struct grpc_gcp_StartClientHandshakeReq* grpc_gcp_HandshakerReq_mutab
|
|
|
1391
1553
|
}
|
|
1392
1554
|
return sub;
|
|
1393
1555
|
}
|
|
1394
|
-
UPB_INLINE void grpc_gcp_HandshakerReq_set_server_start(grpc_gcp_HandshakerReq
|
|
1395
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9,
|
|
1556
|
+
UPB_INLINE void grpc_gcp_HandshakerReq_set_server_start(grpc_gcp_HandshakerReq* msg, grpc_gcp_StartServerHandshakeReq* value) {
|
|
1557
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), -9, UPB_SIZE(7, 9), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1396
1558
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__StartServerHandshakeReq_msg_init);
|
|
1397
|
-
upb_Message_SetBaseField((upb_Message
|
|
1559
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1398
1560
|
}
|
|
1399
|
-
UPB_INLINE struct grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_mutable_server_start(
|
|
1561
|
+
UPB_INLINE struct grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_mutable_server_start(
|
|
1562
|
+
grpc_gcp_HandshakerReq* msg, upb_Arena* arena) {
|
|
1400
1563
|
struct grpc_gcp_StartServerHandshakeReq* sub = (struct grpc_gcp_StartServerHandshakeReq*)grpc_gcp_HandshakerReq_server_start(msg);
|
|
1401
1564
|
if (sub == NULL) {
|
|
1402
1565
|
sub = (struct grpc_gcp_StartServerHandshakeReq*)_upb_Message_New(&grpc__gcp__StartServerHandshakeReq_msg_init, arena);
|
|
@@ -1404,12 +1567,13 @@ UPB_INLINE struct grpc_gcp_StartServerHandshakeReq* grpc_gcp_HandshakerReq_mutab
|
|
|
1404
1567
|
}
|
|
1405
1568
|
return sub;
|
|
1406
1569
|
}
|
|
1407
|
-
UPB_INLINE void grpc_gcp_HandshakerReq_set_next(grpc_gcp_HandshakerReq
|
|
1408
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9,
|
|
1570
|
+
UPB_INLINE void grpc_gcp_HandshakerReq_set_next(grpc_gcp_HandshakerReq* msg, grpc_gcp_NextHandshakeMessageReq* value) {
|
|
1571
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 16), -9, UPB_SIZE(5, 8), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1409
1572
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__NextHandshakeMessageReq_msg_init);
|
|
1410
|
-
upb_Message_SetBaseField((upb_Message
|
|
1573
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1411
1574
|
}
|
|
1412
|
-
UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_mutable_next(
|
|
1575
|
+
UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_mutable_next(
|
|
1576
|
+
grpc_gcp_HandshakerReq* msg, upb_Arena* arena) {
|
|
1413
1577
|
struct grpc_gcp_NextHandshakeMessageReq* sub = (struct grpc_gcp_NextHandshakeMessageReq*)grpc_gcp_HandshakerReq_next(msg);
|
|
1414
1578
|
if (sub == NULL) {
|
|
1415
1579
|
sub = (struct grpc_gcp_NextHandshakeMessageReq*)_upb_Message_New(&grpc__gcp__NextHandshakeMessageReq_msg_init, arena);
|
|
@@ -1419,37 +1583,39 @@ UPB_INLINE struct grpc_gcp_NextHandshakeMessageReq* grpc_gcp_HandshakerReq_mutab
|
|
|
1419
1583
|
}
|
|
1420
1584
|
|
|
1421
1585
|
/* grpc.gcp.HandshakerResult */
|
|
1422
|
-
|
|
1423
1586
|
UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_new(upb_Arena* arena) {
|
|
1424
1587
|
return (grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc__gcp__HandshakerResult_msg_init, arena);
|
|
1425
1588
|
}
|
|
1426
|
-
UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse(const char* buf, size_t size,
|
|
1589
|
+
UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse(const char* buf, size_t size,
|
|
1590
|
+
upb_Arena* arena) {
|
|
1427
1591
|
grpc_gcp_HandshakerResult* ret = grpc_gcp_HandshakerResult_new(arena);
|
|
1428
1592
|
if (!ret) return NULL;
|
|
1429
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResult_msg_init, NULL, 0,
|
|
1430
|
-
|
|
1593
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResult_msg_init, NULL, 0,
|
|
1594
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1431
1595
|
return NULL;
|
|
1432
1596
|
}
|
|
1433
1597
|
return ret;
|
|
1434
1598
|
}
|
|
1435
|
-
UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse_ex(
|
|
1436
|
-
|
|
1437
|
-
|
|
1599
|
+
UPB_INLINE grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResult_parse_ex(
|
|
1600
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1601
|
+
int options, upb_Arena* arena) {
|
|
1438
1602
|
grpc_gcp_HandshakerResult* ret = grpc_gcp_HandshakerResult_new(arena);
|
|
1439
1603
|
if (!ret) return NULL;
|
|
1440
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResult_msg_init, extreg,
|
|
1441
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1604
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResult_msg_init, extreg,
|
|
1605
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1442
1606
|
return NULL;
|
|
1443
1607
|
}
|
|
1444
1608
|
return ret;
|
|
1445
1609
|
}
|
|
1446
|
-
UPB_INLINE char* grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult* msg,
|
|
1610
|
+
UPB_INLINE char* grpc_gcp_HandshakerResult_serialize(const grpc_gcp_HandshakerResult* msg,
|
|
1611
|
+
upb_Arena* arena, size_t* len) {
|
|
1447
1612
|
char* ptr;
|
|
1448
1613
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerResult_msg_init, 0, arena, &ptr, len);
|
|
1449
1614
|
return ptr;
|
|
1450
1615
|
}
|
|
1451
|
-
UPB_INLINE char* grpc_gcp_HandshakerResult_serialize_ex(const grpc_gcp_HandshakerResult* msg,
|
|
1452
|
-
|
|
1616
|
+
UPB_INLINE char* grpc_gcp_HandshakerResult_serialize_ex(const grpc_gcp_HandshakerResult* msg,
|
|
1617
|
+
int options, upb_Arena* arena,
|
|
1618
|
+
size_t* len) {
|
|
1453
1619
|
char* ptr;
|
|
1454
1620
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerResult_msg_init, options, arena, &ptr, len);
|
|
1455
1621
|
return ptr;
|
|
@@ -1491,37 +1657,37 @@ UPB_INLINE upb_StringView grpc_gcp_HandshakerResult_key_data(const grpc_gcp_Hand
|
|
|
1491
1657
|
return ret;
|
|
1492
1658
|
}
|
|
1493
1659
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_peer_identity(grpc_gcp_HandshakerResult* msg) {
|
|
1494
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
1660
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1495
1661
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1496
1662
|
}
|
|
1497
1663
|
UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_peer_identity(const grpc_gcp_HandshakerResult* msg) {
|
|
1498
1664
|
const grpc_gcp_Identity* default_val = NULL;
|
|
1499
1665
|
const grpc_gcp_Identity* ret;
|
|
1500
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
1666
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1501
1667
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
1502
1668
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1503
1669
|
&default_val, &ret);
|
|
1504
1670
|
return ret;
|
|
1505
1671
|
}
|
|
1506
1672
|
UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_identity(const grpc_gcp_HandshakerResult* msg) {
|
|
1507
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
1673
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1508
1674
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1509
1675
|
}
|
|
1510
1676
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_local_identity(grpc_gcp_HandshakerResult* msg) {
|
|
1511
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65,
|
|
1677
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1512
1678
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1513
1679
|
}
|
|
1514
1680
|
UPB_INLINE const grpc_gcp_Identity* grpc_gcp_HandshakerResult_local_identity(const grpc_gcp_HandshakerResult* msg) {
|
|
1515
1681
|
const grpc_gcp_Identity* default_val = NULL;
|
|
1516
1682
|
const grpc_gcp_Identity* ret;
|
|
1517
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65,
|
|
1683
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1518
1684
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
1519
1685
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1520
1686
|
&default_val, &ret);
|
|
1521
1687
|
return ret;
|
|
1522
1688
|
}
|
|
1523
1689
|
UPB_INLINE bool grpc_gcp_HandshakerResult_has_local_identity(const grpc_gcp_HandshakerResult* msg) {
|
|
1524
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65,
|
|
1690
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1525
1691
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1526
1692
|
}
|
|
1527
1693
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_keep_channel_open(grpc_gcp_HandshakerResult* msg) {
|
|
@@ -1537,20 +1703,20 @@ UPB_INLINE bool grpc_gcp_HandshakerResult_keep_channel_open(const grpc_gcp_Hands
|
|
|
1537
1703
|
return ret;
|
|
1538
1704
|
}
|
|
1539
1705
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_peer_rpc_versions(grpc_gcp_HandshakerResult* msg) {
|
|
1540
|
-
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66,
|
|
1706
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1541
1707
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1542
1708
|
}
|
|
1543
1709
|
UPB_INLINE const struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_peer_rpc_versions(const grpc_gcp_HandshakerResult* msg) {
|
|
1544
1710
|
const struct grpc_gcp_RpcProtocolVersions* default_val = NULL;
|
|
1545
1711
|
const struct grpc_gcp_RpcProtocolVersions* ret;
|
|
1546
|
-
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66,
|
|
1712
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1547
1713
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
1548
1714
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1549
1715
|
&default_val, &ret);
|
|
1550
1716
|
return ret;
|
|
1551
1717
|
}
|
|
1552
1718
|
UPB_INLINE bool grpc_gcp_HandshakerResult_has_peer_rpc_versions(const grpc_gcp_HandshakerResult* msg) {
|
|
1553
|
-
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66,
|
|
1719
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1554
1720
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1555
1721
|
}
|
|
1556
1722
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_max_frame_size(grpc_gcp_HandshakerResult* msg) {
|
|
@@ -1566,41 +1732,42 @@ UPB_INLINE uint32_t grpc_gcp_HandshakerResult_max_frame_size(const grpc_gcp_Hand
|
|
|
1566
1732
|
return ret;
|
|
1567
1733
|
}
|
|
1568
1734
|
UPB_INLINE void grpc_gcp_HandshakerResult_clear_transport_protocol(grpc_gcp_HandshakerResult* msg) {
|
|
1569
|
-
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67,
|
|
1735
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1570
1736
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1571
1737
|
}
|
|
1572
1738
|
UPB_INLINE const struct grpc_gcp_NegotiatedTransportProtocol* grpc_gcp_HandshakerResult_transport_protocol(const grpc_gcp_HandshakerResult* msg) {
|
|
1573
1739
|
const struct grpc_gcp_NegotiatedTransportProtocol* default_val = NULL;
|
|
1574
1740
|
const struct grpc_gcp_NegotiatedTransportProtocol* ret;
|
|
1575
|
-
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67,
|
|
1741
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1576
1742
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__NegotiatedTransportProtocol_msg_init);
|
|
1577
1743
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1578
1744
|
&default_val, &ret);
|
|
1579
1745
|
return ret;
|
|
1580
1746
|
}
|
|
1581
1747
|
UPB_INLINE bool grpc_gcp_HandshakerResult_has_transport_protocol(const grpc_gcp_HandshakerResult* msg) {
|
|
1582
|
-
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67,
|
|
1748
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1583
1749
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1584
1750
|
}
|
|
1585
1751
|
|
|
1586
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_application_protocol(grpc_gcp_HandshakerResult
|
|
1752
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_application_protocol(grpc_gcp_HandshakerResult* msg, upb_StringView value) {
|
|
1587
1753
|
const upb_MiniTableField field = {1, UPB_SIZE(32, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1588
|
-
upb_Message_SetBaseField((upb_Message
|
|
1754
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1589
1755
|
}
|
|
1590
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_record_protocol(grpc_gcp_HandshakerResult
|
|
1756
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_record_protocol(grpc_gcp_HandshakerResult* msg, upb_StringView value) {
|
|
1591
1757
|
const upb_MiniTableField field = {2, UPB_SIZE(40, 32), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1592
|
-
upb_Message_SetBaseField((upb_Message
|
|
1758
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1593
1759
|
}
|
|
1594
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult
|
|
1760
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_key_data(grpc_gcp_HandshakerResult* msg, upb_StringView value) {
|
|
1595
1761
|
const upb_MiniTableField field = {3, 48, 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1596
|
-
upb_Message_SetBaseField((upb_Message
|
|
1762
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1597
1763
|
}
|
|
1598
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_identity(grpc_gcp_HandshakerResult
|
|
1599
|
-
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64,
|
|
1764
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_identity(grpc_gcp_HandshakerResult* msg, grpc_gcp_Identity* value) {
|
|
1765
|
+
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 64, UPB_SIZE(18, 19), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1600
1766
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
1601
|
-
upb_Message_SetBaseField((upb_Message
|
|
1767
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1602
1768
|
}
|
|
1603
|
-
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_peer_identity(
|
|
1769
|
+
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_peer_identity(
|
|
1770
|
+
grpc_gcp_HandshakerResult* msg, upb_Arena* arena) {
|
|
1604
1771
|
struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_HandshakerResult_peer_identity(msg);
|
|
1605
1772
|
if (sub == NULL) {
|
|
1606
1773
|
sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
@@ -1608,12 +1775,13 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_peer_iden
|
|
|
1608
1775
|
}
|
|
1609
1776
|
return sub;
|
|
1610
1777
|
}
|
|
1611
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_local_identity(grpc_gcp_HandshakerResult
|
|
1612
|
-
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65,
|
|
1778
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_local_identity(grpc_gcp_HandshakerResult* msg, grpc_gcp_Identity* value) {
|
|
1779
|
+
const upb_MiniTableField field = {5, UPB_SIZE(16, 72), 65, UPB_SIZE(16, 18), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1613
1780
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__Identity_msg_init);
|
|
1614
|
-
upb_Message_SetBaseField((upb_Message
|
|
1781
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1615
1782
|
}
|
|
1616
|
-
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_local_identity(
|
|
1783
|
+
UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_local_identity(
|
|
1784
|
+
grpc_gcp_HandshakerResult* msg, upb_Arena* arena) {
|
|
1617
1785
|
struct grpc_gcp_Identity* sub = (struct grpc_gcp_Identity*)grpc_gcp_HandshakerResult_local_identity(msg);
|
|
1618
1786
|
if (sub == NULL) {
|
|
1619
1787
|
sub = (struct grpc_gcp_Identity*)_upb_Message_New(&grpc__gcp__Identity_msg_init, arena);
|
|
@@ -1621,16 +1789,17 @@ UPB_INLINE struct grpc_gcp_Identity* grpc_gcp_HandshakerResult_mutable_local_ide
|
|
|
1621
1789
|
}
|
|
1622
1790
|
return sub;
|
|
1623
1791
|
}
|
|
1624
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_keep_channel_open(grpc_gcp_HandshakerResult
|
|
1792
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_keep_channel_open(grpc_gcp_HandshakerResult* msg, bool value) {
|
|
1625
1793
|
const upb_MiniTableField field = {6, 9, 0, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
|
1626
|
-
upb_Message_SetBaseField((upb_Message
|
|
1794
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1627
1795
|
}
|
|
1628
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_rpc_versions(grpc_gcp_HandshakerResult
|
|
1629
|
-
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66,
|
|
1796
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_peer_rpc_versions(grpc_gcp_HandshakerResult* msg, struct grpc_gcp_RpcProtocolVersions* value) {
|
|
1797
|
+
const upb_MiniTableField field = {7, UPB_SIZE(20, 80), 66, UPB_SIZE(11, 14), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1630
1798
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__RpcProtocolVersions_msg_init);
|
|
1631
|
-
upb_Message_SetBaseField((upb_Message
|
|
1799
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1632
1800
|
}
|
|
1633
|
-
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_mutable_peer_rpc_versions(
|
|
1801
|
+
UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_mutable_peer_rpc_versions(
|
|
1802
|
+
grpc_gcp_HandshakerResult* msg, upb_Arena* arena) {
|
|
1634
1803
|
struct grpc_gcp_RpcProtocolVersions* sub = (struct grpc_gcp_RpcProtocolVersions*)grpc_gcp_HandshakerResult_peer_rpc_versions(msg);
|
|
1635
1804
|
if (sub == NULL) {
|
|
1636
1805
|
sub = (struct grpc_gcp_RpcProtocolVersions*)_upb_Message_New(&grpc__gcp__RpcProtocolVersions_msg_init, arena);
|
|
@@ -1638,16 +1807,17 @@ UPB_INLINE struct grpc_gcp_RpcProtocolVersions* grpc_gcp_HandshakerResult_mutabl
|
|
|
1638
1807
|
}
|
|
1639
1808
|
return sub;
|
|
1640
1809
|
}
|
|
1641
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_max_frame_size(grpc_gcp_HandshakerResult
|
|
1810
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_max_frame_size(grpc_gcp_HandshakerResult* msg, uint32_t value) {
|
|
1642
1811
|
const upb_MiniTableField field = {8, UPB_SIZE(24, 12), 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1643
|
-
upb_Message_SetBaseField((upb_Message
|
|
1812
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1644
1813
|
}
|
|
1645
|
-
UPB_INLINE void grpc_gcp_HandshakerResult_set_transport_protocol(grpc_gcp_HandshakerResult
|
|
1646
|
-
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67,
|
|
1814
|
+
UPB_INLINE void grpc_gcp_HandshakerResult_set_transport_protocol(grpc_gcp_HandshakerResult* msg, struct grpc_gcp_NegotiatedTransportProtocol* value) {
|
|
1815
|
+
const upb_MiniTableField field = {9, UPB_SIZE(28, 88), 67, UPB_SIZE(6, 10), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1647
1816
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__NegotiatedTransportProtocol_msg_init);
|
|
1648
|
-
upb_Message_SetBaseField((upb_Message
|
|
1817
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1649
1818
|
}
|
|
1650
|
-
UPB_INLINE struct grpc_gcp_NegotiatedTransportProtocol* grpc_gcp_HandshakerResult_mutable_transport_protocol(
|
|
1819
|
+
UPB_INLINE struct grpc_gcp_NegotiatedTransportProtocol* grpc_gcp_HandshakerResult_mutable_transport_protocol(
|
|
1820
|
+
grpc_gcp_HandshakerResult* msg, upb_Arena* arena) {
|
|
1651
1821
|
struct grpc_gcp_NegotiatedTransportProtocol* sub = (struct grpc_gcp_NegotiatedTransportProtocol*)grpc_gcp_HandshakerResult_transport_protocol(msg);
|
|
1652
1822
|
if (sub == NULL) {
|
|
1653
1823
|
sub = (struct grpc_gcp_NegotiatedTransportProtocol*)_upb_Message_New(&grpc__gcp__NegotiatedTransportProtocol_msg_init, arena);
|
|
@@ -1657,37 +1827,39 @@ UPB_INLINE struct grpc_gcp_NegotiatedTransportProtocol* grpc_gcp_HandshakerResul
|
|
|
1657
1827
|
}
|
|
1658
1828
|
|
|
1659
1829
|
/* grpc.gcp.HandshakerStatus */
|
|
1660
|
-
|
|
1661
1830
|
UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_new(upb_Arena* arena) {
|
|
1662
1831
|
return (grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc__gcp__HandshakerStatus_msg_init, arena);
|
|
1663
1832
|
}
|
|
1664
|
-
UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse(const char* buf, size_t size,
|
|
1833
|
+
UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse(const char* buf, size_t size,
|
|
1834
|
+
upb_Arena* arena) {
|
|
1665
1835
|
grpc_gcp_HandshakerStatus* ret = grpc_gcp_HandshakerStatus_new(arena);
|
|
1666
1836
|
if (!ret) return NULL;
|
|
1667
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerStatus_msg_init, NULL, 0,
|
|
1668
|
-
|
|
1837
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerStatus_msg_init, NULL, 0,
|
|
1838
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1669
1839
|
return NULL;
|
|
1670
1840
|
}
|
|
1671
1841
|
return ret;
|
|
1672
1842
|
}
|
|
1673
|
-
UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse_ex(
|
|
1674
|
-
|
|
1675
|
-
|
|
1843
|
+
UPB_INLINE grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerStatus_parse_ex(
|
|
1844
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1845
|
+
int options, upb_Arena* arena) {
|
|
1676
1846
|
grpc_gcp_HandshakerStatus* ret = grpc_gcp_HandshakerStatus_new(arena);
|
|
1677
1847
|
if (!ret) return NULL;
|
|
1678
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerStatus_msg_init, extreg,
|
|
1679
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1848
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerStatus_msg_init, extreg,
|
|
1849
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1680
1850
|
return NULL;
|
|
1681
1851
|
}
|
|
1682
1852
|
return ret;
|
|
1683
1853
|
}
|
|
1684
|
-
UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus* msg,
|
|
1854
|
+
UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize(const grpc_gcp_HandshakerStatus* msg,
|
|
1855
|
+
upb_Arena* arena, size_t* len) {
|
|
1685
1856
|
char* ptr;
|
|
1686
1857
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerStatus_msg_init, 0, arena, &ptr, len);
|
|
1687
1858
|
return ptr;
|
|
1688
1859
|
}
|
|
1689
|
-
UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize_ex(const grpc_gcp_HandshakerStatus* msg,
|
|
1690
|
-
|
|
1860
|
+
UPB_INLINE char* grpc_gcp_HandshakerStatus_serialize_ex(const grpc_gcp_HandshakerStatus* msg,
|
|
1861
|
+
int options, upb_Arena* arena,
|
|
1862
|
+
size_t* len) {
|
|
1691
1863
|
char* ptr;
|
|
1692
1864
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerStatus_msg_init, options, arena, &ptr, len);
|
|
1693
1865
|
return ptr;
|
|
@@ -1717,47 +1889,49 @@ UPB_INLINE upb_StringView grpc_gcp_HandshakerStatus_details(const grpc_gcp_Hands
|
|
|
1717
1889
|
return ret;
|
|
1718
1890
|
}
|
|
1719
1891
|
|
|
1720
|
-
UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus
|
|
1892
|
+
UPB_INLINE void grpc_gcp_HandshakerStatus_set_code(grpc_gcp_HandshakerStatus* msg, uint32_t value) {
|
|
1721
1893
|
const upb_MiniTableField field = {1, 8, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1722
|
-
upb_Message_SetBaseField((upb_Message
|
|
1894
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1723
1895
|
}
|
|
1724
|
-
UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus
|
|
1896
|
+
UPB_INLINE void grpc_gcp_HandshakerStatus_set_details(grpc_gcp_HandshakerStatus* msg, upb_StringView value) {
|
|
1725
1897
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1726
|
-
upb_Message_SetBaseField((upb_Message
|
|
1898
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1727
1899
|
}
|
|
1728
1900
|
|
|
1729
1901
|
/* grpc.gcp.HandshakerResp */
|
|
1730
|
-
|
|
1731
1902
|
UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_new(upb_Arena* arena) {
|
|
1732
1903
|
return (grpc_gcp_HandshakerResp*)_upb_Message_New(&grpc__gcp__HandshakerResp_msg_init, arena);
|
|
1733
1904
|
}
|
|
1734
|
-
UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse(const char* buf, size_t size,
|
|
1905
|
+
UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse(const char* buf, size_t size,
|
|
1906
|
+
upb_Arena* arena) {
|
|
1735
1907
|
grpc_gcp_HandshakerResp* ret = grpc_gcp_HandshakerResp_new(arena);
|
|
1736
1908
|
if (!ret) return NULL;
|
|
1737
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResp_msg_init, NULL, 0,
|
|
1738
|
-
|
|
1909
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResp_msg_init, NULL, 0,
|
|
1910
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
|
1739
1911
|
return NULL;
|
|
1740
1912
|
}
|
|
1741
1913
|
return ret;
|
|
1742
1914
|
}
|
|
1743
|
-
UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse_ex(
|
|
1744
|
-
|
|
1745
|
-
|
|
1915
|
+
UPB_INLINE grpc_gcp_HandshakerResp* grpc_gcp_HandshakerResp_parse_ex(
|
|
1916
|
+
const char* buf, size_t size, const upb_ExtensionRegistry* extreg,
|
|
1917
|
+
int options, upb_Arena* arena) {
|
|
1746
1918
|
grpc_gcp_HandshakerResp* ret = grpc_gcp_HandshakerResp_new(arena);
|
|
1747
1919
|
if (!ret) return NULL;
|
|
1748
|
-
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResp_msg_init, extreg,
|
|
1749
|
-
arena) != kUpb_DecodeStatus_Ok) {
|
|
1920
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &grpc__gcp__HandshakerResp_msg_init, extreg,
|
|
1921
|
+
options, arena) != kUpb_DecodeStatus_Ok) {
|
|
1750
1922
|
return NULL;
|
|
1751
1923
|
}
|
|
1752
1924
|
return ret;
|
|
1753
1925
|
}
|
|
1754
|
-
UPB_INLINE char* grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp* msg,
|
|
1926
|
+
UPB_INLINE char* grpc_gcp_HandshakerResp_serialize(const grpc_gcp_HandshakerResp* msg,
|
|
1927
|
+
upb_Arena* arena, size_t* len) {
|
|
1755
1928
|
char* ptr;
|
|
1756
1929
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerResp_msg_init, 0, arena, &ptr, len);
|
|
1757
1930
|
return ptr;
|
|
1758
1931
|
}
|
|
1759
|
-
UPB_INLINE char* grpc_gcp_HandshakerResp_serialize_ex(const grpc_gcp_HandshakerResp* msg,
|
|
1760
|
-
|
|
1932
|
+
UPB_INLINE char* grpc_gcp_HandshakerResp_serialize_ex(const grpc_gcp_HandshakerResp* msg,
|
|
1933
|
+
int options, upb_Arena* arena,
|
|
1934
|
+
size_t* len) {
|
|
1761
1935
|
char* ptr;
|
|
1762
1936
|
(void)upb_Encode(UPB_UPCAST(msg), &grpc__gcp__HandshakerResp_msg_init, options, arena, &ptr, len);
|
|
1763
1937
|
return ptr;
|
|
@@ -1787,54 +1961,55 @@ UPB_INLINE uint32_t grpc_gcp_HandshakerResp_bytes_consumed(const grpc_gcp_Handsh
|
|
|
1787
1961
|
return ret;
|
|
1788
1962
|
}
|
|
1789
1963
|
UPB_INLINE void grpc_gcp_HandshakerResp_clear_result(grpc_gcp_HandshakerResp* msg) {
|
|
1790
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
1964
|
+
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)};
|
|
1791
1965
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1792
1966
|
}
|
|
1793
1967
|
UPB_INLINE const grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_result(const grpc_gcp_HandshakerResp* msg) {
|
|
1794
1968
|
const grpc_gcp_HandshakerResult* default_val = NULL;
|
|
1795
1969
|
const grpc_gcp_HandshakerResult* ret;
|
|
1796
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
1970
|
+
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)};
|
|
1797
1971
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__HandshakerResult_msg_init);
|
|
1798
1972
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1799
1973
|
&default_val, &ret);
|
|
1800
1974
|
return ret;
|
|
1801
1975
|
}
|
|
1802
1976
|
UPB_INLINE bool grpc_gcp_HandshakerResp_has_result(const grpc_gcp_HandshakerResp* msg) {
|
|
1803
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
1977
|
+
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)};
|
|
1804
1978
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1805
1979
|
}
|
|
1806
1980
|
UPB_INLINE void grpc_gcp_HandshakerResp_clear_status(grpc_gcp_HandshakerResp* msg) {
|
|
1807
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65,
|
|
1981
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1808
1982
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
|
1809
1983
|
}
|
|
1810
1984
|
UPB_INLINE const grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_status(const grpc_gcp_HandshakerResp* msg) {
|
|
1811
1985
|
const grpc_gcp_HandshakerStatus* default_val = NULL;
|
|
1812
1986
|
const grpc_gcp_HandshakerStatus* ret;
|
|
1813
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65,
|
|
1987
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1814
1988
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__HandshakerStatus_msg_init);
|
|
1815
1989
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
|
1816
1990
|
&default_val, &ret);
|
|
1817
1991
|
return ret;
|
|
1818
1992
|
}
|
|
1819
1993
|
UPB_INLINE bool grpc_gcp_HandshakerResp_has_status(const grpc_gcp_HandshakerResp* msg) {
|
|
1820
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65,
|
|
1994
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1821
1995
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
|
1822
1996
|
}
|
|
1823
1997
|
|
|
1824
|
-
UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp
|
|
1998
|
+
UPB_INLINE void grpc_gcp_HandshakerResp_set_out_frames(grpc_gcp_HandshakerResp* msg, upb_StringView value) {
|
|
1825
1999
|
const upb_MiniTableField field = {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
|
1826
|
-
upb_Message_SetBaseField((upb_Message
|
|
2000
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1827
2001
|
}
|
|
1828
|
-
UPB_INLINE void grpc_gcp_HandshakerResp_set_bytes_consumed(grpc_gcp_HandshakerResp
|
|
2002
|
+
UPB_INLINE void grpc_gcp_HandshakerResp_set_bytes_consumed(grpc_gcp_HandshakerResp* msg, uint32_t value) {
|
|
1829
2003
|
const upb_MiniTableField field = {2, 12, 0, kUpb_NoSub, 13, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
|
1830
|
-
upb_Message_SetBaseField((upb_Message
|
|
2004
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1831
2005
|
}
|
|
1832
|
-
UPB_INLINE void grpc_gcp_HandshakerResp_set_result(grpc_gcp_HandshakerResp
|
|
1833
|
-
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 64,
|
|
2006
|
+
UPB_INLINE void grpc_gcp_HandshakerResp_set_result(grpc_gcp_HandshakerResp* msg, grpc_gcp_HandshakerResult* value) {
|
|
2007
|
+
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)};
|
|
1834
2008
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__HandshakerResult_msg_init);
|
|
1835
|
-
upb_Message_SetBaseField((upb_Message
|
|
2009
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1836
2010
|
}
|
|
1837
|
-
UPB_INLINE struct grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_mutable_result(
|
|
2011
|
+
UPB_INLINE struct grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_mutable_result(
|
|
2012
|
+
grpc_gcp_HandshakerResp* msg, upb_Arena* arena) {
|
|
1838
2013
|
struct grpc_gcp_HandshakerResult* sub = (struct grpc_gcp_HandshakerResult*)grpc_gcp_HandshakerResp_result(msg);
|
|
1839
2014
|
if (sub == NULL) {
|
|
1840
2015
|
sub = (struct grpc_gcp_HandshakerResult*)_upb_Message_New(&grpc__gcp__HandshakerResult_msg_init, arena);
|
|
@@ -1842,12 +2017,13 @@ UPB_INLINE struct grpc_gcp_HandshakerResult* grpc_gcp_HandshakerResp_mutable_res
|
|
|
1842
2017
|
}
|
|
1843
2018
|
return sub;
|
|
1844
2019
|
}
|
|
1845
|
-
UPB_INLINE void grpc_gcp_HandshakerResp_set_status(grpc_gcp_HandshakerResp
|
|
1846
|
-
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65,
|
|
2020
|
+
UPB_INLINE void grpc_gcp_HandshakerResp_set_status(grpc_gcp_HandshakerResp* msg, grpc_gcp_HandshakerStatus* value) {
|
|
2021
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 40), 65, UPB_SIZE(4, 5), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
|
1847
2022
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&grpc__gcp__HandshakerStatus_msg_init);
|
|
1848
|
-
upb_Message_SetBaseField((upb_Message
|
|
2023
|
+
upb_Message_SetBaseField((upb_Message*)msg, &field, &value);
|
|
1849
2024
|
}
|
|
1850
|
-
UPB_INLINE struct grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_mutable_status(
|
|
2025
|
+
UPB_INLINE struct grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_mutable_status(
|
|
2026
|
+
grpc_gcp_HandshakerResp* msg, upb_Arena* arena) {
|
|
1851
2027
|
struct grpc_gcp_HandshakerStatus* sub = (struct grpc_gcp_HandshakerStatus*)grpc_gcp_HandshakerResp_status(msg);
|
|
1852
2028
|
if (sub == NULL) {
|
|
1853
2029
|
sub = (struct grpc_gcp_HandshakerStatus*)_upb_Message_New(&grpc__gcp__HandshakerStatus_msg_init, arena);
|
|
@@ -1857,9 +2033,9 @@ UPB_INLINE struct grpc_gcp_HandshakerStatus* grpc_gcp_HandshakerResp_mutable_sta
|
|
|
1857
2033
|
}
|
|
1858
2034
|
|
|
1859
2035
|
#ifdef __cplusplus
|
|
1860
|
-
}
|
|
2036
|
+
} /* extern "C" */
|
|
1861
2037
|
#endif
|
|
1862
2038
|
|
|
1863
2039
|
#include "upb/port/undef.inc"
|
|
1864
2040
|
|
|
1865
|
-
#endif
|
|
2041
|
+
#endif /* SRC_PROTO_GRPC_GCP_HANDSHAKER_PROTO_UPB_H__UPB_H_ */
|