grpc 1.71.0 → 1.72.0
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 +78 -75
- data/include/grpc/event_engine/memory_request.h +3 -3
- data/include/grpc/impl/channel_arg_names.h +70 -50
- data/include/grpc/support/workaround_list.h +1 -4
- data/src/core/{lib/transport → call}/call_arena_allocator.cc +1 -1
- data/src/core/{lib/transport → call}/call_arena_allocator.h +3 -3
- data/src/core/{lib/transport → call}/call_destination.h +4 -4
- data/src/core/{lib/transport → call}/call_filters.cc +2 -2
- data/src/core/{lib/transport → call}/call_filters.h +25 -6
- data/src/core/{lib/channel → call}/call_finalization.h +3 -3
- data/src/core/{lib/transport → call}/call_spine.cc +1 -1
- data/src/core/{lib/transport → call}/call_spine.h +68 -26
- data/src/core/{lib/transport → call}/call_state.cc +1 -1
- data/src/core/{lib/transport → call}/call_state.h +3 -3
- data/src/core/{lib/surface → call}/client_call.cc +9 -7
- data/src/core/{lib/surface → call}/client_call.h +4 -4
- data/src/core/{lib/transport → call}/custom_metadata.h +3 -3
- data/src/core/{lib/transport → call}/interception_chain.cc +5 -5
- data/src/core/{lib/transport → call}/interception_chain.h +7 -7
- data/src/core/{lib/transport → call}/message.cc +1 -1
- data/src/core/{lib/transport → call}/message.h +7 -3
- data/src/core/{lib/transport → call}/metadata.cc +2 -2
- data/src/core/{lib/transport → call}/metadata.h +4 -4
- data/src/core/{lib/transport → call}/metadata_batch.cc +1 -1
- data/src/core/{lib/transport → call}/metadata_batch.h +7 -7
- data/src/core/{lib/transport → call}/metadata_compression_traits.h +3 -3
- data/src/core/{lib/transport → call}/metadata_info.cc +27 -9
- data/src/core/{lib/transport → call}/metadata_info.h +4 -4
- data/src/core/{lib/transport → call}/parsed_metadata.cc +1 -1
- data/src/core/{lib/transport → call}/parsed_metadata.h +3 -3
- data/src/core/call/request_buffer.h +3 -3
- data/src/core/call/security_context.cc +125 -0
- data/src/core/call/security_context.h +114 -0
- data/src/core/{lib/surface → call}/server_call.cc +3 -3
- data/src/core/{lib/surface → call}/server_call.h +5 -5
- data/src/core/{lib/transport → call}/simple_slice_based_metadata.h +4 -4
- data/src/core/{lib/channel → call}/status_util.cc +1 -1
- data/src/core/{lib/channel → call}/status_util.h +3 -3
- data/src/core/client_channel/client_channel.cc +24 -16
- data/src/core/client_channel/client_channel.h +4 -3
- data/src/core/client_channel/client_channel_filter.cc +10 -20
- data/src/core/client_channel/client_channel_filter.h +1 -1
- data/src/core/client_channel/client_channel_internal.h +1 -1
- data/src/core/client_channel/config_selector.h +2 -2
- data/src/core/client_channel/direct_channel.cc +2 -2
- data/src/core/client_channel/dynamic_filters.cc +0 -1
- data/src/core/client_channel/dynamic_filters.h +0 -1
- data/src/core/client_channel/lb_metadata.h +1 -1
- data/src/core/client_channel/load_balanced_call_destination.cc +1 -1
- data/src/core/client_channel/load_balanced_call_destination.h +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +43 -41
- data/src/core/client_channel/retry_filter_legacy_call_data.h +6 -6
- data/src/core/client_channel/retry_interceptor.h +1 -1
- data/src/core/client_channel/retry_service_config.cc +1 -1
- data/src/core/client_channel/retry_service_config.h +1 -1
- data/src/core/client_channel/retry_throttle.cc +30 -34
- data/src/core/client_channel/retry_throttle.h +10 -2
- data/src/core/client_channel/subchannel.cc +7 -8
- data/src/core/client_channel/subchannel.h +1 -2
- data/src/core/client_channel/subchannel_stream_client.cc +14 -11
- data/src/core/client_channel/subchannel_stream_client.h +2 -2
- data/src/core/config/core_configuration.h +2 -2
- data/src/core/credentials/call/call_credentials.h +157 -0
- data/src/core/{lib/security/credentials → credentials/call}/call_creds_util.cc +4 -4
- data/src/core/{lib/security/credentials → credentials/call}/call_creds_util.h +4 -4
- data/src/core/{lib/security/credentials/composite/composite_credentials.cc → credentials/call/composite/composite_call_credentials.cc} +4 -57
- data/src/core/credentials/call/composite/composite_call_credentials.h +82 -0
- data/src/core/{lib/security/credentials → credentials/call}/external/aws_external_account_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/call}/external/aws_external_account_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/call}/external/aws_request_signer.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/call}/external/aws_request_signer.h +3 -3
- data/src/core/{lib/security/credentials → credentials/call}/external/external_account_credentials.cc +6 -6
- data/src/core/{lib/security/credentials → credentials/call}/external/external_account_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/call}/external/file_external_account_credentials.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/call}/external/file_external_account_credentials.h +4 -4
- data/src/core/{lib/security/credentials → credentials/call}/external/url_external_account_credentials.cc +3 -2
- data/src/core/{lib/security/credentials → credentials/call}/external/url_external_account_credentials.h +4 -4
- data/src/core/{lib/security/credentials → credentials/call}/gcp_service_account_identity/gcp_service_account_identity_credentials.cc +3 -2
- data/src/core/{lib/security/credentials → credentials/call}/gcp_service_account_identity/gcp_service_account_identity_credentials.h +6 -6
- data/src/core/{lib/security/credentials → credentials/call}/iam/iam_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/call}/iam/iam_credentials.h +4 -4
- data/src/core/{lib/security/util → credentials/call}/json_util.cc +1 -1
- data/src/core/{lib/security/util → credentials/call}/json_util.h +3 -3
- data/src/core/{lib/security/credentials → credentials/call}/jwt/json_token.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/call}/jwt/json_token.h +3 -3
- data/src/core/{lib/security/credentials → credentials/call}/jwt/jwt_credentials.cc +3 -3
- data/src/core/{lib/security/credentials → credentials/call}/jwt/jwt_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/call}/jwt/jwt_verifier.cc +3 -2
- data/src/core/{lib/security/credentials → credentials/call}/jwt/jwt_verifier.h +3 -3
- data/src/core/{lib/security/credentials → credentials/call}/oauth2/oauth2_credentials.cc +4 -3
- data/src/core/{lib/security/credentials → credentials/call}/oauth2/oauth2_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/call}/plugin/plugin_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/call}/plugin/plugin_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/call}/token_fetcher/token_fetcher_credentials.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/call}/token_fetcher/token_fetcher_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/transport}/alts/alts_credentials.cc +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/alts/alts_credentials.h +5 -5
- data/src/core/{lib/security/security_connector → credentials/transport}/alts/alts_security_connector.cc +4 -4
- data/src/core/{lib/security/security_connector → credentials/transport}/alts/alts_security_connector.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/alts/check_gcp_environment.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/check_gcp_environment.h +3 -3
- data/src/core/{lib/security/credentials → credentials/transport}/alts/check_gcp_environment_linux.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/check_gcp_environment_no_op.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/check_gcp_environment_windows.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/grpc_alts_credentials_client_options.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/grpc_alts_credentials_options.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/alts/grpc_alts_credentials_options.h +3 -3
- data/src/core/{lib/security/credentials → credentials/transport}/alts/grpc_alts_credentials_server_options.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/channel_creds_registry.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/channel_creds_registry_init.cc +21 -17
- data/src/core/credentials/transport/composite/composite_channel_credentials.cc +68 -0
- data/src/core/{lib/security/credentials/composite/composite_credentials.h → credentials/transport/composite/composite_channel_credentials.h} +6 -51
- data/src/core/{lib/security/credentials → credentials/transport}/fake/fake_credentials.cc +4 -26
- data/src/core/{lib/security/credentials → credentials/transport}/fake/fake_credentials.h +5 -37
- data/src/core/{lib/security/security_connector → credentials/transport}/fake/fake_security_connector.cc +4 -4
- data/src/core/{lib/security/security_connector → credentials/transport}/fake/fake_security_connector.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/google_default/credentials_generic.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/google_default/google_default_credentials.cc +31 -19
- data/src/core/{lib/security/credentials → credentials/transport}/google_default/google_default_credentials.h +5 -5
- data/src/core/{lib/security/credentials → credentials/transport}/insecure/insecure_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/insecure/insecure_credentials.h +5 -5
- data/src/core/{lib/security/security_connector → credentials/transport}/insecure/insecure_security_connector.cc +2 -2
- data/src/core/{lib/security/security_connector → credentials/transport}/insecure/insecure_security_connector.h +5 -5
- data/src/core/{lib/security/credentials → credentials/transport}/local/local_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/local/local_credentials.h +5 -5
- data/src/core/{lib/security/security_connector → credentials/transport}/local/local_security_connector.cc +4 -4
- data/src/core/{lib/security/security_connector → credentials/transport}/local/local_security_connector.h +4 -4
- data/src/core/{lib/security/security_connector → credentials/transport}/security_connector.cc +2 -2
- data/src/core/{lib/security/security_connector → credentials/transport}/security_connector.h +3 -3
- data/src/core/{lib/security/credentials → credentials/transport}/ssl/ssl_credentials.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/ssl/ssl_credentials.h +6 -6
- data/src/core/{lib/security/security_connector → credentials/transport}/ssl/ssl_security_connector.cc +5 -5
- data/src/core/{lib/security/security_connector → credentials/transport}/ssl/ssl_security_connector.h +4 -4
- data/src/core/{lib/security/certificate_provider → credentials/transport/tls}/certificate_provider_factory.h +3 -3
- data/src/core/{lib/security/certificate_provider → credentials/transport/tls}/certificate_provider_registry.cc +1 -1
- data/src/core/{lib/security/certificate_provider → credentials/transport/tls}/certificate_provider_registry.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_distributor.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_distributor.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_match.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_provider.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_provider.h +5 -5
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_verifier.cc +2 -2
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_certificate_verifier.h +3 -3
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_credentials_options.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_credentials_options.h +7 -7
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_crl_provider.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/tls/grpc_tls_crl_provider.h +3 -3
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/load_system_roots.h +3 -3
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/load_system_roots_fallback.cc +1 -1
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/load_system_roots_supported.cc +2 -2
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/load_system_roots_supported.h +3 -3
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/load_system_roots_windows.cc +1 -1
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/ssl_utils.cc +3 -3
- data/src/core/{lib/security/security_connector → credentials/transport/tls}/ssl_utils.h +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/tls/tls_credentials.cc +4 -4
- data/src/core/{lib/security/credentials → credentials/transport}/tls/tls_credentials.h +5 -5
- data/src/core/{lib/security/security_connector → credentials/transport}/tls/tls_security_connector.cc +6 -6
- data/src/core/{lib/security/security_connector → credentials/transport}/tls/tls_security_connector.h +6 -6
- data/src/core/{lib/security/credentials → credentials/transport}/tls/tls_utils.cc +1 -1
- data/src/core/{lib/security/credentials → credentials/transport}/tls/tls_utils.h +3 -3
- data/src/core/{lib/security/credentials/credentials.cc → credentials/transport/transport_credentials.cc} +1 -3
- data/src/core/{lib/security/credentials/credentials.h → credentials/transport/transport_credentials.h} +5 -121
- data/src/core/{lib/security/credentials → credentials/transport}/xds/xds_credentials.cc +5 -5
- data/src/core/{lib/security/credentials → credentials/transport}/xds/xds_credentials.h +6 -6
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +1 -1
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +8 -5
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +2 -2
- data/src/core/ext/filters/fault_injection/fault_injection_service_config_parser.cc +1 -1
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.cc +2 -2
- data/src/core/ext/filters/gcp_authentication/gcp_authentication_filter.h +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.h +1 -1
- data/src/core/ext/filters/http/client_authority_filter.cc +2 -2
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +1 -1
- data/src/core/ext/filters/http/message_compress/compression_filter.h +1 -1
- data/src/core/ext/filters/http/server/http_server_filter.cc +1 -1
- data/src/core/ext/filters/message_size/message_size_filter.cc +1 -1
- data/src/core/ext/filters/rbac/rbac_filter.cc +2 -2
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +1 -1
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +3 -3
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +8 -5
- data/src/core/ext/transport/chttp2/server/chttp2_server.h +5 -1
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/call_tracer_wrapper.h +1 -3
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +58 -57
- data/src/core/ext/transport/chttp2/transport/context_list_entry.h +3 -3
- data/src/core/ext/transport/chttp2/transport/frame.cc +89 -68
- data/src/core/ext/transport/chttp2/transport/frame.h +37 -1
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +2 -0
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +6 -3
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -2
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_parse_result.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +1 -1
- data/src/core/ext/transport/chttp2/transport/hpack_parser_table.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_settings.cc +10 -8
- data/src/core/ext/transport/chttp2/transport/http2_settings.h +2 -2
- data/src/core/ext/transport/chttp2/transport/http2_status.h +52 -0
- data/src/core/ext/transport/chttp2/transport/internal.h +11 -14
- data/src/core/ext/transport/chttp2/transport/parsing.cc +36 -23
- data/src/core/ext/transport/chttp2/transport/writing.cc +15 -14
- data/src/core/ext/transport/inproc/inproc_transport.cc +1 -1
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +1 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +65 -65
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +28 -28
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +14 -14
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +133 -133
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +71 -71
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +26 -26
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +216 -218
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +66 -66
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +27 -27
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +326 -328
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +103 -103
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +58 -58
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +22 -24
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +29 -29
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +186 -192
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +54 -54
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +54 -54
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +21 -21
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +59 -61
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +15 -15
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +100 -100
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +34 -34
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +12 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +118 -118
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +39 -39
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +19 -19
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +27 -27
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +12 -14
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +41 -41
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +16 -16
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +24 -24
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +139 -139
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +46 -46
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +61 -61
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +33 -33
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +14 -14
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +12 -14
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +52 -54
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +620 -626
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +215 -215
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +13 -13
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +15 -15
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +16 -16
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +10 -10
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +306 -312
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +96 -96
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +61 -61
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb.h +19 -19
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.upb_minitable.c +6 -6
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +25 -25
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +34 -34
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +9 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +294 -294
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +105 -105
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +23 -23
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +8 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +84 -84
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +28 -28
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +87 -87
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +31 -31
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +24 -24
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +5 -5
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +130 -132
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +43 -43
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +60 -60
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +26 -26
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +85 -89
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +20 -20
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +80 -83
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +27 -27
- data/src/core/ext/upb-gen/google/api/http.upb.h +51 -51
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +22 -22
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +327 -301
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +97 -85
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +9 -11
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +9 -10
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +110 -113
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +25 -25
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +4 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +21 -22
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +70 -72
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +17 -17
- data/src/core/ext/upb-gen/validate/validate.upb.h +368 -368
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +117 -117
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb.h +9 -10
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +7 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +12 -12
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +2 -2
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +27 -30
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +7 -7
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +3 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +3 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +22 -24
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +3 -3
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +98 -87
- data/src/core/{lib/security/transport → filter/auth}/auth_filters.h +8 -7
- data/src/core/{lib/security/transport → filter/auth}/client_auth_filter.cc +7 -6
- data/src/core/{lib/security/transport → filter/auth}/server_auth_filter.cc +5 -4
- data/src/core/handshaker/handshaker.cc +0 -8
- data/src/core/handshaker/security/security_handshaker.cc +1 -1
- data/src/core/handshaker/security/security_handshaker.h +1 -1
- data/src/core/lib/channel/channel_args.h +49 -30
- data/src/core/lib/channel/channel_stack.h +1 -2
- data/src/core/lib/channel/channel_stack_builder_impl.cc +1 -1
- data/src/core/lib/channel/connected_channel.cc +2 -2
- data/src/core/lib/channel/promise_based_filter.h +3 -3
- data/src/core/lib/debug/trace_flags.cc +2 -4
- data/src/core/lib/debug/trace_flags.h +1 -2
- data/src/core/lib/event_engine/default_event_engine_factory.cc +6 -6
- data/src/core/lib/event_engine/default_event_engine_factory.h +1 -1
- data/src/core/lib/event_engine/extensions/iomgr_compatible.h +39 -0
- data/src/core/lib/event_engine/extensions/supports_win_sockets.h +48 -0
- data/src/core/lib/event_engine/extensions/tcp_trace.h +1 -1
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +0 -2
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +1 -3
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.cc +26 -0
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener_utils.h +4 -0
- data/src/core/lib/event_engine/posix_engine/set_socket_dualstack.cc +64 -0
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +0 -11
- data/src/core/lib/event_engine/posix_engine/wakeup_fd_pipe.cc +10 -2
- data/src/core/lib/event_engine/shim.cc +9 -16
- data/src/core/lib/event_engine/shim.h +11 -0
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +15 -7
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.h +2 -1
- data/src/core/lib/event_engine/windows/win_socket.cc +11 -0
- data/src/core/lib/event_engine/windows/win_socket.h +3 -0
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +5 -10
- data/src/core/lib/event_engine/windows/windows_engine.cc +42 -0
- data/src/core/lib/event_engine/windows/windows_engine.h +8 -2
- data/src/core/lib/event_engine/windows/windows_listener.cc +5 -6
- data/src/core/lib/event_engine/windows/windows_listener.h +9 -4
- data/src/core/lib/experiments/experiments.cc +174 -21
- data/src/core/lib/experiments/experiments.h +70 -13
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +43 -16
- data/src/core/lib/iomgr/endpoint_pair_windows.cc +43 -8
- data/src/core/lib/iomgr/error.cc +27 -43
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +13 -1
- data/src/core/lib/iomgr/ev_poll_posix.cc +13 -0
- data/src/core/lib/iomgr/polling_entity.cc +2 -7
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +1 -0
- data/src/core/lib/iomgr/socket_utils_posix.cc +22 -11
- data/src/core/lib/iomgr/socket_utils_posix.h +12 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +8 -9
- data/src/core/lib/iomgr/tcp_client_posix.cc +11 -15
- data/src/core/lib/iomgr/tcp_client_posix.h +1 -1
- data/src/core/lib/iomgr/tcp_posix.cc +58 -31
- data/src/core/lib/iomgr/tcp_posix.h +10 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +9 -1
- data/src/core/lib/iomgr/tcp_server_utils_posix_common.cc +1 -4
- data/src/core/lib/iomgr/tcp_server_windows.cc +27 -16
- data/src/core/lib/iomgr/wakeup_fd_pipe.cc +10 -2
- data/src/core/lib/promise/all_ok.h +31 -0
- data/src/core/lib/promise/loop.h +8 -5
- data/src/core/lib/promise/map.h +65 -2
- data/src/core/lib/promise/party.h +5 -1
- data/src/core/lib/promise/poll.h +22 -20
- data/src/core/lib/promise/promise.h +2 -2
- data/src/core/lib/promise/status_flag.h +23 -11
- data/src/core/lib/security/authorization/evaluate_args.cc +1 -1
- data/src/core/lib/security/authorization/evaluate_args.h +1 -1
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +1 -1
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +1 -1
- data/src/core/lib/slice/slice.h +6 -0
- data/src/core/lib/surface/call.cc +20 -18
- data/src/core/lib/surface/call_utils.cc +3 -3
- data/src/core/lib/surface/call_utils.h +3 -3
- data/src/core/lib/surface/channel.h +2 -2
- data/src/core/lib/surface/channel_init.h +2 -2
- data/src/core/lib/surface/completion_queue.cc +77 -17
- data/src/core/lib/surface/filter_stack_call.cc +40 -27
- data/src/core/lib/surface/filter_stack_call.h +1 -1
- data/src/core/lib/surface/init.cc +2 -3
- data/src/core/lib/surface/lame_client.cc +1 -1
- data/src/core/lib/surface/legacy_channel.cc +27 -23
- data/src/core/lib/surface/legacy_channel.h +1 -1
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/error_utils.cc +65 -11
- data/src/core/lib/transport/error_utils.h +2 -2
- data/src/core/lib/transport/status_conversion.cc +16 -14
- data/src/core/lib/transport/status_conversion.h +5 -4
- data/src/core/lib/transport/transport.h +5 -5
- data/src/core/lib/transport/transport_op_string.cc +1 -1
- data/src/core/load_balancing/delegating_helper.h +1 -1
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +1 -1
- data/src/core/load_balancing/grpclb/grpclb.cc +1 -2
- data/src/core/load_balancing/pick_first/pick_first.cc +0 -955
- data/src/core/load_balancing/rls/rls.cc +31 -37
- data/src/core/load_balancing/weighted_target/weighted_target.cc +1 -1
- data/src/core/load_balancing/xds/cds.cc +3 -10
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +1 -1
- data/src/core/plugin_registry/grpc_plugin_registry.cc +2 -0
- data/src/core/plugin_registry/grpc_plugin_registry_extra.cc +0 -2
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +1 -3
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +4 -0
- data/src/core/resolver/google_c2p/google_c2p_resolver.cc +1 -1
- data/src/core/resolver/xds/xds_dependency_manager.cc +8 -3
- data/src/core/resolver/xds/xds_resolver.cc +2 -2
- data/src/core/server/server.cc +7 -4
- data/src/core/server/server.h +1 -1
- data/src/core/server/server_call_tracer_filter.cc +1 -1
- data/src/core/server/server_config_selector.h +1 -1
- data/src/core/server/server_config_selector_filter.cc +1 -1
- data/src/core/server/xds_server_config_fetcher.cc +5 -5
- data/src/core/service_config/service_config_channel_arg_filter.cc +1 -1
- data/src/core/telemetry/call_tracer.cc +2 -4
- data/src/core/telemetry/call_tracer.h +3 -3
- data/src/core/telemetry/metrics.cc +30 -12
- data/src/core/telemetry/metrics.h +15 -3
- data/src/core/telemetry/stats_data.cc +75 -2
- data/src/core/telemetry/stats_data.h +46 -4
- data/src/core/telemetry/tcp_tracer.h +90 -84
- data/src/core/{lib/security/context/security_context.cc → transport/auth_context.cc} +1 -96
- data/src/core/{lib/security/context/security_context.h → transport/auth_context.h} +6 -76
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +1 -1
- data/src/core/tsi/ssl_transport_security.cc +1 -1
- data/src/core/util/check_class_size.h +48 -0
- data/src/core/util/gcp_metadata_query.cc +1 -1
- data/src/core/util/http_client/httpcli.cc +3 -3
- data/src/core/util/http_client/httpcli_security_connector.cc +3 -3
- data/src/core/util/load_file.cc +26 -14
- data/src/core/util/status_helper.cc +86 -63
- data/src/core/util/status_helper.h +9 -26
- data/src/core/xds/grpc/certificate_provider_store.cc +1 -1
- data/src/core/xds/grpc/certificate_provider_store.h +3 -3
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.cc +3 -3
- data/src/core/xds/grpc/file_watcher_certificate_provider_factory.h +1 -1
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +10 -7
- data/src/core/xds/grpc/xds_certificate_provider.cc +1 -1
- data/src/core/xds/grpc/xds_certificate_provider.h +2 -2
- data/src/core/xds/grpc/xds_client_grpc.cc +7 -6
- data/src/core/xds/grpc/xds_client_grpc.h +4 -2
- data/src/core/xds/grpc/xds_cluster.h +3 -3
- data/src/core/xds/grpc/xds_cluster_parser.cc +3 -2
- data/src/core/xds/grpc/xds_http_fault_filter.cc +1 -1
- data/src/core/xds/grpc/xds_http_filter.h +1 -1
- data/src/core/xds/grpc/xds_http_filter_registry.h +1 -1
- data/src/core/xds/grpc/xds_route_config.h +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.cc +1 -1
- data/src/core/xds/grpc/xds_route_config_parser.h +1 -1
- data/src/core/xds/grpc/xds_routing.h +1 -1
- data/src/core/xds/grpc/xds_server_grpc.cc +60 -48
- data/src/core/xds/grpc/xds_server_grpc.h +23 -13
- data/src/core/xds/grpc/xds_server_grpc_interface.h +2 -2
- data/src/core/xds/grpc/xds_transport_grpc.cc +5 -5
- data/src/core/xds/grpc/xds_transport_grpc.h +5 -3
- data/src/core/xds/xds_client/lrs_client.cc +6 -5
- data/src/core/xds/xds_client/lrs_client.h +7 -7
- data/src/core/xds/xds_client/xds_bootstrap.h +16 -1
- data/src/core/xds/xds_client/xds_client.cc +25 -23
- data/src/core/xds/xds_client/xds_client.h +3 -1
- data/src/core/xds/xds_client/xds_resource_type.h +1 -2
- data/src/core/xds/xds_client/xds_transport.h +1 -1
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_apple.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_fuchsia.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_linux.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_openbsd.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_sysreg.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_aarch64_win.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_freebsd.cc +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/cpu_arm_linux.cc +0 -1
- data/third_party/boringssl-with-bazel/src/crypto/crypto.cc +0 -2
- data/third_party/boringssl-with-bazel/src/crypto/internal.h +20 -3
- data/third_party/boringssl-with-bazel/src/include/openssl/arm_arch.h +3 -25
- data/third_party/boringssl-with-bazel/src/ssl/extensions.cc +3 -7
- data/third_party/boringssl-with-bazel/src/ssl/handshake_client.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/handshake_server.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/internal.h +13 -6
- data/third_party/boringssl-with-bazel/src/ssl/ssl_credential.cc +2 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_client.cc +1 -1
- data/third_party/boringssl-with-bazel/src/ssl/tls13_server.cc +1 -1
- data/third_party/upb/upb/base/internal/log2.h +3 -1
- data/third_party/upb/upb/base/string_view.h +10 -0
- data/third_party/upb/upb/hash/common.c +5 -1
- data/third_party/upb/upb/json/decode.c +2 -2
- data/third_party/upb/upb/json/decode.h +0 -1
- data/third_party/upb/upb/mem/alloc.h +5 -0
- data/third_party/upb/upb/mem/arena.c +296 -142
- data/third_party/upb/upb/mem/arena.h +47 -11
- data/third_party/upb/upb/mem/arena.hpp +4 -20
- data/third_party/upb/upb/mem/internal/arena.h +4 -6
- data/third_party/upb/upb/message/accessors.h +41 -0
- data/third_party/upb/upb/message/compat.c +11 -14
- data/third_party/upb/upb/message/compat.h +4 -3
- data/third_party/upb/upb/message/copy.c +35 -30
- data/third_party/upb/upb/message/internal/accessors.h +139 -10
- data/third_party/upb/upb/message/internal/extension.c +28 -25
- data/third_party/upb/upb/message/internal/extension.h +21 -5
- data/third_party/upb/upb/message/internal/iterator.c +58 -0
- data/third_party/upb/upb/message/internal/iterator.h +29 -0
- data/third_party/upb/upb/message/internal/map.h +2 -3
- data/third_party/upb/upb/message/internal/map_sorter.h +3 -2
- data/third_party/upb/upb/message/internal/message.c +48 -29
- data/third_party/upb/upb/message/internal/message.h +154 -24
- data/third_party/upb/upb/message/map_sorter.c +20 -8
- data/third_party/upb/upb/message/message.c +90 -38
- data/third_party/upb/upb/message/message.h +58 -2
- data/third_party/upb/upb/message/value.h +9 -0
- data/third_party/upb/upb/mini_descriptor/build_enum.c +1 -1
- data/third_party/upb/upb/mini_descriptor/decode.c +97 -136
- data/third_party/upb/upb/mini_descriptor/decode.h +4 -3
- data/third_party/upb/upb/mini_descriptor/internal/encode.hpp +1 -1
- data/third_party/upb/upb/mini_table/extension_registry.c +24 -12
- data/third_party/upb/upb/mini_table/extension_registry.h +13 -6
- data/third_party/upb/upb/mini_table/message.c +21 -13
- data/third_party/upb/upb/port/atomic.h +134 -7
- data/third_party/upb/upb/port/def.inc +140 -38
- data/third_party/upb/upb/port/undef.inc +11 -1
- data/third_party/upb/upb/reflection/def.hpp +5 -1
- data/third_party/upb/upb/reflection/def_pool.c +10 -3
- data/third_party/upb/upb/reflection/descriptor_bootstrap.h +1 -1
- data/third_party/upb/upb/reflection/file_def.c +12 -5
- data/third_party/upb/upb/reflection/internal/def_builder.c +1 -1
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +19 -16
- data/third_party/upb/upb/reflection/message.h +3 -1
- data/third_party/upb/upb/text/encode.c +1 -13
- data/third_party/upb/upb/text/internal/encode.c +25 -6
- data/third_party/upb/upb/text/internal/encode.h +4 -0
- data/third_party/upb/upb/wire/decode.c +60 -45
- data/third_party/upb/upb/wire/decode.h +4 -2
- data/third_party/upb/upb/wire/encode.c +77 -42
- data/third_party/upb/upb/wire/encode.h +2 -0
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +18 -20
- data/third_party/upb/upb/wire/internal/decoder.h +4 -11
- data/third_party/utf8_range/utf8_range.c +15 -275
- data/third_party/utf8_range/utf8_range_neon.inc +117 -0
- data/third_party/utf8_range/utf8_range_sse.inc +272 -0
- data/third_party/zlib/deflate.c +40 -15
- data/third_party/zlib/deflate.h +33 -2
- data/third_party/zlib/gzguts.h +2 -6
- data/third_party/zlib/inflate.c +1 -1
- data/third_party/zlib/inftrees.c +3 -3
- data/third_party/zlib/inftrees.h +2 -2
- data/third_party/zlib/trees.c +18 -4
- data/third_party/zlib/zconf.h +1 -9
- data/third_party/zlib/zlib.h +12 -12
- data/third_party/zlib/zutil.h +4 -25
- metadata +155 -145
- data/include/grpc/grpc_cronet.h +0 -37
- data/src/core/lib/transport/http2_errors.h +0 -43
- data/third_party/upb/upb/message/internal/compare_unknown.c +0 -289
- data/third_party/upb/upb/message/internal/compare_unknown.h +0 -49
@@ -75,6 +75,12 @@ typedef enum {
|
|
75
75
|
google_protobuf_ExtensionRangeOptions_UNVERIFIED = 1
|
76
76
|
} google_protobuf_ExtensionRangeOptions_VerificationState;
|
77
77
|
|
78
|
+
typedef enum {
|
79
|
+
google_protobuf_FeatureSet_ENFORCE_NAMING_STYLE_UNKNOWN = 0,
|
80
|
+
google_protobuf_FeatureSet_STYLE2024 = 1,
|
81
|
+
google_protobuf_FeatureSet_STYLE_LEGACY = 2
|
82
|
+
} google_protobuf_FeatureSet_EnforceNamingStyle;
|
83
|
+
|
78
84
|
typedef enum {
|
79
85
|
google_protobuf_FeatureSet_ENUM_TYPE_UNKNOWN = 0,
|
80
86
|
google_protobuf_FeatureSet_OPEN = 1,
|
@@ -364,11 +370,11 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_has_package(const google_pro
|
|
364
370
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
365
371
|
}
|
366
372
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_dependency(google_protobuf_FileDescriptorProto* msg) {
|
367
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12,
|
373
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
368
374
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
369
375
|
}
|
370
376
|
UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
371
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12,
|
377
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
372
378
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
373
379
|
if (arr) {
|
374
380
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -379,7 +385,7 @@ UPB_INLINE upb_StringView const* google_protobuf_FileDescriptorProto_dependency(
|
|
379
385
|
}
|
380
386
|
}
|
381
387
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
382
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12,
|
388
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
383
389
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
384
390
|
if (size) {
|
385
391
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -387,7 +393,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_dependency_upb_
|
|
387
393
|
return arr;
|
388
394
|
}
|
389
395
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_dependency_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
390
|
-
const upb_MiniTableField field = {3, UPB_SIZE(12,
|
396
|
+
const upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
391
397
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
392
398
|
&field, arena);
|
393
399
|
if (size) {
|
@@ -396,11 +402,11 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_dependency_mutable_up
|
|
396
402
|
return arr;
|
397
403
|
}
|
398
404
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_message_type(google_protobuf_FileDescriptorProto* msg) {
|
399
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16,
|
405
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
400
406
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
401
407
|
}
|
402
408
|
UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDescriptorProto_message_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
403
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16,
|
409
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
404
410
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__DescriptorProto_msg_init);
|
405
411
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
406
412
|
if (arr) {
|
@@ -412,7 +418,7 @@ UPB_INLINE const google_protobuf_DescriptorProto* const* google_protobuf_FileDes
|
|
412
418
|
}
|
413
419
|
}
|
414
420
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_message_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
415
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16,
|
421
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
416
422
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__DescriptorProto_msg_init);
|
417
423
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
418
424
|
if (size) {
|
@@ -421,7 +427,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_message_type_up
|
|
421
427
|
return arr;
|
422
428
|
}
|
423
429
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_message_type_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
424
|
-
const upb_MiniTableField field = {4, UPB_SIZE(16,
|
430
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
425
431
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__DescriptorProto_msg_init);
|
426
432
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
427
433
|
&field, arena);
|
@@ -431,11 +437,11 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_message_type_mutable_
|
|
431
437
|
return arr;
|
432
438
|
}
|
433
439
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_enum_type(google_protobuf_FileDescriptorProto* msg) {
|
434
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20,
|
440
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
435
441
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
436
442
|
}
|
437
443
|
UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_FileDescriptorProto_enum_type(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
438
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20,
|
444
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
439
445
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__EnumDescriptorProto_msg_init);
|
440
446
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
441
447
|
if (arr) {
|
@@ -447,7 +453,7 @@ UPB_INLINE const google_protobuf_EnumDescriptorProto* const* google_protobuf_Fil
|
|
447
453
|
}
|
448
454
|
}
|
449
455
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_enum_type_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
450
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20,
|
456
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
451
457
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__EnumDescriptorProto_msg_init);
|
452
458
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
453
459
|
if (size) {
|
@@ -456,7 +462,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_enum_type_upb_a
|
|
456
462
|
return arr;
|
457
463
|
}
|
458
464
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_enum_type_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
459
|
-
const upb_MiniTableField field = {5, UPB_SIZE(20,
|
465
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
460
466
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__EnumDescriptorProto_msg_init);
|
461
467
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
462
468
|
&field, arena);
|
@@ -466,11 +472,11 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_enum_type_mutable_upb
|
|
466
472
|
return arr;
|
467
473
|
}
|
468
474
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_service(google_protobuf_FileDescriptorProto* msg) {
|
469
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24,
|
475
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
470
476
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
471
477
|
}
|
472
478
|
UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_FileDescriptorProto_service(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
473
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24,
|
479
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
474
480
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__ServiceDescriptorProto_msg_init);
|
475
481
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
476
482
|
if (arr) {
|
@@ -482,7 +488,7 @@ UPB_INLINE const google_protobuf_ServiceDescriptorProto* const* google_protobuf_
|
|
482
488
|
}
|
483
489
|
}
|
484
490
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_service_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
485
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24,
|
491
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
486
492
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__ServiceDescriptorProto_msg_init);
|
487
493
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
488
494
|
if (size) {
|
@@ -491,7 +497,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_service_upb_arr
|
|
491
497
|
return arr;
|
492
498
|
}
|
493
499
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_service_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
494
|
-
const upb_MiniTableField field = {6, UPB_SIZE(24,
|
500
|
+
const upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
495
501
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__ServiceDescriptorProto_msg_init);
|
496
502
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
497
503
|
&field, arena);
|
@@ -501,11 +507,11 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_service_mutable_upb_a
|
|
501
507
|
return arr;
|
502
508
|
}
|
503
509
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_extension(google_protobuf_FileDescriptorProto* msg) {
|
504
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28,
|
510
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
505
511
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
506
512
|
}
|
507
513
|
UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_FileDescriptorProto_extension(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
508
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28,
|
514
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
509
515
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldDescriptorProto_msg_init);
|
510
516
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
511
517
|
if (arr) {
|
@@ -517,7 +523,7 @@ UPB_INLINE const google_protobuf_FieldDescriptorProto* const* google_protobuf_Fi
|
|
517
523
|
}
|
518
524
|
}
|
519
525
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_extension_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
520
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28,
|
526
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
521
527
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldDescriptorProto_msg_init);
|
522
528
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
523
529
|
if (size) {
|
@@ -526,7 +532,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_extension_upb_a
|
|
526
532
|
return arr;
|
527
533
|
}
|
528
534
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_extension_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
529
|
-
const upb_MiniTableField field = {7, UPB_SIZE(28,
|
535
|
+
const upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
530
536
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldDescriptorProto_msg_init);
|
531
537
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
532
538
|
&field, arena);
|
@@ -536,45 +542,45 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_extension_mutable_upb
|
|
536
542
|
return arr;
|
537
543
|
}
|
538
544
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_options(google_protobuf_FileDescriptorProto* msg) {
|
539
|
-
const upb_MiniTableField field = {8, UPB_SIZE(32,
|
545
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 104), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
540
546
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
541
547
|
}
|
542
548
|
UPB_INLINE const google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_options(const google_protobuf_FileDescriptorProto* msg) {
|
543
549
|
const google_protobuf_FileOptions* default_val = NULL;
|
544
550
|
const google_protobuf_FileOptions* ret;
|
545
|
-
const upb_MiniTableField field = {8, UPB_SIZE(32,
|
551
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 104), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
546
552
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileOptions_msg_init);
|
547
553
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
548
554
|
&default_val, &ret);
|
549
555
|
return ret;
|
550
556
|
}
|
551
557
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_options(const google_protobuf_FileDescriptorProto* msg) {
|
552
|
-
const upb_MiniTableField field = {8, UPB_SIZE(32,
|
558
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 104), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
553
559
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
554
560
|
}
|
555
561
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_source_code_info(google_protobuf_FileDescriptorProto* msg) {
|
556
|
-
const upb_MiniTableField field = {9, UPB_SIZE(36,
|
562
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 112), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
557
563
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
558
564
|
}
|
559
565
|
UPB_INLINE const google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_source_code_info(const google_protobuf_FileDescriptorProto* msg) {
|
560
566
|
const google_protobuf_SourceCodeInfo* default_val = NULL;
|
561
567
|
const google_protobuf_SourceCodeInfo* ret;
|
562
|
-
const upb_MiniTableField field = {9, UPB_SIZE(36,
|
568
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 112), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
563
569
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__SourceCodeInfo_msg_init);
|
564
570
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
565
571
|
&default_val, &ret);
|
566
572
|
return ret;
|
567
573
|
}
|
568
574
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_source_code_info(const google_protobuf_FileDescriptorProto* msg) {
|
569
|
-
const upb_MiniTableField field = {9, UPB_SIZE(36,
|
575
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 112), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
570
576
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
571
577
|
}
|
572
578
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_public_dependency(google_protobuf_FileDescriptorProto* msg) {
|
573
|
-
const upb_MiniTableField field = {10, UPB_SIZE(40,
|
579
|
+
const upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
574
580
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
575
581
|
}
|
576
582
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
577
|
-
const upb_MiniTableField field = {10, UPB_SIZE(40,
|
583
|
+
const upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
578
584
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
579
585
|
if (arr) {
|
580
586
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -585,7 +591,7 @@ UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_public_dependency(
|
|
585
591
|
}
|
586
592
|
}
|
587
593
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
588
|
-
const upb_MiniTableField field = {10, UPB_SIZE(40,
|
594
|
+
const upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
589
595
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
590
596
|
if (size) {
|
591
597
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -593,7 +599,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_public_dependen
|
|
593
599
|
return arr;
|
594
600
|
}
|
595
601
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
596
|
-
const upb_MiniTableField field = {10, UPB_SIZE(40,
|
602
|
+
const upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
597
603
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
598
604
|
&field, arena);
|
599
605
|
if (size) {
|
@@ -602,11 +608,11 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_public_dependency_mut
|
|
602
608
|
return arr;
|
603
609
|
}
|
604
610
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_weak_dependency(google_protobuf_FileDescriptorProto* msg) {
|
605
|
-
const upb_MiniTableField field = {11, UPB_SIZE(44,
|
611
|
+
const upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
606
612
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
607
613
|
}
|
608
614
|
UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
609
|
-
const upb_MiniTableField field = {11, UPB_SIZE(44,
|
615
|
+
const upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
610
616
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
611
617
|
if (arr) {
|
612
618
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -617,7 +623,7 @@ UPB_INLINE int32_t const* google_protobuf_FileDescriptorProto_weak_dependency(co
|
|
617
623
|
}
|
618
624
|
}
|
619
625
|
UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_upb_array(const google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
620
|
-
const upb_MiniTableField field = {11, UPB_SIZE(44,
|
626
|
+
const upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
621
627
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
622
628
|
if (size) {
|
623
629
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -625,7 +631,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency
|
|
625
631
|
return arr;
|
626
632
|
}
|
627
633
|
UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_mutable_upb_array(google_protobuf_FileDescriptorProto* msg, size_t* size, upb_Arena* arena) {
|
628
|
-
const upb_MiniTableField field = {11, UPB_SIZE(44,
|
634
|
+
const upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
629
635
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
630
636
|
&field, arena);
|
631
637
|
if (size) {
|
@@ -634,19 +640,19 @@ UPB_INLINE upb_Array* _google_protobuf_FileDescriptorProto_weak_dependency_mutab
|
|
634
640
|
return arr;
|
635
641
|
}
|
636
642
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_syntax(google_protobuf_FileDescriptorProto* msg) {
|
637
|
-
const upb_MiniTableField field = {12, UPB_SIZE(68,
|
643
|
+
const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
638
644
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
639
645
|
}
|
640
646
|
UPB_INLINE upb_StringView google_protobuf_FileDescriptorProto_syntax(const google_protobuf_FileDescriptorProto* msg) {
|
641
647
|
upb_StringView default_val = upb_StringView_FromString("");
|
642
648
|
upb_StringView ret;
|
643
|
-
const upb_MiniTableField field = {12, UPB_SIZE(68,
|
649
|
+
const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
644
650
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
645
651
|
&default_val, &ret);
|
646
652
|
return ret;
|
647
653
|
}
|
648
654
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_has_syntax(const google_protobuf_FileDescriptorProto* msg) {
|
649
|
-
const upb_MiniTableField field = {12, UPB_SIZE(68,
|
655
|
+
const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
650
656
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
651
657
|
}
|
652
658
|
UPB_INLINE void google_protobuf_FileDescriptorProto_clear_edition(google_protobuf_FileDescriptorProto* msg) {
|
@@ -675,7 +681,7 @@ UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_
|
|
675
681
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
676
682
|
}
|
677
683
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
678
|
-
upb_MiniTableField field = {3, UPB_SIZE(12,
|
684
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
679
685
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
680
686
|
if (arr) {
|
681
687
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -686,12 +692,12 @@ UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependenc
|
|
686
692
|
}
|
687
693
|
}
|
688
694
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_resize_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
689
|
-
upb_MiniTableField field = {3, UPB_SIZE(12,
|
695
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
690
696
|
return (upb_StringView*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
691
697
|
&field, size, arena);
|
692
698
|
}
|
693
699
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protobuf_FileDescriptorProto* msg, upb_StringView val, upb_Arena* arena) {
|
694
|
-
upb_MiniTableField field = {3, UPB_SIZE(12,
|
700
|
+
upb_MiniTableField field = {3, UPB_SIZE(12, 64), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
695
701
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
696
702
|
UPB_UPCAST(msg), &field, arena);
|
697
703
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -703,7 +709,7 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_dependency(google_protob
|
|
703
709
|
return true;
|
704
710
|
}
|
705
711
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_mutable_message_type(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
706
|
-
upb_MiniTableField field = {4, UPB_SIZE(16,
|
712
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
707
713
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__DescriptorProto_msg_init);
|
708
714
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
709
715
|
if (arr) {
|
@@ -715,12 +721,12 @@ UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto
|
|
715
721
|
}
|
716
722
|
}
|
717
723
|
UPB_INLINE google_protobuf_DescriptorProto** google_protobuf_FileDescriptorProto_resize_message_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
718
|
-
upb_MiniTableField field = {4, UPB_SIZE(16,
|
724
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
719
725
|
return (google_protobuf_DescriptorProto**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
720
726
|
&field, size, arena);
|
721
727
|
}
|
722
728
|
UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescriptorProto_add_message_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
723
|
-
upb_MiniTableField field = {4, UPB_SIZE(16,
|
729
|
+
upb_MiniTableField field = {4, UPB_SIZE(16, 72), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
724
730
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__DescriptorProto_msg_init);
|
725
731
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
726
732
|
UPB_UPCAST(msg), &field, arena);
|
@@ -735,7 +741,7 @@ UPB_INLINE struct google_protobuf_DescriptorProto* google_protobuf_FileDescripto
|
|
735
741
|
return sub;
|
736
742
|
}
|
737
743
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_mutable_enum_type(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
738
|
-
upb_MiniTableField field = {5, UPB_SIZE(20,
|
744
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
739
745
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__EnumDescriptorProto_msg_init);
|
740
746
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
741
747
|
if (arr) {
|
@@ -747,12 +753,12 @@ UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorP
|
|
747
753
|
}
|
748
754
|
}
|
749
755
|
UPB_INLINE google_protobuf_EnumDescriptorProto** google_protobuf_FileDescriptorProto_resize_enum_type(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
750
|
-
upb_MiniTableField field = {5, UPB_SIZE(20,
|
756
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
751
757
|
return (google_protobuf_EnumDescriptorProto**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
752
758
|
&field, size, arena);
|
753
759
|
}
|
754
760
|
UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescriptorProto_add_enum_type(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
755
|
-
upb_MiniTableField field = {5, UPB_SIZE(20,
|
761
|
+
upb_MiniTableField field = {5, UPB_SIZE(20, 80), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
756
762
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__EnumDescriptorProto_msg_init);
|
757
763
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
758
764
|
UPB_UPCAST(msg), &field, arena);
|
@@ -767,7 +773,7 @@ UPB_INLINE struct google_protobuf_EnumDescriptorProto* google_protobuf_FileDescr
|
|
767
773
|
return sub;
|
768
774
|
}
|
769
775
|
UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_mutable_service(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
770
|
-
upb_MiniTableField field = {6, UPB_SIZE(24,
|
776
|
+
upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
771
777
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__ServiceDescriptorProto_msg_init);
|
772
778
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
773
779
|
if (arr) {
|
@@ -779,12 +785,12 @@ UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescript
|
|
779
785
|
}
|
780
786
|
}
|
781
787
|
UPB_INLINE google_protobuf_ServiceDescriptorProto** google_protobuf_FileDescriptorProto_resize_service(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
782
|
-
upb_MiniTableField field = {6, UPB_SIZE(24,
|
788
|
+
upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
783
789
|
return (google_protobuf_ServiceDescriptorProto**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
784
790
|
&field, size, arena);
|
785
791
|
}
|
786
792
|
UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDescriptorProto_add_service(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
787
|
-
upb_MiniTableField field = {6, UPB_SIZE(24,
|
793
|
+
upb_MiniTableField field = {6, UPB_SIZE(24, 88), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
788
794
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__ServiceDescriptorProto_msg_init);
|
789
795
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
790
796
|
UPB_UPCAST(msg), &field, arena);
|
@@ -799,7 +805,7 @@ UPB_INLINE struct google_protobuf_ServiceDescriptorProto* google_protobuf_FileDe
|
|
799
805
|
return sub;
|
800
806
|
}
|
801
807
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_mutable_extension(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
802
|
-
upb_MiniTableField field = {7, UPB_SIZE(28,
|
808
|
+
upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
803
809
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldDescriptorProto_msg_init);
|
804
810
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
805
811
|
if (arr) {
|
@@ -811,12 +817,12 @@ UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptor
|
|
811
817
|
}
|
812
818
|
}
|
813
819
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_FileDescriptorProto_resize_extension(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
814
|
-
upb_MiniTableField field = {7, UPB_SIZE(28,
|
820
|
+
upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
815
821
|
return (google_protobuf_FieldDescriptorProto**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
816
822
|
&field, size, arena);
|
817
823
|
}
|
818
824
|
UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDescriptorProto_add_extension(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
819
|
-
upb_MiniTableField field = {7, UPB_SIZE(28,
|
825
|
+
upb_MiniTableField field = {7, UPB_SIZE(28, 96), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
820
826
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldDescriptorProto_msg_init);
|
821
827
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
822
828
|
UPB_UPCAST(msg), &field, arena);
|
@@ -831,7 +837,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDesc
|
|
831
837
|
return sub;
|
832
838
|
}
|
833
839
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) {
|
834
|
-
const upb_MiniTableField field = {8, UPB_SIZE(32,
|
840
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 104), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
835
841
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FileOptions_msg_init);
|
836
842
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
837
843
|
}
|
@@ -844,7 +850,7 @@ UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorPro
|
|
844
850
|
return sub;
|
845
851
|
}
|
846
852
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) {
|
847
|
-
const upb_MiniTableField field = {9, UPB_SIZE(36,
|
853
|
+
const upb_MiniTableField field = {9, UPB_SIZE(36, 112), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
848
854
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__SourceCodeInfo_msg_init);
|
849
855
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
850
856
|
}
|
@@ -857,7 +863,7 @@ UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptor
|
|
857
863
|
return sub;
|
858
864
|
}
|
859
865
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
860
|
-
upb_MiniTableField field = {10, UPB_SIZE(40,
|
866
|
+
upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
861
867
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
862
868
|
if (arr) {
|
863
869
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -868,12 +874,12 @@ UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_public_dependenc
|
|
868
874
|
}
|
869
875
|
}
|
870
876
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_public_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
871
|
-
upb_MiniTableField field = {10, UPB_SIZE(40,
|
877
|
+
upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
872
878
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
873
879
|
&field, size, arena);
|
874
880
|
}
|
875
881
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) {
|
876
|
-
upb_MiniTableField field = {10, UPB_SIZE(40,
|
882
|
+
upb_MiniTableField field = {10, UPB_SIZE(40, 120), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
877
883
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
878
884
|
UPB_UPCAST(msg), &field, arena);
|
879
885
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -885,7 +891,7 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_public_dependency(google
|
|
885
891
|
return true;
|
886
892
|
}
|
887
893
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
888
|
-
upb_MiniTableField field = {11, UPB_SIZE(44,
|
894
|
+
upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
889
895
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
890
896
|
if (arr) {
|
891
897
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -896,12 +902,12 @@ UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_mutable_weak_dependency(
|
|
896
902
|
}
|
897
903
|
}
|
898
904
|
UPB_INLINE int32_t* google_protobuf_FileDescriptorProto_resize_weak_dependency(google_protobuf_FileDescriptorProto* msg, size_t size, upb_Arena* arena) {
|
899
|
-
upb_MiniTableField field = {11, UPB_SIZE(44,
|
905
|
+
upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
900
906
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
901
907
|
&field, size, arena);
|
902
908
|
}
|
903
909
|
UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_protobuf_FileDescriptorProto* msg, int32_t val, upb_Arena* arena) {
|
904
|
-
upb_MiniTableField field = {11, UPB_SIZE(44,
|
910
|
+
upb_MiniTableField field = {11, UPB_SIZE(44, 128), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
905
911
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
906
912
|
UPB_UPCAST(msg), &field, arena);
|
907
913
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -913,7 +919,7 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_p
|
|
913
919
|
return true;
|
914
920
|
}
|
915
921
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
|
916
|
-
const upb_MiniTableField field = {12, UPB_SIZE(68,
|
922
|
+
const upb_MiniTableField field = {12, UPB_SIZE(68, 48), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
917
923
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
918
924
|
}
|
919
925
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, int32_t value) {
|
@@ -1999,67 +2005,67 @@ UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_number(con
|
|
1999
2005
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2000
2006
|
}
|
2001
2007
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_full_name(google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2002
|
-
const upb_MiniTableField field = {2,
|
2008
|
+
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2003
2009
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2004
2010
|
}
|
2005
2011
|
UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2006
2012
|
upb_StringView default_val = upb_StringView_FromString("");
|
2007
2013
|
upb_StringView ret;
|
2008
|
-
const upb_MiniTableField field = {2,
|
2014
|
+
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2009
2015
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2010
2016
|
&default_val, &ret);
|
2011
2017
|
return ret;
|
2012
2018
|
}
|
2013
2019
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_full_name(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2014
|
-
const upb_MiniTableField field = {2,
|
2020
|
+
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2015
2021
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2016
2022
|
}
|
2017
2023
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_type(google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2018
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2024
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2019
2025
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2020
2026
|
}
|
2021
2027
|
UPB_INLINE upb_StringView google_protobuf_ExtensionRangeOptions_Declaration_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2022
2028
|
upb_StringView default_val = upb_StringView_FromString("");
|
2023
2029
|
upb_StringView ret;
|
2024
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2030
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2025
2031
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2026
2032
|
&default_val, &ret);
|
2027
2033
|
return ret;
|
2028
2034
|
}
|
2029
2035
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_type(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2030
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2036
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2031
2037
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2032
2038
|
}
|
2033
2039
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_reserved(google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2034
|
-
const upb_MiniTableField field = {5,
|
2040
|
+
const upb_MiniTableField field = {5, 9, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2035
2041
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2036
2042
|
}
|
2037
2043
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2038
2044
|
bool default_val = false;
|
2039
2045
|
bool ret;
|
2040
|
-
const upb_MiniTableField field = {5,
|
2046
|
+
const upb_MiniTableField field = {5, 9, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2041
2047
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2042
2048
|
&default_val, &ret);
|
2043
2049
|
return ret;
|
2044
2050
|
}
|
2045
2051
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_reserved(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2046
|
-
const upb_MiniTableField field = {5,
|
2052
|
+
const upb_MiniTableField field = {5, 9, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2047
2053
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2048
2054
|
}
|
2049
2055
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_clear_repeated(google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2050
|
-
const upb_MiniTableField field = {6,
|
2056
|
+
const upb_MiniTableField field = {6, 10, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2051
2057
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2052
2058
|
}
|
2053
2059
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2054
2060
|
bool default_val = false;
|
2055
2061
|
bool ret;
|
2056
|
-
const upb_MiniTableField field = {6,
|
2062
|
+
const upb_MiniTableField field = {6, 10, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2057
2063
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2058
2064
|
&default_val, &ret);
|
2059
2065
|
return ret;
|
2060
2066
|
}
|
2061
2067
|
UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_repeated(const google_protobuf_ExtensionRangeOptions_Declaration* msg) {
|
2062
|
-
const upb_MiniTableField field = {6,
|
2068
|
+
const upb_MiniTableField field = {6, 10, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2063
2069
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2064
2070
|
}
|
2065
2071
|
|
@@ -2068,19 +2074,19 @@ UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_number(goo
|
|
2068
2074
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2069
2075
|
}
|
2070
2076
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_full_name(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) {
|
2071
|
-
const upb_MiniTableField field = {2,
|
2077
|
+
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2072
2078
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2073
2079
|
}
|
2074
2080
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_type(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) {
|
2075
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
2081
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2076
2082
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2077
2083
|
}
|
2078
2084
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_reserved(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) {
|
2079
|
-
const upb_MiniTableField field = {5,
|
2085
|
+
const upb_MiniTableField field = {5, 9, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2080
2086
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2081
2087
|
}
|
2082
2088
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) {
|
2083
|
-
const upb_MiniTableField field = {6,
|
2089
|
+
const upb_MiniTableField field = {6, 10, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2084
2090
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2085
2091
|
}
|
2086
2092
|
|
@@ -2121,35 +2127,35 @@ UPB_INLINE char* google_protobuf_FieldDescriptorProto_serialize_ex(const google_
|
|
2121
2127
|
return ptr;
|
2122
2128
|
}
|
2123
2129
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_name(google_protobuf_FieldDescriptorProto* msg) {
|
2124
|
-
const upb_MiniTableField field = {1,
|
2130
|
+
const upb_MiniTableField field = {1, 32, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2125
2131
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2126
2132
|
}
|
2127
2133
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2128
2134
|
upb_StringView default_val = upb_StringView_FromString("");
|
2129
2135
|
upb_StringView ret;
|
2130
|
-
const upb_MiniTableField field = {1,
|
2136
|
+
const upb_MiniTableField field = {1, 32, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2131
2137
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2132
2138
|
&default_val, &ret);
|
2133
2139
|
return ret;
|
2134
2140
|
}
|
2135
2141
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2136
|
-
const upb_MiniTableField field = {1,
|
2142
|
+
const upb_MiniTableField field = {1, 32, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2137
2143
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2138
2144
|
}
|
2139
2145
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_extendee(google_protobuf_FieldDescriptorProto* msg) {
|
2140
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2146
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2141
2147
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2142
2148
|
}
|
2143
2149
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_extendee(const google_protobuf_FieldDescriptorProto* msg) {
|
2144
2150
|
upb_StringView default_val = upb_StringView_FromString("");
|
2145
2151
|
upb_StringView ret;
|
2146
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2152
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2147
2153
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2148
2154
|
&default_val, &ret);
|
2149
2155
|
return ret;
|
2150
2156
|
}
|
2151
2157
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_extendee(const google_protobuf_FieldDescriptorProto* msg) {
|
2152
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2158
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2153
2159
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2154
2160
|
}
|
2155
2161
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_number(google_protobuf_FieldDescriptorProto* msg) {
|
@@ -2201,52 +2207,52 @@ UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type(const google_proto
|
|
2201
2207
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2202
2208
|
}
|
2203
2209
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_type_name(google_protobuf_FieldDescriptorProto* msg) {
|
2204
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2210
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2205
2211
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2206
2212
|
}
|
2207
2213
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_type_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2208
2214
|
upb_StringView default_val = upb_StringView_FromString("");
|
2209
2215
|
upb_StringView ret;
|
2210
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2216
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2211
2217
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2212
2218
|
&default_val, &ret);
|
2213
2219
|
return ret;
|
2214
2220
|
}
|
2215
2221
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_type_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2216
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2222
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2217
2223
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2218
2224
|
}
|
2219
2225
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_default_value(google_protobuf_FieldDescriptorProto* msg) {
|
2220
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2226
|
+
const upb_MiniTableField field = {7, UPB_SIZE(56, 80), 70, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2221
2227
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2222
2228
|
}
|
2223
2229
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_default_value(const google_protobuf_FieldDescriptorProto* msg) {
|
2224
2230
|
upb_StringView default_val = upb_StringView_FromString("");
|
2225
2231
|
upb_StringView ret;
|
2226
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2232
|
+
const upb_MiniTableField field = {7, UPB_SIZE(56, 80), 70, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2227
2233
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2228
2234
|
&default_val, &ret);
|
2229
2235
|
return ret;
|
2230
2236
|
}
|
2231
2237
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_default_value(const google_protobuf_FieldDescriptorProto* msg) {
|
2232
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2238
|
+
const upb_MiniTableField field = {7, UPB_SIZE(56, 80), 70, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2233
2239
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2234
2240
|
}
|
2235
2241
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_options(google_protobuf_FieldDescriptorProto* msg) {
|
2236
|
-
const upb_MiniTableField field = {8, UPB_SIZE(24,
|
2242
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 112), 71, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2237
2243
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2238
2244
|
}
|
2239
2245
|
UPB_INLINE const google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_options(const google_protobuf_FieldDescriptorProto* msg) {
|
2240
2246
|
const google_protobuf_FieldOptions* default_val = NULL;
|
2241
2247
|
const google_protobuf_FieldOptions* ret;
|
2242
|
-
const upb_MiniTableField field = {8, UPB_SIZE(24,
|
2248
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 112), 71, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2243
2249
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions_msg_init);
|
2244
2250
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2245
2251
|
&default_val, &ret);
|
2246
2252
|
return ret;
|
2247
2253
|
}
|
2248
2254
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_options(const google_protobuf_FieldDescriptorProto* msg) {
|
2249
|
-
const upb_MiniTableField field = {8, UPB_SIZE(24,
|
2255
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 112), 71, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2250
2256
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2251
2257
|
}
|
2252
2258
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_oneof_index(google_protobuf_FieldDescriptorProto* msg) {
|
@@ -2266,44 +2272,44 @@ UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_oneof_index(const googl
|
|
2266
2272
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2267
2273
|
}
|
2268
2274
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_json_name(google_protobuf_FieldDescriptorProto* msg) {
|
2269
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
2275
|
+
const upb_MiniTableField field = {10, UPB_SIZE(64, 96), 73, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2270
2276
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2271
2277
|
}
|
2272
2278
|
UPB_INLINE upb_StringView google_protobuf_FieldDescriptorProto_json_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2273
2279
|
upb_StringView default_val = upb_StringView_FromString("");
|
2274
2280
|
upb_StringView ret;
|
2275
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
2281
|
+
const upb_MiniTableField field = {10, UPB_SIZE(64, 96), 73, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2276
2282
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2277
2283
|
&default_val, &ret);
|
2278
2284
|
return ret;
|
2279
2285
|
}
|
2280
2286
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_json_name(const google_protobuf_FieldDescriptorProto* msg) {
|
2281
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
2287
|
+
const upb_MiniTableField field = {10, UPB_SIZE(64, 96), 73, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2282
2288
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2283
2289
|
}
|
2284
2290
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_clear_proto3_optional(google_protobuf_FieldDescriptorProto* msg) {
|
2285
|
-
const upb_MiniTableField field = {17,
|
2291
|
+
const upb_MiniTableField field = {17, 10, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2286
2292
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
2287
2293
|
}
|
2288
2294
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) {
|
2289
2295
|
bool default_val = false;
|
2290
2296
|
bool ret;
|
2291
|
-
const upb_MiniTableField field = {17,
|
2297
|
+
const upb_MiniTableField field = {17, 10, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2292
2298
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
2293
2299
|
&default_val, &ret);
|
2294
2300
|
return ret;
|
2295
2301
|
}
|
2296
2302
|
UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const google_protobuf_FieldDescriptorProto* msg) {
|
2297
|
-
const upb_MiniTableField field = {17,
|
2303
|
+
const upb_MiniTableField field = {17, 10, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2298
2304
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
2299
2305
|
}
|
2300
2306
|
|
2301
2307
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2302
|
-
const upb_MiniTableField field = {1,
|
2308
|
+
const upb_MiniTableField field = {1, 32, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2303
2309
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2304
2310
|
}
|
2305
2311
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2306
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
2312
|
+
const upb_MiniTableField field = {2, UPB_SIZE(40, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2307
2313
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2308
2314
|
}
|
2309
2315
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) {
|
@@ -2319,15 +2325,15 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_Fi
|
|
2319
2325
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2320
2326
|
}
|
2321
2327
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2322
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
2328
|
+
const upb_MiniTableField field = {6, UPB_SIZE(48, 64), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2323
2329
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2324
2330
|
}
|
2325
2331
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2326
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
2332
|
+
const upb_MiniTableField field = {7, UPB_SIZE(56, 80), 70, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2327
2333
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2328
2334
|
}
|
2329
2335
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) {
|
2330
|
-
const upb_MiniTableField field = {8, UPB_SIZE(24,
|
2336
|
+
const upb_MiniTableField field = {8, UPB_SIZE(24, 112), 71, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2331
2337
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions_msg_init);
|
2332
2338
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2333
2339
|
}
|
@@ -2344,11 +2350,11 @@ UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_prot
|
|
2344
2350
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2345
2351
|
}
|
2346
2352
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2347
|
-
const upb_MiniTableField field = {10, UPB_SIZE(
|
2353
|
+
const upb_MiniTableField field = {10, UPB_SIZE(64, 96), 73, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2348
2354
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2349
2355
|
}
|
2350
2356
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) {
|
2351
|
-
const upb_MiniTableField field = {17,
|
2357
|
+
const upb_MiniTableField field = {17, 10, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2352
2358
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2353
2359
|
}
|
2354
2360
|
|
@@ -3100,51 +3106,51 @@ UPB_INLINE char* google_protobuf_MethodDescriptorProto_serialize_ex(const google
|
|
3100
3106
|
return ptr;
|
3101
3107
|
}
|
3102
3108
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_name(google_protobuf_MethodDescriptorProto* msg) {
|
3103
|
-
const upb_MiniTableField field = {1,
|
3109
|
+
const upb_MiniTableField field = {1, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3104
3110
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3105
3111
|
}
|
3106
3112
|
UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_name(const google_protobuf_MethodDescriptorProto* msg) {
|
3107
3113
|
upb_StringView default_val = upb_StringView_FromString("");
|
3108
3114
|
upb_StringView ret;
|
3109
|
-
const upb_MiniTableField field = {1,
|
3115
|
+
const upb_MiniTableField field = {1, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3110
3116
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3111
3117
|
&default_val, &ret);
|
3112
3118
|
return ret;
|
3113
3119
|
}
|
3114
3120
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_name(const google_protobuf_MethodDescriptorProto* msg) {
|
3115
|
-
const upb_MiniTableField field = {1,
|
3121
|
+
const upb_MiniTableField field = {1, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3116
3122
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3117
3123
|
}
|
3118
3124
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_input_type(google_protobuf_MethodDescriptorProto* msg) {
|
3119
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3125
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3120
3126
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3121
3127
|
}
|
3122
3128
|
UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_input_type(const google_protobuf_MethodDescriptorProto* msg) {
|
3123
3129
|
upb_StringView default_val = upb_StringView_FromString("");
|
3124
3130
|
upb_StringView ret;
|
3125
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3131
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3126
3132
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3127
3133
|
&default_val, &ret);
|
3128
3134
|
return ret;
|
3129
3135
|
}
|
3130
3136
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_input_type(const google_protobuf_MethodDescriptorProto* msg) {
|
3131
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3137
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3132
3138
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3133
3139
|
}
|
3134
3140
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_output_type(google_protobuf_MethodDescriptorProto* msg) {
|
3135
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3141
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3136
3142
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3137
3143
|
}
|
3138
3144
|
UPB_INLINE upb_StringView google_protobuf_MethodDescriptorProto_output_type(const google_protobuf_MethodDescriptorProto* msg) {
|
3139
3145
|
upb_StringView default_val = upb_StringView_FromString("");
|
3140
3146
|
upb_StringView ret;
|
3141
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3147
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3142
3148
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3143
3149
|
&default_val, &ret);
|
3144
3150
|
return ret;
|
3145
3151
|
}
|
3146
3152
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_output_type(const google_protobuf_MethodDescriptorProto* msg) {
|
3147
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3153
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3148
3154
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3149
3155
|
}
|
3150
3156
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_options(google_protobuf_MethodDescriptorProto* msg) {
|
@@ -3165,48 +3171,48 @@ UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_options(const google_p
|
|
3165
3171
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3166
3172
|
}
|
3167
3173
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_client_streaming(google_protobuf_MethodDescriptorProto* msg) {
|
3168
|
-
const upb_MiniTableField field = {5,
|
3174
|
+
const upb_MiniTableField field = {5, 9, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3169
3175
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3170
3176
|
}
|
3171
3177
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_client_streaming(const google_protobuf_MethodDescriptorProto* msg) {
|
3172
3178
|
bool default_val = false;
|
3173
3179
|
bool ret;
|
3174
|
-
const upb_MiniTableField field = {5,
|
3180
|
+
const upb_MiniTableField field = {5, 9, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3175
3181
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3176
3182
|
&default_val, &ret);
|
3177
3183
|
return ret;
|
3178
3184
|
}
|
3179
3185
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_client_streaming(const google_protobuf_MethodDescriptorProto* msg) {
|
3180
|
-
const upb_MiniTableField field = {5,
|
3186
|
+
const upb_MiniTableField field = {5, 9, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3181
3187
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3182
3188
|
}
|
3183
3189
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_clear_server_streaming(google_protobuf_MethodDescriptorProto* msg) {
|
3184
|
-
const upb_MiniTableField field = {6,
|
3190
|
+
const upb_MiniTableField field = {6, 10, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3185
3191
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3186
3192
|
}
|
3187
3193
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_server_streaming(const google_protobuf_MethodDescriptorProto* msg) {
|
3188
3194
|
bool default_val = false;
|
3189
3195
|
bool ret;
|
3190
|
-
const upb_MiniTableField field = {6,
|
3196
|
+
const upb_MiniTableField field = {6, 10, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3191
3197
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3192
3198
|
&default_val, &ret);
|
3193
3199
|
return ret;
|
3194
3200
|
}
|
3195
3201
|
UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const google_protobuf_MethodDescriptorProto* msg) {
|
3196
|
-
const upb_MiniTableField field = {6,
|
3202
|
+
const upb_MiniTableField field = {6, 10, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3197
3203
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3198
3204
|
}
|
3199
3205
|
|
3200
3206
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3201
|
-
const upb_MiniTableField field = {1,
|
3207
|
+
const upb_MiniTableField field = {1, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3202
3208
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3203
3209
|
}
|
3204
3210
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3205
|
-
const upb_MiniTableField field = {2, UPB_SIZE(
|
3211
|
+
const upb_MiniTableField field = {2, UPB_SIZE(24, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3206
3212
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3207
3213
|
}
|
3208
3214
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3209
|
-
const upb_MiniTableField field = {3, UPB_SIZE(
|
3215
|
+
const upb_MiniTableField field = {3, UPB_SIZE(32, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3210
3216
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3211
3217
|
}
|
3212
3218
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions* value) {
|
@@ -3223,11 +3229,11 @@ UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescripto
|
|
3223
3229
|
return sub;
|
3224
3230
|
}
|
3225
3231
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) {
|
3226
|
-
const upb_MiniTableField field = {5,
|
3232
|
+
const upb_MiniTableField field = {5, 9, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3227
3233
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3228
3234
|
}
|
3229
3235
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) {
|
3230
|
-
const upb_MiniTableField field = {6,
|
3236
|
+
const upb_MiniTableField field = {6, 10, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3231
3237
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3232
3238
|
}
|
3233
3239
|
|
@@ -3300,35 +3306,35 @@ UPB_INLINE bool google_protobuf_FileOptions_has_java_outer_classname(const googl
|
|
3300
3306
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3301
3307
|
}
|
3302
3308
|
UPB_INLINE void google_protobuf_FileOptions_clear_optimize_for(google_protobuf_FileOptions* msg) {
|
3303
|
-
const upb_MiniTableField field = {9,
|
3309
|
+
const upb_MiniTableField field = {9, 20, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3304
3310
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3305
3311
|
}
|
3306
3312
|
UPB_INLINE int32_t google_protobuf_FileOptions_optimize_for(const google_protobuf_FileOptions* msg) {
|
3307
3313
|
int32_t default_val = 1;
|
3308
3314
|
int32_t ret;
|
3309
|
-
const upb_MiniTableField field = {9,
|
3315
|
+
const upb_MiniTableField field = {9, 20, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3310
3316
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3311
3317
|
&default_val, &ret);
|
3312
3318
|
return ret;
|
3313
3319
|
}
|
3314
3320
|
UPB_INLINE bool google_protobuf_FileOptions_has_optimize_for(const google_protobuf_FileOptions* msg) {
|
3315
|
-
const upb_MiniTableField field = {9,
|
3321
|
+
const upb_MiniTableField field = {9, 20, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3316
3322
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3317
3323
|
}
|
3318
3324
|
UPB_INLINE void google_protobuf_FileOptions_clear_java_multiple_files(google_protobuf_FileOptions* msg) {
|
3319
|
-
const upb_MiniTableField field = {10,
|
3325
|
+
const upb_MiniTableField field = {10, 11, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3320
3326
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3321
3327
|
}
|
3322
3328
|
UPB_INLINE bool google_protobuf_FileOptions_java_multiple_files(const google_protobuf_FileOptions* msg) {
|
3323
3329
|
bool default_val = false;
|
3324
3330
|
bool ret;
|
3325
|
-
const upb_MiniTableField field = {10,
|
3331
|
+
const upb_MiniTableField field = {10, 11, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3326
3332
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3327
3333
|
&default_val, &ret);
|
3328
3334
|
return ret;
|
3329
3335
|
}
|
3330
3336
|
UPB_INLINE bool google_protobuf_FileOptions_has_java_multiple_files(const google_protobuf_FileOptions* msg) {
|
3331
|
-
const upb_MiniTableField field = {10,
|
3337
|
+
const upb_MiniTableField field = {10, 11, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3332
3338
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3333
3339
|
}
|
3334
3340
|
UPB_INLINE void google_protobuf_FileOptions_clear_go_package(google_protobuf_FileOptions* msg) {
|
@@ -3348,115 +3354,115 @@ UPB_INLINE bool google_protobuf_FileOptions_has_go_package(const google_protobuf
|
|
3348
3354
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3349
3355
|
}
|
3350
3356
|
UPB_INLINE void google_protobuf_FileOptions_clear_cc_generic_services(google_protobuf_FileOptions* msg) {
|
3351
|
-
const upb_MiniTableField field = {16,
|
3357
|
+
const upb_MiniTableField field = {16, 12, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3352
3358
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3353
3359
|
}
|
3354
3360
|
UPB_INLINE bool google_protobuf_FileOptions_cc_generic_services(const google_protobuf_FileOptions* msg) {
|
3355
3361
|
bool default_val = false;
|
3356
3362
|
bool ret;
|
3357
|
-
const upb_MiniTableField field = {16,
|
3363
|
+
const upb_MiniTableField field = {16, 12, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3358
3364
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3359
3365
|
&default_val, &ret);
|
3360
3366
|
return ret;
|
3361
3367
|
}
|
3362
3368
|
UPB_INLINE bool google_protobuf_FileOptions_has_cc_generic_services(const google_protobuf_FileOptions* msg) {
|
3363
|
-
const upb_MiniTableField field = {16,
|
3369
|
+
const upb_MiniTableField field = {16, 12, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3364
3370
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3365
3371
|
}
|
3366
3372
|
UPB_INLINE void google_protobuf_FileOptions_clear_java_generic_services(google_protobuf_FileOptions* msg) {
|
3367
|
-
const upb_MiniTableField field = {17,
|
3373
|
+
const upb_MiniTableField field = {17, 13, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3368
3374
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3369
3375
|
}
|
3370
3376
|
UPB_INLINE bool google_protobuf_FileOptions_java_generic_services(const google_protobuf_FileOptions* msg) {
|
3371
3377
|
bool default_val = false;
|
3372
3378
|
bool ret;
|
3373
|
-
const upb_MiniTableField field = {17,
|
3379
|
+
const upb_MiniTableField field = {17, 13, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3374
3380
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3375
3381
|
&default_val, &ret);
|
3376
3382
|
return ret;
|
3377
3383
|
}
|
3378
3384
|
UPB_INLINE bool google_protobuf_FileOptions_has_java_generic_services(const google_protobuf_FileOptions* msg) {
|
3379
|
-
const upb_MiniTableField field = {17,
|
3385
|
+
const upb_MiniTableField field = {17, 13, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3380
3386
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3381
3387
|
}
|
3382
3388
|
UPB_INLINE void google_protobuf_FileOptions_clear_py_generic_services(google_protobuf_FileOptions* msg) {
|
3383
|
-
const upb_MiniTableField field = {18,
|
3389
|
+
const upb_MiniTableField field = {18, 14, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3384
3390
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3385
3391
|
}
|
3386
3392
|
UPB_INLINE bool google_protobuf_FileOptions_py_generic_services(const google_protobuf_FileOptions* msg) {
|
3387
3393
|
bool default_val = false;
|
3388
3394
|
bool ret;
|
3389
|
-
const upb_MiniTableField field = {18,
|
3395
|
+
const upb_MiniTableField field = {18, 14, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3390
3396
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3391
3397
|
&default_val, &ret);
|
3392
3398
|
return ret;
|
3393
3399
|
}
|
3394
3400
|
UPB_INLINE bool google_protobuf_FileOptions_has_py_generic_services(const google_protobuf_FileOptions* msg) {
|
3395
|
-
const upb_MiniTableField field = {18,
|
3401
|
+
const upb_MiniTableField field = {18, 14, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3396
3402
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3397
3403
|
}
|
3398
3404
|
UPB_INLINE void google_protobuf_FileOptions_clear_java_generate_equals_and_hash(google_protobuf_FileOptions* msg) {
|
3399
|
-
const upb_MiniTableField field = {20,
|
3405
|
+
const upb_MiniTableField field = {20, 15, 72, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3400
3406
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3401
3407
|
}
|
3402
3408
|
UPB_INLINE bool google_protobuf_FileOptions_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) {
|
3403
3409
|
bool default_val = false;
|
3404
3410
|
bool ret;
|
3405
|
-
const upb_MiniTableField field = {20,
|
3411
|
+
const upb_MiniTableField field = {20, 15, 72, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3406
3412
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3407
3413
|
&default_val, &ret);
|
3408
3414
|
return ret;
|
3409
3415
|
}
|
3410
3416
|
UPB_INLINE bool google_protobuf_FileOptions_has_java_generate_equals_and_hash(const google_protobuf_FileOptions* msg) {
|
3411
|
-
const upb_MiniTableField field = {20,
|
3417
|
+
const upb_MiniTableField field = {20, 15, 72, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3412
3418
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3413
3419
|
}
|
3414
3420
|
UPB_INLINE void google_protobuf_FileOptions_clear_deprecated(google_protobuf_FileOptions* msg) {
|
3415
|
-
const upb_MiniTableField field = {23,
|
3421
|
+
const upb_MiniTableField field = {23, 16, 73, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3416
3422
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3417
3423
|
}
|
3418
3424
|
UPB_INLINE bool google_protobuf_FileOptions_deprecated(const google_protobuf_FileOptions* msg) {
|
3419
3425
|
bool default_val = false;
|
3420
3426
|
bool ret;
|
3421
|
-
const upb_MiniTableField field = {23,
|
3427
|
+
const upb_MiniTableField field = {23, 16, 73, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3422
3428
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3423
3429
|
&default_val, &ret);
|
3424
3430
|
return ret;
|
3425
3431
|
}
|
3426
3432
|
UPB_INLINE bool google_protobuf_FileOptions_has_deprecated(const google_protobuf_FileOptions* msg) {
|
3427
|
-
const upb_MiniTableField field = {23,
|
3433
|
+
const upb_MiniTableField field = {23, 16, 73, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3428
3434
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3429
3435
|
}
|
3430
3436
|
UPB_INLINE void google_protobuf_FileOptions_clear_java_string_check_utf8(google_protobuf_FileOptions* msg) {
|
3431
|
-
const upb_MiniTableField field = {27,
|
3437
|
+
const upb_MiniTableField field = {27, 17, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3432
3438
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3433
3439
|
}
|
3434
3440
|
UPB_INLINE bool google_protobuf_FileOptions_java_string_check_utf8(const google_protobuf_FileOptions* msg) {
|
3435
3441
|
bool default_val = false;
|
3436
3442
|
bool ret;
|
3437
|
-
const upb_MiniTableField field = {27,
|
3443
|
+
const upb_MiniTableField field = {27, 17, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3438
3444
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3439
3445
|
&default_val, &ret);
|
3440
3446
|
return ret;
|
3441
3447
|
}
|
3442
3448
|
UPB_INLINE bool google_protobuf_FileOptions_has_java_string_check_utf8(const google_protobuf_FileOptions* msg) {
|
3443
|
-
const upb_MiniTableField field = {27,
|
3449
|
+
const upb_MiniTableField field = {27, 17, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3444
3450
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3445
3451
|
}
|
3446
3452
|
UPB_INLINE void google_protobuf_FileOptions_clear_cc_enable_arenas(google_protobuf_FileOptions* msg) {
|
3447
|
-
const upb_MiniTableField field = {31,
|
3453
|
+
const upb_MiniTableField field = {31, 18, 75, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3448
3454
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3449
3455
|
}
|
3450
3456
|
UPB_INLINE bool google_protobuf_FileOptions_cc_enable_arenas(const google_protobuf_FileOptions* msg) {
|
3451
3457
|
bool default_val = true;
|
3452
3458
|
bool ret;
|
3453
|
-
const upb_MiniTableField field = {31,
|
3459
|
+
const upb_MiniTableField field = {31, 18, 75, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3454
3460
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3455
3461
|
&default_val, &ret);
|
3456
3462
|
return ret;
|
3457
3463
|
}
|
3458
3464
|
UPB_INLINE bool google_protobuf_FileOptions_has_cc_enable_arenas(const google_protobuf_FileOptions* msg) {
|
3459
|
-
const upb_MiniTableField field = {31,
|
3465
|
+
const upb_MiniTableField field = {31, 18, 75, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3460
3466
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3461
3467
|
}
|
3462
3468
|
UPB_INLINE void google_protobuf_FileOptions_clear_objc_class_prefix(google_protobuf_FileOptions* msg) {
|
@@ -3633,11 +3639,11 @@ UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_prot
|
|
3633
3639
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3634
3640
|
}
|
3635
3641
|
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value) {
|
3636
|
-
const upb_MiniTableField field = {9,
|
3642
|
+
const upb_MiniTableField field = {9, 20, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3637
3643
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3638
3644
|
}
|
3639
3645
|
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value) {
|
3640
|
-
const upb_MiniTableField field = {10,
|
3646
|
+
const upb_MiniTableField field = {10, 11, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3641
3647
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3642
3648
|
}
|
3643
3649
|
UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_StringView value) {
|
@@ -3645,31 +3651,31 @@ UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileO
|
|
3645
3651
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3646
3652
|
}
|
3647
3653
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3648
|
-
const upb_MiniTableField field = {16,
|
3654
|
+
const upb_MiniTableField field = {16, 12, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3649
3655
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3650
3656
|
}
|
3651
3657
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3652
|
-
const upb_MiniTableField field = {17,
|
3658
|
+
const upb_MiniTableField field = {17, 13, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3653
3659
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3654
3660
|
}
|
3655
3661
|
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3656
|
-
const upb_MiniTableField field = {18,
|
3662
|
+
const upb_MiniTableField field = {18, 14, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3657
3663
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3658
3664
|
}
|
3659
3665
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value) {
|
3660
|
-
const upb_MiniTableField field = {20,
|
3666
|
+
const upb_MiniTableField field = {20, 15, 72, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3661
3667
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3662
3668
|
}
|
3663
3669
|
UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value) {
|
3664
|
-
const upb_MiniTableField field = {23,
|
3670
|
+
const upb_MiniTableField field = {23, 16, 73, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3665
3671
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3666
3672
|
}
|
3667
3673
|
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value) {
|
3668
|
-
const upb_MiniTableField field = {27,
|
3674
|
+
const upb_MiniTableField field = {27, 17, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3669
3675
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3670
3676
|
}
|
3671
3677
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value) {
|
3672
|
-
const upb_MiniTableField field = {31,
|
3678
|
+
const upb_MiniTableField field = {31, 18, 75, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3673
3679
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3674
3680
|
}
|
3675
3681
|
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) {
|
@@ -4018,67 +4024,67 @@ UPB_INLINE char* google_protobuf_FieldOptions_serialize_ex(const google_protobuf
|
|
4018
4024
|
return ptr;
|
4019
4025
|
}
|
4020
4026
|
UPB_INLINE void google_protobuf_FieldOptions_clear_ctype(google_protobuf_FieldOptions* msg) {
|
4021
|
-
const upb_MiniTableField field = {1,
|
4027
|
+
const upb_MiniTableField field = {1, 16, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4022
4028
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4023
4029
|
}
|
4024
4030
|
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_FieldOptions* msg) {
|
4025
4031
|
int32_t default_val = 0;
|
4026
4032
|
int32_t ret;
|
4027
|
-
const upb_MiniTableField field = {1,
|
4033
|
+
const upb_MiniTableField field = {1, 16, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4028
4034
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4029
4035
|
&default_val, &ret);
|
4030
4036
|
return ret;
|
4031
4037
|
}
|
4032
4038
|
UPB_INLINE bool google_protobuf_FieldOptions_has_ctype(const google_protobuf_FieldOptions* msg) {
|
4033
|
-
const upb_MiniTableField field = {1,
|
4039
|
+
const upb_MiniTableField field = {1, 16, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4034
4040
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4035
4041
|
}
|
4036
4042
|
UPB_INLINE void google_protobuf_FieldOptions_clear_packed(google_protobuf_FieldOptions* msg) {
|
4037
|
-
const upb_MiniTableField field = {2,
|
4043
|
+
const upb_MiniTableField field = {2, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4038
4044
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4039
4045
|
}
|
4040
4046
|
UPB_INLINE bool google_protobuf_FieldOptions_packed(const google_protobuf_FieldOptions* msg) {
|
4041
4047
|
bool default_val = false;
|
4042
4048
|
bool ret;
|
4043
|
-
const upb_MiniTableField field = {2,
|
4049
|
+
const upb_MiniTableField field = {2, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4044
4050
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4045
4051
|
&default_val, &ret);
|
4046
4052
|
return ret;
|
4047
4053
|
}
|
4048
4054
|
UPB_INLINE bool google_protobuf_FieldOptions_has_packed(const google_protobuf_FieldOptions* msg) {
|
4049
|
-
const upb_MiniTableField field = {2,
|
4055
|
+
const upb_MiniTableField field = {2, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4050
4056
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4051
4057
|
}
|
4052
4058
|
UPB_INLINE void google_protobuf_FieldOptions_clear_deprecated(google_protobuf_FieldOptions* msg) {
|
4053
|
-
const upb_MiniTableField field = {3,
|
4059
|
+
const upb_MiniTableField field = {3, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4054
4060
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4055
4061
|
}
|
4056
4062
|
UPB_INLINE bool google_protobuf_FieldOptions_deprecated(const google_protobuf_FieldOptions* msg) {
|
4057
4063
|
bool default_val = false;
|
4058
4064
|
bool ret;
|
4059
|
-
const upb_MiniTableField field = {3,
|
4065
|
+
const upb_MiniTableField field = {3, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4060
4066
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4061
4067
|
&default_val, &ret);
|
4062
4068
|
return ret;
|
4063
4069
|
}
|
4064
4070
|
UPB_INLINE bool google_protobuf_FieldOptions_has_deprecated(const google_protobuf_FieldOptions* msg) {
|
4065
|
-
const upb_MiniTableField field = {3,
|
4071
|
+
const upb_MiniTableField field = {3, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4066
4072
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4067
4073
|
}
|
4068
4074
|
UPB_INLINE void google_protobuf_FieldOptions_clear_lazy(google_protobuf_FieldOptions* msg) {
|
4069
|
-
const upb_MiniTableField field = {5,
|
4075
|
+
const upb_MiniTableField field = {5, 12, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4070
4076
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4071
4077
|
}
|
4072
4078
|
UPB_INLINE bool google_protobuf_FieldOptions_lazy(const google_protobuf_FieldOptions* msg) {
|
4073
4079
|
bool default_val = false;
|
4074
4080
|
bool ret;
|
4075
|
-
const upb_MiniTableField field = {5,
|
4081
|
+
const upb_MiniTableField field = {5, 12, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4076
4082
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4077
4083
|
&default_val, &ret);
|
4078
4084
|
return ret;
|
4079
4085
|
}
|
4080
4086
|
UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_FieldOptions* msg) {
|
4081
|
-
const upb_MiniTableField field = {5,
|
4087
|
+
const upb_MiniTableField field = {5, 12, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4082
4088
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4083
4089
|
}
|
4084
4090
|
UPB_INLINE void google_protobuf_FieldOptions_clear_jstype(google_protobuf_FieldOptions* msg) {
|
@@ -4098,75 +4104,75 @@ UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_Fi
|
|
4098
4104
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4099
4105
|
}
|
4100
4106
|
UPB_INLINE void google_protobuf_FieldOptions_clear_weak(google_protobuf_FieldOptions* msg) {
|
4101
|
-
const upb_MiniTableField field = {10,
|
4107
|
+
const upb_MiniTableField field = {10, 13, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4102
4108
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4103
4109
|
}
|
4104
4110
|
UPB_INLINE bool google_protobuf_FieldOptions_weak(const google_protobuf_FieldOptions* msg) {
|
4105
4111
|
bool default_val = false;
|
4106
4112
|
bool ret;
|
4107
|
-
const upb_MiniTableField field = {10,
|
4113
|
+
const upb_MiniTableField field = {10, 13, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4108
4114
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4109
4115
|
&default_val, &ret);
|
4110
4116
|
return ret;
|
4111
4117
|
}
|
4112
4118
|
UPB_INLINE bool google_protobuf_FieldOptions_has_weak(const google_protobuf_FieldOptions* msg) {
|
4113
|
-
const upb_MiniTableField field = {10,
|
4119
|
+
const upb_MiniTableField field = {10, 13, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4114
4120
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4115
4121
|
}
|
4116
4122
|
UPB_INLINE void google_protobuf_FieldOptions_clear_unverified_lazy(google_protobuf_FieldOptions* msg) {
|
4117
|
-
const upb_MiniTableField field = {15,
|
4123
|
+
const upb_MiniTableField field = {15, 14, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4118
4124
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4119
4125
|
}
|
4120
4126
|
UPB_INLINE bool google_protobuf_FieldOptions_unverified_lazy(const google_protobuf_FieldOptions* msg) {
|
4121
4127
|
bool default_val = false;
|
4122
4128
|
bool ret;
|
4123
|
-
const upb_MiniTableField field = {15,
|
4129
|
+
const upb_MiniTableField field = {15, 14, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4124
4130
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4125
4131
|
&default_val, &ret);
|
4126
4132
|
return ret;
|
4127
4133
|
}
|
4128
4134
|
UPB_INLINE bool google_protobuf_FieldOptions_has_unverified_lazy(const google_protobuf_FieldOptions* msg) {
|
4129
|
-
const upb_MiniTableField field = {15,
|
4135
|
+
const upb_MiniTableField field = {15, 14, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4130
4136
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4131
4137
|
}
|
4132
4138
|
UPB_INLINE void google_protobuf_FieldOptions_clear_debug_redact(google_protobuf_FieldOptions* msg) {
|
4133
|
-
const upb_MiniTableField field = {16,
|
4139
|
+
const upb_MiniTableField field = {16, 15, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4134
4140
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4135
4141
|
}
|
4136
4142
|
UPB_INLINE bool google_protobuf_FieldOptions_debug_redact(const google_protobuf_FieldOptions* msg) {
|
4137
4143
|
bool default_val = false;
|
4138
4144
|
bool ret;
|
4139
|
-
const upb_MiniTableField field = {16,
|
4145
|
+
const upb_MiniTableField field = {16, 15, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4140
4146
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4141
4147
|
&default_val, &ret);
|
4142
4148
|
return ret;
|
4143
4149
|
}
|
4144
4150
|
UPB_INLINE bool google_protobuf_FieldOptions_has_debug_redact(const google_protobuf_FieldOptions* msg) {
|
4145
|
-
const upb_MiniTableField field = {16,
|
4151
|
+
const upb_MiniTableField field = {16, 15, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4146
4152
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4147
4153
|
}
|
4148
4154
|
UPB_INLINE void google_protobuf_FieldOptions_clear_retention(google_protobuf_FieldOptions* msg) {
|
4149
|
-
const upb_MiniTableField field = {17,
|
4155
|
+
const upb_MiniTableField field = {17, 24, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4150
4156
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4151
4157
|
}
|
4152
4158
|
UPB_INLINE int32_t google_protobuf_FieldOptions_retention(const google_protobuf_FieldOptions* msg) {
|
4153
4159
|
int32_t default_val = 0;
|
4154
4160
|
int32_t ret;
|
4155
|
-
const upb_MiniTableField field = {17,
|
4161
|
+
const upb_MiniTableField field = {17, 24, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4156
4162
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4157
4163
|
&default_val, &ret);
|
4158
4164
|
return ret;
|
4159
4165
|
}
|
4160
4166
|
UPB_INLINE bool google_protobuf_FieldOptions_has_retention(const google_protobuf_FieldOptions* msg) {
|
4161
|
-
const upb_MiniTableField field = {17,
|
4167
|
+
const upb_MiniTableField field = {17, 24, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4162
4168
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4163
4169
|
}
|
4164
4170
|
UPB_INLINE void google_protobuf_FieldOptions_clear_targets(google_protobuf_FieldOptions* msg) {
|
4165
|
-
const upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4171
|
+
const upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4166
4172
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4167
4173
|
}
|
4168
4174
|
UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4169
|
-
const upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4175
|
+
const upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4170
4176
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4171
4177
|
if (arr) {
|
4172
4178
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4177,7 +4183,7 @@ UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_prot
|
|
4177
4183
|
}
|
4178
4184
|
}
|
4179
4185
|
UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4180
|
-
const upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4186
|
+
const upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4181
4187
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4182
4188
|
if (size) {
|
4183
4189
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -4185,7 +4191,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(cons
|
|
4185
4191
|
return arr;
|
4186
4192
|
}
|
4187
4193
|
UPB_INLINE upb_Array* _google_protobuf_FieldOptions_targets_mutable_upb_array(google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) {
|
4188
|
-
const upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4194
|
+
const upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4189
4195
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4190
4196
|
&field, arena);
|
4191
4197
|
if (size) {
|
@@ -4194,11 +4200,11 @@ UPB_INLINE upb_Array* _google_protobuf_FieldOptions_targets_mutable_upb_array(go
|
|
4194
4200
|
return arr;
|
4195
4201
|
}
|
4196
4202
|
UPB_INLINE void google_protobuf_FieldOptions_clear_edition_defaults(google_protobuf_FieldOptions* msg) {
|
4197
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
4203
|
+
const upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4198
4204
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4199
4205
|
}
|
4200
4206
|
UPB_INLINE const google_protobuf_FieldOptions_EditionDefault* const* google_protobuf_FieldOptions_edition_defaults(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4201
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
4207
|
+
const upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4202
4208
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__EditionDefault_msg_init);
|
4203
4209
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4204
4210
|
if (arr) {
|
@@ -4210,7 +4216,7 @@ UPB_INLINE const google_protobuf_FieldOptions_EditionDefault* const* google_prot
|
|
4210
4216
|
}
|
4211
4217
|
}
|
4212
4218
|
UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_edition_defaults_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4213
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
4219
|
+
const upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4214
4220
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__EditionDefault_msg_init);
|
4215
4221
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4216
4222
|
if (size) {
|
@@ -4219,7 +4225,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_edition_defaults_upb_a
|
|
4219
4225
|
return arr;
|
4220
4226
|
}
|
4221
4227
|
UPB_INLINE upb_Array* _google_protobuf_FieldOptions_edition_defaults_mutable_upb_array(google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) {
|
4222
|
-
const upb_MiniTableField field = {20, UPB_SIZE(
|
4228
|
+
const upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4223
4229
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__EditionDefault_msg_init);
|
4224
4230
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4225
4231
|
&field, arena);
|
@@ -4229,45 +4235,45 @@ UPB_INLINE upb_Array* _google_protobuf_FieldOptions_edition_defaults_mutable_upb
|
|
4229
4235
|
return arr;
|
4230
4236
|
}
|
4231
4237
|
UPB_INLINE void google_protobuf_FieldOptions_clear_features(google_protobuf_FieldOptions* msg) {
|
4232
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
4238
|
+
const upb_MiniTableField field = {21, UPB_SIZE(36, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4233
4239
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4234
4240
|
}
|
4235
4241
|
UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FieldOptions_features(const google_protobuf_FieldOptions* msg) {
|
4236
4242
|
const google_protobuf_FeatureSet* default_val = NULL;
|
4237
4243
|
const google_protobuf_FeatureSet* ret;
|
4238
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
4244
|
+
const upb_MiniTableField field = {21, UPB_SIZE(36, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4239
4245
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FeatureSet_msg_init);
|
4240
4246
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4241
4247
|
&default_val, &ret);
|
4242
4248
|
return ret;
|
4243
4249
|
}
|
4244
4250
|
UPB_INLINE bool google_protobuf_FieldOptions_has_features(const google_protobuf_FieldOptions* msg) {
|
4245
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
4251
|
+
const upb_MiniTableField field = {21, UPB_SIZE(36, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4246
4252
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4247
4253
|
}
|
4248
4254
|
UPB_INLINE void google_protobuf_FieldOptions_clear_feature_support(google_protobuf_FieldOptions* msg) {
|
4249
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
4255
|
+
const upb_MiniTableField field = {22, UPB_SIZE(40, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4250
4256
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4251
4257
|
}
|
4252
4258
|
UPB_INLINE const google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_feature_support(const google_protobuf_FieldOptions* msg) {
|
4253
4259
|
const google_protobuf_FieldOptions_FeatureSupport* default_val = NULL;
|
4254
4260
|
const google_protobuf_FieldOptions_FeatureSupport* ret;
|
4255
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
4261
|
+
const upb_MiniTableField field = {22, UPB_SIZE(40, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4256
4262
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__FeatureSupport_msg_init);
|
4257
4263
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4258
4264
|
&default_val, &ret);
|
4259
4265
|
return ret;
|
4260
4266
|
}
|
4261
4267
|
UPB_INLINE bool google_protobuf_FieldOptions_has_feature_support(const google_protobuf_FieldOptions* msg) {
|
4262
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
4268
|
+
const upb_MiniTableField field = {22, UPB_SIZE(40, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4263
4269
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4264
4270
|
}
|
4265
4271
|
UPB_INLINE void google_protobuf_FieldOptions_clear_uninterpreted_option(google_protobuf_FieldOptions* msg) {
|
4266
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4272
|
+
const upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4267
4273
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4268
4274
|
}
|
4269
4275
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4270
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4276
|
+
const upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4271
4277
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
4272
4278
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4273
4279
|
if (arr) {
|
@@ -4279,7 +4285,7 @@ UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_Fie
|
|
4279
4285
|
}
|
4280
4286
|
}
|
4281
4287
|
UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4282
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4288
|
+
const upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4283
4289
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
4284
4290
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4285
4291
|
if (size) {
|
@@ -4288,7 +4294,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_u
|
|
4288
4294
|
return arr;
|
4289
4295
|
}
|
4290
4296
|
UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable_upb_array(google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) {
|
4291
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4297
|
+
const upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4292
4298
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
4293
4299
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4294
4300
|
&field, arena);
|
@@ -4299,19 +4305,19 @@ UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable
|
|
4299
4305
|
}
|
4300
4306
|
|
4301
4307
|
UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) {
|
4302
|
-
const upb_MiniTableField field = {1,
|
4308
|
+
const upb_MiniTableField field = {1, 16, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4303
4309
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4304
4310
|
}
|
4305
4311
|
UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) {
|
4306
|
-
const upb_MiniTableField field = {2,
|
4312
|
+
const upb_MiniTableField field = {2, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4307
4313
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4308
4314
|
}
|
4309
4315
|
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) {
|
4310
|
-
const upb_MiniTableField field = {3,
|
4316
|
+
const upb_MiniTableField field = {3, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4311
4317
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4312
4318
|
}
|
4313
4319
|
UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) {
|
4314
|
-
const upb_MiniTableField field = {5,
|
4320
|
+
const upb_MiniTableField field = {5, 12, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4315
4321
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4316
4322
|
}
|
4317
4323
|
UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) {
|
@@ -4319,23 +4325,23 @@ UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOpt
|
|
4319
4325
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4320
4326
|
}
|
4321
4327
|
UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) {
|
4322
|
-
const upb_MiniTableField field = {10,
|
4328
|
+
const upb_MiniTableField field = {10, 13, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4323
4329
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4324
4330
|
}
|
4325
4331
|
UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) {
|
4326
|
-
const upb_MiniTableField field = {15,
|
4332
|
+
const upb_MiniTableField field = {15, 14, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4327
4333
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4328
4334
|
}
|
4329
4335
|
UPB_INLINE void google_protobuf_FieldOptions_set_debug_redact(google_protobuf_FieldOptions *msg, bool value) {
|
4330
|
-
const upb_MiniTableField field = {16,
|
4336
|
+
const upb_MiniTableField field = {16, 15, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4331
4337
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4332
4338
|
}
|
4333
4339
|
UPB_INLINE void google_protobuf_FieldOptions_set_retention(google_protobuf_FieldOptions *msg, int32_t value) {
|
4334
|
-
const upb_MiniTableField field = {17,
|
4340
|
+
const upb_MiniTableField field = {17, 24, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4335
4341
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4336
4342
|
}
|
4337
4343
|
UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf_FieldOptions* msg, size_t* size) {
|
4338
|
-
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4344
|
+
upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4339
4345
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4340
4346
|
if (arr) {
|
4341
4347
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4346,12 +4352,12 @@ UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf
|
|
4346
4352
|
}
|
4347
4353
|
}
|
4348
4354
|
UPB_INLINE int32_t* google_protobuf_FieldOptions_resize_targets(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) {
|
4349
|
-
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4355
|
+
upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4350
4356
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4351
4357
|
&field, size, arena);
|
4352
4358
|
}
|
4353
4359
|
UPB_INLINE bool google_protobuf_FieldOptions_add_targets(google_protobuf_FieldOptions* msg, int32_t val, upb_Arena* arena) {
|
4354
|
-
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4360
|
+
upb_MiniTableField field = {19, UPB_SIZE(28, 32), 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4355
4361
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4356
4362
|
UPB_UPCAST(msg), &field, arena);
|
4357
4363
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -4363,7 +4369,7 @@ UPB_INLINE bool google_protobuf_FieldOptions_add_targets(google_protobuf_FieldOp
|
|
4363
4369
|
return true;
|
4364
4370
|
}
|
4365
4371
|
UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_mutable_edition_defaults(google_protobuf_FieldOptions* msg, size_t* size) {
|
4366
|
-
upb_MiniTableField field = {20, UPB_SIZE(
|
4372
|
+
upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4367
4373
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__EditionDefault_msg_init);
|
4368
4374
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4369
4375
|
if (arr) {
|
@@ -4375,12 +4381,12 @@ UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOp
|
|
4375
4381
|
}
|
4376
4382
|
}
|
4377
4383
|
UPB_INLINE google_protobuf_FieldOptions_EditionDefault** google_protobuf_FieldOptions_resize_edition_defaults(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) {
|
4378
|
-
upb_MiniTableField field = {20, UPB_SIZE(
|
4384
|
+
upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4379
4385
|
return (google_protobuf_FieldOptions_EditionDefault**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4380
4386
|
&field, size, arena);
|
4381
4387
|
}
|
4382
4388
|
UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_FieldOptions_add_edition_defaults(google_protobuf_FieldOptions* msg, upb_Arena* arena) {
|
4383
|
-
upb_MiniTableField field = {20, UPB_SIZE(
|
4389
|
+
upb_MiniTableField field = {20, UPB_SIZE(32, 40), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4384
4390
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__EditionDefault_msg_init);
|
4385
4391
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4386
4392
|
UPB_UPCAST(msg), &field, arena);
|
@@ -4395,7 +4401,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_F
|
|
4395
4401
|
return sub;
|
4396
4402
|
}
|
4397
4403
|
UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldOptions *msg, google_protobuf_FeatureSet* value) {
|
4398
|
-
const upb_MiniTableField field = {21, UPB_SIZE(
|
4404
|
+
const upb_MiniTableField field = {21, UPB_SIZE(36, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4399
4405
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FeatureSet_msg_init);
|
4400
4406
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4401
4407
|
}
|
@@ -4408,7 +4414,7 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutab
|
|
4408
4414
|
return sub;
|
4409
4415
|
}
|
4410
4416
|
UPB_INLINE void google_protobuf_FieldOptions_set_feature_support(google_protobuf_FieldOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) {
|
4411
|
-
const upb_MiniTableField field = {22, UPB_SIZE(
|
4417
|
+
const upb_MiniTableField field = {22, UPB_SIZE(40, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4412
4418
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__FeatureSupport_msg_init);
|
4413
4419
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4414
4420
|
}
|
@@ -4421,7 +4427,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_F
|
|
4421
4427
|
return sub;
|
4422
4428
|
}
|
4423
4429
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t* size) {
|
4424
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4430
|
+
upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4425
4431
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
4426
4432
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4427
4433
|
if (arr) {
|
@@ -4433,12 +4439,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mu
|
|
4433
4439
|
}
|
4434
4440
|
}
|
4435
4441
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) {
|
4436
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4442
|
+
upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4437
4443
|
return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4438
4444
|
&field, size, arena);
|
4439
4445
|
}
|
4440
4446
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions* msg, upb_Arena* arena) {
|
4441
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4447
|
+
upb_MiniTableField field = {999, UPB_SIZE(44, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4442
4448
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
4443
4449
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4444
4450
|
UPB_UPCAST(msg), &field, arena);
|
@@ -5049,44 +5055,44 @@ UPB_INLINE bool google_protobuf_EnumValueOptions_has_features(const google_proto
|
|
5049
5055
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5050
5056
|
}
|
5051
5057
|
UPB_INLINE void google_protobuf_EnumValueOptions_clear_debug_redact(google_protobuf_EnumValueOptions* msg) {
|
5052
|
-
const upb_MiniTableField field = {3,
|
5058
|
+
const upb_MiniTableField field = {3, 10, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5053
5059
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5054
5060
|
}
|
5055
5061
|
UPB_INLINE bool google_protobuf_EnumValueOptions_debug_redact(const google_protobuf_EnumValueOptions* msg) {
|
5056
5062
|
bool default_val = false;
|
5057
5063
|
bool ret;
|
5058
|
-
const upb_MiniTableField field = {3,
|
5064
|
+
const upb_MiniTableField field = {3, 10, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5059
5065
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5060
5066
|
&default_val, &ret);
|
5061
5067
|
return ret;
|
5062
5068
|
}
|
5063
5069
|
UPB_INLINE bool google_protobuf_EnumValueOptions_has_debug_redact(const google_protobuf_EnumValueOptions* msg) {
|
5064
|
-
const upb_MiniTableField field = {3,
|
5070
|
+
const upb_MiniTableField field = {3, 10, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5065
5071
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5066
5072
|
}
|
5067
5073
|
UPB_INLINE void google_protobuf_EnumValueOptions_clear_feature_support(google_protobuf_EnumValueOptions* msg) {
|
5068
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5074
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5069
5075
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5070
5076
|
}
|
5071
5077
|
UPB_INLINE const google_protobuf_FieldOptions_FeatureSupport* google_protobuf_EnumValueOptions_feature_support(const google_protobuf_EnumValueOptions* msg) {
|
5072
5078
|
const google_protobuf_FieldOptions_FeatureSupport* default_val = NULL;
|
5073
5079
|
const google_protobuf_FieldOptions_FeatureSupport* ret;
|
5074
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5080
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5075
5081
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__FeatureSupport_msg_init);
|
5076
5082
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5077
5083
|
&default_val, &ret);
|
5078
5084
|
return ret;
|
5079
5085
|
}
|
5080
5086
|
UPB_INLINE bool google_protobuf_EnumValueOptions_has_feature_support(const google_protobuf_EnumValueOptions* msg) {
|
5081
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5087
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5082
5088
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5083
5089
|
}
|
5084
5090
|
UPB_INLINE void google_protobuf_EnumValueOptions_clear_uninterpreted_option(google_protobuf_EnumValueOptions* msg) {
|
5085
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
5091
|
+
const upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5086
5092
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5087
5093
|
}
|
5088
5094
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions* msg, size_t* size) {
|
5089
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
5095
|
+
const upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5090
5096
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
5091
5097
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
5092
5098
|
if (arr) {
|
@@ -5098,7 +5104,7 @@ UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_Enu
|
|
5098
5104
|
}
|
5099
5105
|
}
|
5100
5106
|
UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size) {
|
5101
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
5107
|
+
const upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5102
5108
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
5103
5109
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
5104
5110
|
if (size) {
|
@@ -5107,7 +5113,7 @@ UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_opti
|
|
5107
5113
|
return arr;
|
5108
5114
|
}
|
5109
5115
|
UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mutable_upb_array(google_protobuf_EnumValueOptions* msg, size_t* size, upb_Arena* arena) {
|
5110
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
5116
|
+
const upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5111
5117
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
5112
5118
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
5113
5119
|
&field, arena);
|
@@ -5135,11 +5141,11 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_m
|
|
5135
5141
|
return sub;
|
5136
5142
|
}
|
5137
5143
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobuf_EnumValueOptions *msg, bool value) {
|
5138
|
-
const upb_MiniTableField field = {3,
|
5144
|
+
const upb_MiniTableField field = {3, 10, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5139
5145
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5140
5146
|
}
|
5141
5147
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_feature_support(google_protobuf_EnumValueOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) {
|
5142
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5148
|
+
const upb_MiniTableField field = {4, UPB_SIZE(16, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5143
5149
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__FieldOptions__FeatureSupport_msg_init);
|
5144
5150
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5145
5151
|
}
|
@@ -5152,7 +5158,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_E
|
|
5152
5158
|
return sub;
|
5153
5159
|
}
|
5154
5160
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) {
|
5155
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
5161
|
+
upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5156
5162
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
5157
5163
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
5158
5164
|
if (arr) {
|
@@ -5164,12 +5170,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOption
|
|
5164
5170
|
}
|
5165
5171
|
}
|
5166
5172
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t size, upb_Arena* arena) {
|
5167
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
5173
|
+
upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5168
5174
|
return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
5169
5175
|
&field, size, arena);
|
5170
5176
|
}
|
5171
5177
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
|
5172
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
5178
|
+
upb_MiniTableField field = {999, UPB_SIZE(20, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5173
5179
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption_msg_init);
|
5174
5180
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
5175
5181
|
UPB_UPCAST(msg), &field, arena);
|
@@ -5551,11 +5557,11 @@ UPB_INLINE char* google_protobuf_UninterpretedOption_serialize_ex(const google_p
|
|
5551
5557
|
return ptr;
|
5552
5558
|
}
|
5553
5559
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_name(google_protobuf_UninterpretedOption* msg) {
|
5554
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12,
|
5560
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5555
5561
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5556
5562
|
}
|
5557
5563
|
UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_protobuf_UninterpretedOption_name(const google_protobuf_UninterpretedOption* msg, size_t* size) {
|
5558
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12,
|
5564
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5559
5565
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption__NamePart_msg_init);
|
5560
5566
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
5561
5567
|
if (arr) {
|
@@ -5567,7 +5573,7 @@ UPB_INLINE const google_protobuf_UninterpretedOption_NamePart* const* google_pro
|
|
5567
5573
|
}
|
5568
5574
|
}
|
5569
5575
|
UPB_INLINE const upb_Array* _google_protobuf_UninterpretedOption_name_upb_array(const google_protobuf_UninterpretedOption* msg, size_t* size) {
|
5570
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12,
|
5576
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5571
5577
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption__NamePart_msg_init);
|
5572
5578
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
5573
5579
|
if (size) {
|
@@ -5576,7 +5582,7 @@ UPB_INLINE const upb_Array* _google_protobuf_UninterpretedOption_name_upb_array(
|
|
5576
5582
|
return arr;
|
5577
5583
|
}
|
5578
5584
|
UPB_INLINE upb_Array* _google_protobuf_UninterpretedOption_name_mutable_upb_array(google_protobuf_UninterpretedOption* msg, size_t* size, upb_Arena* arena) {
|
5579
|
-
const upb_MiniTableField field = {2, UPB_SIZE(12,
|
5585
|
+
const upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5580
5586
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption__NamePart_msg_init);
|
5581
5587
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
5582
5588
|
&field, arena);
|
@@ -5586,104 +5592,104 @@ UPB_INLINE upb_Array* _google_protobuf_UninterpretedOption_name_mutable_upb_arra
|
|
5586
5592
|
return arr;
|
5587
5593
|
}
|
5588
5594
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_identifier_value(google_protobuf_UninterpretedOption* msg) {
|
5589
|
-
const upb_MiniTableField field = {3,
|
5595
|
+
const upb_MiniTableField field = {3, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5590
5596
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5591
5597
|
}
|
5592
5598
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_identifier_value(const google_protobuf_UninterpretedOption* msg) {
|
5593
5599
|
upb_StringView default_val = upb_StringView_FromString("");
|
5594
5600
|
upb_StringView ret;
|
5595
|
-
const upb_MiniTableField field = {3,
|
5601
|
+
const upb_MiniTableField field = {3, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5596
5602
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5597
5603
|
&default_val, &ret);
|
5598
5604
|
return ret;
|
5599
5605
|
}
|
5600
5606
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_identifier_value(const google_protobuf_UninterpretedOption* msg) {
|
5601
|
-
const upb_MiniTableField field = {3,
|
5607
|
+
const upb_MiniTableField field = {3, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5602
5608
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5603
5609
|
}
|
5604
5610
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_positive_int_value(google_protobuf_UninterpretedOption* msg) {
|
5605
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5611
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 72), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5606
5612
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5607
5613
|
}
|
5608
5614
|
UPB_INLINE uint64_t google_protobuf_UninterpretedOption_positive_int_value(const google_protobuf_UninterpretedOption* msg) {
|
5609
5615
|
uint64_t default_val = (uint64_t)0ull;
|
5610
5616
|
uint64_t ret;
|
5611
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5617
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 72), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5612
5618
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5613
5619
|
&default_val, &ret);
|
5614
5620
|
return ret;
|
5615
5621
|
}
|
5616
5622
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_positive_int_value(const google_protobuf_UninterpretedOption* msg) {
|
5617
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5623
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 72), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5618
5624
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5619
5625
|
}
|
5620
5626
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_negative_int_value(google_protobuf_UninterpretedOption* msg) {
|
5621
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
5627
|
+
const upb_MiniTableField field = {5, UPB_SIZE(48, 80), 66, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5622
5628
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5623
5629
|
}
|
5624
5630
|
UPB_INLINE int64_t google_protobuf_UninterpretedOption_negative_int_value(const google_protobuf_UninterpretedOption* msg) {
|
5625
5631
|
int64_t default_val = (int64_t)0ll;
|
5626
5632
|
int64_t ret;
|
5627
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
5633
|
+
const upb_MiniTableField field = {5, UPB_SIZE(48, 80), 66, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5628
5634
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5629
5635
|
&default_val, &ret);
|
5630
5636
|
return ret;
|
5631
5637
|
}
|
5632
5638
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_negative_int_value(const google_protobuf_UninterpretedOption* msg) {
|
5633
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
5639
|
+
const upb_MiniTableField field = {5, UPB_SIZE(48, 80), 66, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5634
5640
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5635
5641
|
}
|
5636
5642
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_double_value(google_protobuf_UninterpretedOption* msg) {
|
5637
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
5643
|
+
const upb_MiniTableField field = {6, UPB_SIZE(56, 88), 67, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5638
5644
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5639
5645
|
}
|
5640
5646
|
UPB_INLINE double google_protobuf_UninterpretedOption_double_value(const google_protobuf_UninterpretedOption* msg) {
|
5641
5647
|
double default_val = 0;
|
5642
5648
|
double ret;
|
5643
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
5649
|
+
const upb_MiniTableField field = {6, UPB_SIZE(56, 88), 67, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5644
5650
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5645
5651
|
&default_val, &ret);
|
5646
5652
|
return ret;
|
5647
5653
|
}
|
5648
5654
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_double_value(const google_protobuf_UninterpretedOption* msg) {
|
5649
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
5655
|
+
const upb_MiniTableField field = {6, UPB_SIZE(56, 88), 67, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5650
5656
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5651
5657
|
}
|
5652
5658
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_string_value(google_protobuf_UninterpretedOption* msg) {
|
5653
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
5659
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 32), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5654
5660
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5655
5661
|
}
|
5656
5662
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_string_value(const google_protobuf_UninterpretedOption* msg) {
|
5657
5663
|
upb_StringView default_val = upb_StringView_FromString("");
|
5658
5664
|
upb_StringView ret;
|
5659
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
5665
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 32), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5660
5666
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5661
5667
|
&default_val, &ret);
|
5662
5668
|
return ret;
|
5663
5669
|
}
|
5664
5670
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_string_value(const google_protobuf_UninterpretedOption* msg) {
|
5665
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
5671
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 32), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5666
5672
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5667
5673
|
}
|
5668
5674
|
UPB_INLINE void google_protobuf_UninterpretedOption_clear_aggregate_value(google_protobuf_UninterpretedOption* msg) {
|
5669
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
5675
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5670
5676
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5671
5677
|
}
|
5672
5678
|
UPB_INLINE upb_StringView google_protobuf_UninterpretedOption_aggregate_value(const google_protobuf_UninterpretedOption* msg) {
|
5673
5679
|
upb_StringView default_val = upb_StringView_FromString("");
|
5674
5680
|
upb_StringView ret;
|
5675
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
5681
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5676
5682
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5677
5683
|
&default_val, &ret);
|
5678
5684
|
return ret;
|
5679
5685
|
}
|
5680
5686
|
UPB_INLINE bool google_protobuf_UninterpretedOption_has_aggregate_value(const google_protobuf_UninterpretedOption* msg) {
|
5681
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
5687
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5682
5688
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5683
5689
|
}
|
5684
5690
|
|
5685
5691
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_mutable_name(google_protobuf_UninterpretedOption* msg, size_t* size) {
|
5686
|
-
upb_MiniTableField field = {2, UPB_SIZE(12,
|
5692
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5687
5693
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption__NamePart_msg_init);
|
5688
5694
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
5689
5695
|
if (arr) {
|
@@ -5695,12 +5701,12 @@ UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_Uninte
|
|
5695
5701
|
}
|
5696
5702
|
}
|
5697
5703
|
UPB_INLINE google_protobuf_UninterpretedOption_NamePart** google_protobuf_UninterpretedOption_resize_name(google_protobuf_UninterpretedOption* msg, size_t size, upb_Arena* arena) {
|
5698
|
-
upb_MiniTableField field = {2, UPB_SIZE(12,
|
5704
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5699
5705
|
return (google_protobuf_UninterpretedOption_NamePart**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
5700
5706
|
&field, size, arena);
|
5701
5707
|
}
|
5702
5708
|
UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_UninterpretedOption_add_name(google_protobuf_UninterpretedOption* msg, upb_Arena* arena) {
|
5703
|
-
upb_MiniTableField field = {2, UPB_SIZE(12,
|
5709
|
+
upb_MiniTableField field = {2, UPB_SIZE(12, 64), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5704
5710
|
UPB_PRIVATE(_upb_MiniTable_StrongReference)(&google__protobuf__UninterpretedOption__NamePart_msg_init);
|
5705
5711
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
5706
5712
|
UPB_UPCAST(msg), &field, arena);
|
@@ -5715,27 +5721,27 @@ UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_
|
|
5715
5721
|
return sub;
|
5716
5722
|
}
|
5717
5723
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5718
|
-
const upb_MiniTableField field = {3,
|
5724
|
+
const upb_MiniTableField field = {3, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5719
5725
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5720
5726
|
}
|
5721
5727
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) {
|
5722
|
-
const upb_MiniTableField field = {4, UPB_SIZE(
|
5728
|
+
const upb_MiniTableField field = {4, UPB_SIZE(40, 72), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5723
5729
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5724
5730
|
}
|
5725
5731
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) {
|
5726
|
-
const upb_MiniTableField field = {5, UPB_SIZE(
|
5732
|
+
const upb_MiniTableField field = {5, UPB_SIZE(48, 80), 66, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5727
5733
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5728
5734
|
}
|
5729
5735
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) {
|
5730
|
-
const upb_MiniTableField field = {6, UPB_SIZE(
|
5736
|
+
const upb_MiniTableField field = {6, UPB_SIZE(56, 88), 67, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5731
5737
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5732
5738
|
}
|
5733
5739
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5734
|
-
const upb_MiniTableField field = {7, UPB_SIZE(
|
5740
|
+
const upb_MiniTableField field = {7, UPB_SIZE(24, 32), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5735
5741
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5736
5742
|
}
|
5737
5743
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5738
|
-
const upb_MiniTableField field = {8, UPB_SIZE(
|
5744
|
+
const upb_MiniTableField field = {8, UPB_SIZE(32, 48), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5739
5745
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5740
5746
|
}
|
5741
5747
|
|
@@ -5949,6 +5955,22 @@ UPB_INLINE bool google_protobuf_FeatureSet_has_json_format(const google_protobuf
|
|
5949
5955
|
const upb_MiniTableField field = {6, 32, 69, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5950
5956
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5951
5957
|
}
|
5958
|
+
UPB_INLINE void google_protobuf_FeatureSet_clear_enforce_naming_style(google_protobuf_FeatureSet* msg) {
|
5959
|
+
const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5960
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5961
|
+
}
|
5962
|
+
UPB_INLINE int32_t google_protobuf_FeatureSet_enforce_naming_style(const google_protobuf_FeatureSet* msg) {
|
5963
|
+
int32_t default_val = 0;
|
5964
|
+
int32_t ret;
|
5965
|
+
const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5966
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5967
|
+
&default_val, &ret);
|
5968
|
+
return ret;
|
5969
|
+
}
|
5970
|
+
UPB_INLINE bool google_protobuf_FeatureSet_has_enforce_naming_style(const google_protobuf_FeatureSet* msg) {
|
5971
|
+
const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5972
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5973
|
+
}
|
5952
5974
|
|
5953
5975
|
UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) {
|
5954
5976
|
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
@@ -5974,6 +5996,10 @@ UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_Featu
|
|
5974
5996
|
const upb_MiniTableField field = {6, 32, 69, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5975
5997
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5976
5998
|
}
|
5999
|
+
UPB_INLINE void google_protobuf_FeatureSet_set_enforce_naming_style(google_protobuf_FeatureSet *msg, int32_t value) {
|
6000
|
+
const upb_MiniTableField field = {7, 36, 70, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
6001
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6002
|
+
}
|
5977
6003
|
|
5978
6004
|
/* google.protobuf.FeatureSetDefaults */
|
5979
6005
|
|
@@ -6380,11 +6406,11 @@ UPB_INLINE char* google_protobuf_SourceCodeInfo_Location_serialize_ex(const goog
|
|
6380
6406
|
return ptr;
|
6381
6407
|
}
|
6382
6408
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_path(google_protobuf_SourceCodeInfo_Location* msg) {
|
6383
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6409
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6384
6410
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6385
6411
|
}
|
6386
6412
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6387
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6413
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6388
6414
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6389
6415
|
if (arr) {
|
6390
6416
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6395,7 +6421,7 @@ UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_path(const goo
|
|
6395
6421
|
}
|
6396
6422
|
}
|
6397
6423
|
UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_path_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6398
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6424
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6399
6425
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6400
6426
|
if (size) {
|
6401
6427
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -6403,7 +6429,7 @@ UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_path_upb_ar
|
|
6403
6429
|
return arr;
|
6404
6430
|
}
|
6405
6431
|
UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_path_mutable_upb_array(google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) {
|
6406
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6432
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6407
6433
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
6408
6434
|
&field, arena);
|
6409
6435
|
if (size) {
|
@@ -6412,11 +6438,11 @@ UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_path_mutable_upb_
|
|
6412
6438
|
return arr;
|
6413
6439
|
}
|
6414
6440
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_span(google_protobuf_SourceCodeInfo_Location* msg) {
|
6415
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16,
|
6441
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6416
6442
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6417
6443
|
}
|
6418
6444
|
UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6419
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16,
|
6445
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6420
6446
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6421
6447
|
if (arr) {
|
6422
6448
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6427,7 +6453,7 @@ UPB_INLINE int32_t const* google_protobuf_SourceCodeInfo_Location_span(const goo
|
|
6427
6453
|
}
|
6428
6454
|
}
|
6429
6455
|
UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_span_upb_array(const google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6430
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16,
|
6456
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6431
6457
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6432
6458
|
if (size) {
|
6433
6459
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -6435,7 +6461,7 @@ UPB_INLINE const upb_Array* _google_protobuf_SourceCodeInfo_Location_span_upb_ar
|
|
6435
6461
|
return arr;
|
6436
6462
|
}
|
6437
6463
|
UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_span_mutable_upb_array(google_protobuf_SourceCodeInfo_Location* msg, size_t* size, upb_Arena* arena) {
|
6438
|
-
const upb_MiniTableField field = {2, UPB_SIZE(16,
|
6464
|
+
const upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6439
6465
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
6440
6466
|
&field, arena);
|
6441
6467
|
if (size) {
|
@@ -6444,35 +6470,35 @@ UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_span_mutable_upb_
|
|
6444
6470
|
return arr;
|
6445
6471
|
}
|
6446
6472
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_comments(google_protobuf_SourceCodeInfo_Location* msg) {
|
6447
|
-
const upb_MiniTableField field = {3, UPB_SIZE(24,
|
6473
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6448
6474
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6449
6475
|
}
|
6450
6476
|
UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) {
|
6451
6477
|
upb_StringView default_val = upb_StringView_FromString("");
|
6452
6478
|
upb_StringView ret;
|
6453
|
-
const upb_MiniTableField field = {3, UPB_SIZE(24,
|
6479
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6454
6480
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
6455
6481
|
&default_val, &ret);
|
6456
6482
|
return ret;
|
6457
6483
|
}
|
6458
6484
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_leading_comments(const google_protobuf_SourceCodeInfo_Location* msg) {
|
6459
|
-
const upb_MiniTableField field = {3, UPB_SIZE(24,
|
6485
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6460
6486
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
6461
6487
|
}
|
6462
6488
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_trailing_comments(google_protobuf_SourceCodeInfo_Location* msg) {
|
6463
|
-
const upb_MiniTableField field = {4,
|
6489
|
+
const upb_MiniTableField field = {4, 32, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6464
6490
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6465
6491
|
}
|
6466
6492
|
UPB_INLINE upb_StringView google_protobuf_SourceCodeInfo_Location_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) {
|
6467
6493
|
upb_StringView default_val = upb_StringView_FromString("");
|
6468
6494
|
upb_StringView ret;
|
6469
|
-
const upb_MiniTableField field = {4,
|
6495
|
+
const upb_MiniTableField field = {4, 32, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6470
6496
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
6471
6497
|
&default_val, &ret);
|
6472
6498
|
return ret;
|
6473
6499
|
}
|
6474
6500
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_has_trailing_comments(const google_protobuf_SourceCodeInfo_Location* msg) {
|
6475
|
-
const upb_MiniTableField field = {4,
|
6501
|
+
const upb_MiniTableField field = {4, 32, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6476
6502
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
6477
6503
|
}
|
6478
6504
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_clear_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg) {
|
@@ -6509,7 +6535,7 @@ UPB_INLINE upb_Array* _google_protobuf_SourceCodeInfo_Location_leading_detached_
|
|
6509
6535
|
}
|
6510
6536
|
|
6511
6537
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6512
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6538
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6513
6539
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
6514
6540
|
if (arr) {
|
6515
6541
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6520,12 +6546,12 @@ UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_path(google_
|
|
6520
6546
|
}
|
6521
6547
|
}
|
6522
6548
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_path(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) {
|
6523
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6549
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6524
6550
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
6525
6551
|
&field, size, arena);
|
6526
6552
|
}
|
6527
6553
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) {
|
6528
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6554
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 48), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6529
6555
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
6530
6556
|
UPB_UPCAST(msg), &field, arena);
|
6531
6557
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -6537,7 +6563,7 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_path(google_protobuf
|
|
6537
6563
|
return true;
|
6538
6564
|
}
|
6539
6565
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_span(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6540
|
-
upb_MiniTableField field = {2, UPB_SIZE(16,
|
6566
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6541
6567
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
6542
6568
|
if (arr) {
|
6543
6569
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6548,12 +6574,12 @@ UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_mutable_span(google_
|
|
6548
6574
|
}
|
6549
6575
|
}
|
6550
6576
|
UPB_INLINE int32_t* google_protobuf_SourceCodeInfo_Location_resize_span(google_protobuf_SourceCodeInfo_Location* msg, size_t size, upb_Arena* arena) {
|
6551
|
-
upb_MiniTableField field = {2, UPB_SIZE(16,
|
6577
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6552
6578
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
6553
6579
|
&field, size, arena);
|
6554
6580
|
}
|
6555
6581
|
UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf_SourceCodeInfo_Location* msg, int32_t val, upb_Arena* arena) {
|
6556
|
-
upb_MiniTableField field = {2, UPB_SIZE(16,
|
6582
|
+
upb_MiniTableField field = {2, UPB_SIZE(16, 56), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6557
6583
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
6558
6584
|
UPB_UPCAST(msg), &field, arena);
|
6559
6585
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -6565,11 +6591,11 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf
|
|
6565
6591
|
return true;
|
6566
6592
|
}
|
6567
6593
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) {
|
6568
|
-
const upb_MiniTableField field = {3, UPB_SIZE(24,
|
6594
|
+
const upb_MiniTableField field = {3, UPB_SIZE(24, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6569
6595
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6570
6596
|
}
|
6571
6597
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) {
|
6572
|
-
const upb_MiniTableField field = {4,
|
6598
|
+
const upb_MiniTableField field = {4, 32, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6573
6599
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6574
6600
|
}
|
6575
6601
|
UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
@@ -6743,11 +6769,11 @@ UPB_INLINE char* google_protobuf_GeneratedCodeInfo_Annotation_serialize_ex(const
|
|
6743
6769
|
return ptr;
|
6744
6770
|
}
|
6745
6771
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_path(google_protobuf_GeneratedCodeInfo_Annotation* msg) {
|
6746
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6772
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6747
6773
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6748
6774
|
}
|
6749
6775
|
UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) {
|
6750
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6776
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6751
6777
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6752
6778
|
if (arr) {
|
6753
6779
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6758,7 +6784,7 @@ UPB_INLINE int32_t const* google_protobuf_GeneratedCodeInfo_Annotation_path(cons
|
|
6758
6784
|
}
|
6759
6785
|
}
|
6760
6786
|
UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_upb_array(const google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) {
|
6761
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6787
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6762
6788
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
6763
6789
|
if (size) {
|
6764
6790
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -6766,7 +6792,7 @@ UPB_INLINE const upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_u
|
|
6766
6792
|
return arr;
|
6767
6793
|
}
|
6768
6794
|
UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_mutable_upb_array(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size, upb_Arena* arena) {
|
6769
|
-
const upb_MiniTableField field = {1, UPB_SIZE(12,
|
6795
|
+
const upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6770
6796
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
6771
6797
|
&field, arena);
|
6772
6798
|
if (size) {
|
@@ -6775,19 +6801,19 @@ UPB_INLINE upb_Array* _google_protobuf_GeneratedCodeInfo_Annotation_path_mutable
|
|
6775
6801
|
return arr;
|
6776
6802
|
}
|
6777
6803
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_source_file(google_protobuf_GeneratedCodeInfo_Annotation* msg) {
|
6778
|
-
const upb_MiniTableField field = {2, UPB_SIZE(28,
|
6804
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6779
6805
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
6780
6806
|
}
|
6781
6807
|
UPB_INLINE upb_StringView google_protobuf_GeneratedCodeInfo_Annotation_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) {
|
6782
6808
|
upb_StringView default_val = upb_StringView_FromString("");
|
6783
6809
|
upb_StringView ret;
|
6784
|
-
const upb_MiniTableField field = {2, UPB_SIZE(28,
|
6810
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6785
6811
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
6786
6812
|
&default_val, &ret);
|
6787
6813
|
return ret;
|
6788
6814
|
}
|
6789
6815
|
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_source_file(const google_protobuf_GeneratedCodeInfo_Annotation* msg) {
|
6790
|
-
const upb_MiniTableField field = {2, UPB_SIZE(28,
|
6816
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6791
6817
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
6792
6818
|
}
|
6793
6819
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_clear_begin(google_protobuf_GeneratedCodeInfo_Annotation* msg) {
|
@@ -6840,7 +6866,7 @@ UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_has_semantic(const
|
|
6840
6866
|
}
|
6841
6867
|
|
6842
6868
|
UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t* size) {
|
6843
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6869
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6844
6870
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
6845
6871
|
if (arr) {
|
6846
6872
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -6851,12 +6877,12 @@ UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_mutable_path(go
|
|
6851
6877
|
}
|
6852
6878
|
}
|
6853
6879
|
UPB_INLINE int32_t* google_protobuf_GeneratedCodeInfo_Annotation_resize_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, size_t size, upb_Arena* arena) {
|
6854
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6880
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6855
6881
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
6856
6882
|
&field, size, arena);
|
6857
6883
|
}
|
6858
6884
|
UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_protobuf_GeneratedCodeInfo_Annotation* msg, int32_t val, upb_Arena* arena) {
|
6859
|
-
upb_MiniTableField field = {1, UPB_SIZE(12,
|
6885
|
+
upb_MiniTableField field = {1, UPB_SIZE(12, 40), 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsPacked | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6860
6886
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
6861
6887
|
UPB_UPCAST(msg), &field, arena);
|
6862
6888
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -6868,7 +6894,7 @@ UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_pro
|
|
6868
6894
|
return true;
|
6869
6895
|
}
|
6870
6896
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) {
|
6871
|
-
const upb_MiniTableField field = {2, UPB_SIZE(28,
|
6897
|
+
const upb_MiniTableField field = {2, UPB_SIZE(28, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6872
6898
|
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6873
6899
|
}
|
6874
6900
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) {
|