grpc 1.65.2 → 1.66.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Makefile +17 -7
- data/include/grpc/event_engine/event_engine.h +14 -0
- data/include/grpc/event_engine/extensible.h +3 -0
- data/include/grpc/event_engine/memory_request.h +18 -0
- data/include/grpc/support/log.h +0 -18
- data/include/grpc/support/metrics.h +14 -3
- data/include/grpc/support/port_platform.h +22 -0
- data/src/core/client_channel/client_channel.cc +125 -30
- data/src/core/client_channel/client_channel_filter.cc +37 -113
- data/src/core/client_channel/client_channel_internal.h +6 -0
- data/src/core/client_channel/config_selector.h +17 -14
- data/src/core/client_channel/direct_channel.cc +83 -0
- data/src/core/client_channel/direct_channel.h +101 -0
- data/src/core/client_channel/dynamic_filters.cc +3 -1
- data/src/core/client_channel/lb_metadata.cc +120 -0
- data/src/core/client_channel/lb_metadata.h +56 -0
- data/src/core/client_channel/load_balanced_call_destination.cc +8 -70
- data/src/core/client_channel/retry_filter.cc +1 -1
- data/src/core/client_channel/retry_filter_legacy_call_data.cc +164 -185
- data/src/core/client_channel/subchannel.cc +58 -42
- data/src/core/client_channel/subchannel.h +4 -10
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.cc +6 -7
- data/src/core/ext/filters/backend_metrics/backend_metric_filter.h +2 -0
- data/src/core/ext/filters/census/grpc_context.cc +4 -4
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.cc +13 -14
- data/src/core/ext/filters/channel_idle/legacy_channel_idle_filter.h +4 -0
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +4 -5
- data/src/core/ext/filters/fault_injection/fault_injection_filter.h +2 -0
- data/src/core/ext/filters/http/client/http_client_filter.cc +1 -1
- data/src/core/ext/filters/http/client/http_client_filter.h +2 -0
- data/src/core/ext/filters/http/client_authority_filter.cc +1 -2
- data/src/core/ext/filters/http/client_authority_filter.h +2 -0
- data/src/core/ext/filters/http/message_compress/compression_filter.cc +16 -19
- data/src/core/ext/filters/http/message_compress/compression_filter.h +5 -0
- data/src/core/ext/filters/http/server/http_server_filter.cc +4 -4
- data/src/core/ext/filters/http/server/http_server_filter.h +2 -0
- data/src/core/ext/filters/message_size/message_size_filter.cc +12 -14
- data/src/core/ext/filters/message_size/message_size_filter.h +4 -0
- data/src/core/ext/filters/rbac/rbac_filter.cc +1 -1
- data/src/core/ext/filters/rbac/rbac_filter.h +2 -0
- data/src/core/ext/filters/stateful_session/stateful_session_filter.cc +1 -2
- data/src/core/ext/filters/stateful_session/stateful_session_filter.h +2 -0
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +53 -66
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +1 -1
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +90 -112
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +17 -29
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +189 -168
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.h +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.cc +3 -3
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +3 -7
- data/src/core/ext/transport/chttp2/transport/frame_data.h +2 -1
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +7 -8
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.cc +12 -10
- data/src/core/ext/transport/chttp2/transport/frame_rst_stream.h +5 -3
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +9 -10
- data/src/core/ext/transport/chttp2/transport/frame_window_update.cc +7 -3
- data/src/core/ext/transport/chttp2/transport/frame_window_update.h +3 -1
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.h +4 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +47 -38
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +2 -0
- data/src/core/ext/transport/chttp2/transport/internal.h +54 -9
- data/src/core/ext/transport/chttp2/transport/parsing.cc +59 -59
- data/src/core/ext/transport/chttp2/transport/stream_lists.cc +7 -7
- data/src/core/ext/transport/chttp2/transport/writing.cc +105 -79
- data/src/core/ext/transport/inproc/inproc_transport.cc +94 -35
- data/src/core/ext/transport/inproc/legacy_inproc_transport.cc +101 -98
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/certs.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb.h +23 -23
- data/src/core/ext/upb-gen/envoy/admin/v3/clusters.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb.h +50 -50
- data/src/core/ext/upb-gen/envoy/admin/v3/config_dump_shared.upb_minitable.c +57 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/admin/v3/init_dump.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/listeners.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/admin/v3/memory.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/metrics.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/admin/v3/mutex_stats.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb.h +110 -78
- data/src/core/ext/upb-gen/envoy/admin/v3/server_info.upb_minitable.c +23 -15
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/admin/v3/tap.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/annotations/deprecation.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb.h +11 -2
- data/src/core/ext/upb-gen/envoy/annotations/resource.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb.h +30 -30
- data/src/core/ext/upb-gen/envoy/config/accesslog/v3/accesslog.upb_minitable.c +48 -0
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb.h +361 -250
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.c +139 -48
- data/src/core/ext/upb-gen/envoy/config/bootstrap/v3/bootstrap.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb.h +10 -10
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/circuit_breaker.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb.h +314 -137
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.c +120 -22
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/cluster.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/filter.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb.h +115 -23
- data/src/core/ext/upb-gen/envoy/config/cluster/v3/outlier_detection.upb_minitable.c +27 -3
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb.h +31 -31
- data/src/core/ext/upb-gen/envoy/config/common/matcher/v3/matcher.upb_minitable.c +45 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb.h +23 -23
- data/src/core/ext/upb-gen/envoy/config/core/v3/address.upb_minitable.c +24 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/backoff.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb.h +646 -68
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.c +230 -16
- data/src/core/ext/upb-gen/envoy/config/core/v3/base.upb_minitable.h +5 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb.h +21 -21
- data/src/core/ext/upb-gen/envoy/config/core/v3/config_source.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/event_service_config.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/extension.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_method_list.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb.h +130 -58
- data/src/core/ext/upb-gen/envoy/config/core/v3/grpc_service.upb_minitable.c +63 -12
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb.h +104 -58
- data/src/core/ext/upb-gen/envoy/config/core/v3/health_check.upb_minitable.c +42 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/http_uri.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb.h +132 -72
- data/src/core/ext/upb-gen/envoy/config/core/v3/protocol.upb_minitable.c +65 -11
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/proxy_protocol.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/core/v3/resolver.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/core/v3/socket_option.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/core/v3/substitution_format_string.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/core/v3/udp_socket_config.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb.h +58 -30
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/endpoint_components.upb_minitable.c +30 -7
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb.h +237 -33
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.c +58 -12
- data/src/core/ext/upb-gen/envoy/config/endpoint/v3/load_report.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/listener/v3/api_listener.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb.h +59 -43
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener.upb_minitable.c +37 -6
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb.h +25 -25
- data/src/core/ext/upb-gen/envoy/config/listener/v3/listener_components.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb.h +66 -9
- data/src/core/ext/upb-gen/envoy/config/listener/v3/quic_config.upb_minitable.c +10 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/listener/v3/udp_listener_config.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/metrics_service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb.h +18 -18
- data/src/core/ext/upb-gen/envoy/config/metrics/v3/stats.upb_minitable.c +24 -0
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb.h +17 -17
- data/src/core/ext/upb-gen/envoy/config/overload/v3/overload.upb_minitable.c +30 -0
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb.h +63 -34
- data/src/core/ext/upb-gen/envoy/config/rbac/v3/rbac.upb_minitable.c +39 -4
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb.h +9 -9
- data/src/core/ext/upb-gen/envoy/config/route/v3/route.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb.h +273 -229
- data/src/core/ext/upb-gen/envoy/config/route/v3/route_components.upb_minitable.c +191 -14
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/route/v3/scoped_route.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb.h +31 -31
- data/src/core/ext/upb-gen/envoy/config/tap/v3/common.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb.h +109 -12
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.c +38 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/datadog.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/config/trace/v3/dynamic_ot.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/http_tracer.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/config/trace/v3/lightstep.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb.h +11 -11
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opencensus.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/config/trace/v3/opentelemetry.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/config/trace/v3/service.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/skywalking.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/config/trace/v3/xray.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/config/trace/v3/zipkin.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb.h +114 -98
- data/src/core/ext/upb-gen/envoy/data/accesslog/v3/accesslog.upb_minitable.c +52 -3
- data/src/core/ext/upb-gen/envoy/extensions/clusters/aggregate/v3/cluster.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/extensions/filters/common/fault/v3/fault.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb.h +18 -18
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/fault/v3/fault.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb.h +41 -9
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/rbac/v3/rbac.upb_minitable.c +15 -3
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/router/v3/router.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/extensions/filters/http/stateful_session/v3/stateful_session.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +146 -130
- data/src/core/ext/upb-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb_minitable.c +74 -10
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/http/stateful_session/cookie/v3/cookie.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb.h +10 -10
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/common/v3/common.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb.h +7 -7
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb.h +111 -27
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.c +43 -7
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/common.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/secret.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb.h +35 -35
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb.h +16 -16
- data/src/core/ext/upb-gen/envoy/extensions/upstreams/http/v3/http_protocol_options.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/ads.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb.h +36 -36
- data/src/core/ext/upb-gen/envoy/service/discovery/v3/discovery.upb_minitable.c +42 -0
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/service/load_stats/v3/lrs.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb.h +20 -20
- data/src/core/ext/upb-gen/envoy/service/status/v3/csds.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/http/v3/cookie.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/http/v3/path_transformation.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/filter_state.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/http_inputs.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb.h +4 -4
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/metadata.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/node.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/number.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/path.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/regex.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/status_code_input.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb.h +37 -6
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/string.upb_minitable.c +20 -3
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb.h +2 -2
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/struct.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb.h +8 -8
- data/src/core/ext/upb-gen/envoy/type/matcher/v3/value.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/type/metadata/v3/metadata.upb_minitable.c +21 -0
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb.h +13 -13
- data/src/core/ext/upb-gen/envoy/type/tracing/v3/custom_tag.upb_minitable.c +15 -0
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb.h +1 -1
- data/src/core/ext/upb-gen/envoy/type/v3/http_status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/percent.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb.h +6 -6
- data/src/core/ext/upb-gen/envoy/type/v3/range.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb.h +5 -5
- data/src/core/ext/upb-gen/envoy/type/v3/ratelimit_strategy.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/semantic_version.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb.h +3 -3
- data/src/core/ext/upb-gen/envoy/type/v3/token_bucket.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/api/annotations.upb.h +10 -1
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb.h +32 -32
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/checked.upb_minitable.c +39 -0
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb.h +43 -43
- data/src/core/ext/upb-gen/google/api/expr/v1alpha1/syntax.upb_minitable.c +42 -0
- data/src/core/ext/upb-gen/google/api/http.upb.h +12 -12
- data/src/core/ext/upb-gen/google/api/http.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/google/api/httpbody.upb.h +2 -2
- data/src/core/ext/upb-gen/google/api/httpbody.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/any.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/any.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb.h +381 -177
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.c +148 -22
- data/src/core/ext/upb-gen/google/protobuf/descriptor.upb_minitable.h +1 -0
- data/src/core/ext/upb-gen/google/protobuf/duration.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/duration.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/empty.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/struct.upb.h +6 -6
- data/src/core/ext/upb-gen/google/protobuf/struct.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb.h +2 -2
- data/src/core/ext/upb-gen/google/protobuf/timestamp.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb.h +9 -9
- data/src/core/ext/upb-gen/google/protobuf/wrappers.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/google/rpc/status.upb.h +2 -2
- data/src/core/ext/upb-gen/google/rpc/status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb.h +10 -10
- data/src/core/ext/upb-gen/opencensus/proto/trace/v1/trace_config.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb.h +6 -6
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/altscontext.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb.h +35 -35
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/handshaker.upb_minitable.c +36 -0
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb.h +4 -4
- data/src/core/ext/upb-gen/src/proto/grpc/gcp/transport_security_common.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb.h +2 -2
- data/src/core/ext/upb-gen/src/proto/grpc/health/v1/health.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb.h +18 -18
- data/src/core/ext/upb-gen/src/proto/grpc/lb/v1/load_balancer.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb.h +4 -4
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb.h +15 -15
- data/src/core/ext/upb-gen/src/proto/grpc/lookup/v1/rls_config.upb_minitable.c +27 -0
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb.h +54 -9
- data/src/core/ext/upb-gen/udpa/annotations/migrate.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/udpa/annotations/security.upb.h +12 -3
- data/src/core/ext/upb-gen/udpa/annotations/security.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/udpa/annotations/sensitive.upb.h +1 -1
- data/src/core/ext/upb-gen/udpa/annotations/status.upb.h +12 -3
- data/src/core/ext/upb-gen/udpa/annotations/status.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb.h +11 -2
- data/src/core/ext/upb-gen/udpa/annotations/versioning.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/validate/validate.upb.h +175 -166
- data/src/core/ext/upb-gen/validate/validate.upb_minitable.c +69 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb.h +54 -9
- data/src/core/ext/upb-gen/xds/annotations/v3/migrate.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb.h +12 -3
- data/src/core/ext/upb-gen/xds/annotations/v3/security.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/sensitive.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb.h +35 -8
- data/src/core/ext/upb-gen/xds/annotations/v3/status.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb.h +11 -2
- data/src/core/ext/upb-gen/xds/annotations/v3/versioning.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/core/v3/authority.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/core/v3/cidr.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb.h +5 -5
- data/src/core/ext/upb-gen/xds/core/v3/collection_entry.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/context_params.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/core/v3/extension.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb.h +3 -3
- data/src/core/ext/upb-gen/xds/core/v3/resource.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb.h +7 -7
- data/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb.h +4 -4
- data/src/core/ext/upb-gen/xds/core/v3/resource_name.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/data/orca/v3/orca_load_report.upb_minitable.c +12 -0
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/service/orca/v3/orca.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/cel.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb.h +1 -1
- data/src/core/ext/upb-gen/xds/type/matcher/v3/domain.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/http_inputs.upb_minitable.c +3 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/ip.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb.h +18 -18
- data/src/core/ext/upb-gen/xds/type/matcher/v3/matcher.upb_minitable.c +30 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb.h +3 -3
- data/src/core/ext/upb-gen/xds/type/matcher/v3/range.upb_minitable.c +18 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/matcher/v3/regex.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/type/matcher/v3/string.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb.h +4 -4
- data/src/core/ext/upb-gen/xds/type/v3/cel.upb_minitable.c +6 -0
- data/src/core/ext/upb-gen/xds/type/v3/range.upb.h +6 -6
- data/src/core/ext/upb-gen/xds/type/v3/range.upb_minitable.c +9 -0
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb.h +2 -2
- data/src/core/ext/upb-gen/xds/type/v3/typed_struct.upb_minitable.c +3 -0
- data/src/core/ext/upbdefs-gen/envoy/admin/v3/server_info.upbdefs.c +86 -81
- data/src/core/ext/upbdefs-gen/envoy/config/accesslog/v3/accesslog.upbdefs.c +61 -60
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +221 -210
- data/src/core/ext/upbdefs-gen/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.c +317 -297
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/cluster.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/cluster/v3/outlier_detection.upbdefs.c +114 -105
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.c +185 -140
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/base.upbdefs.h +25 -0
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/config_source.upbdefs.c +10 -11
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/grpc_service.upbdefs.c +173 -164
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/health_check.upbdefs.c +197 -187
- data/src/core/ext/upbdefs-gen/envoy/config/core/v3/protocol.upbdefs.c +229 -222
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/endpoint_components.upbdefs.c +39 -36
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.c +122 -93
- data/src/core/ext/upbdefs-gen/envoy/config/endpoint/v3/load_report.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/listener.upbdefs.c +41 -39
- data/src/core/ext/upbdefs-gen/envoy/config/listener/v3/quic_config.upbdefs.c +20 -12
- data/src/core/ext/upbdefs-gen/envoy/config/rbac/v3/rbac.upbdefs.c +69 -65
- data/src/core/ext/upbdefs-gen/envoy/config/route/v3/route_components.upbdefs.c +611 -604
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.c +30 -20
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/datadog.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/dynamic_ot.upbdefs.c +18 -17
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/opencensus.upbdefs.c +62 -59
- data/src/core/ext/upbdefs-gen/envoy/config/trace/v3/zipkin.upbdefs.c +21 -20
- data/src/core/ext/upbdefs-gen/envoy/data/accesslog/v3/accesslog.upbdefs.c +145 -142
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/http/rbac/v3/rbac.upbdefs.c +36 -33
- data/src/core/ext/upbdefs-gen/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +290 -288
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +82 -75
- data/src/core/ext/upbdefs-gen/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-gen/envoy/type/matcher/v3/string.upbdefs.c +39 -33
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.c +281 -256
- data/src/core/ext/upbdefs-gen/google/protobuf/descriptor.upbdefs.h +5 -0
- data/src/core/handshaker/endpoint_info/endpoint_info_handshaker.cc +9 -7
- data/src/core/handshaker/handshaker.cc +122 -135
- data/src/core/handshaker/handshaker.h +51 -43
- data/src/core/handshaker/http_connect/http_connect_handshaker.cc +102 -137
- data/src/core/handshaker/http_connect/http_proxy_mapper.cc +13 -16
- data/src/core/handshaker/security/secure_endpoint.cc +36 -39
- data/src/core/handshaker/security/secure_endpoint.h +5 -3
- data/src/core/handshaker/security/security_handshaker.cc +95 -119
- data/src/core/handshaker/tcp_connect/tcp_connect_handshaker.cc +36 -49
- data/src/core/lib/channel/channel_args.h +5 -0
- data/src/core/lib/channel/channel_stack.cc +3 -8
- data/src/core/lib/channel/channel_stack.h +2 -12
- data/src/core/lib/channel/connected_channel.cc +2 -2
- data/src/core/lib/channel/promise_based_filter.cc +120 -145
- data/src/core/lib/channel/promise_based_filter.h +6 -18
- data/src/core/lib/compression/compression.cc +3 -3
- data/src/core/lib/config/config_vars.cc +1 -8
- data/src/core/lib/config/config_vars.h +0 -6
- data/src/core/lib/debug/trace.cc +1 -2
- data/src/core/lib/debug/trace_flags.cc +2 -0
- data/src/core/lib/debug/trace_flags.h +1 -0
- data/src/core/lib/debug/trace_impl.h +4 -0
- data/src/core/lib/event_engine/ares_resolver.cc +47 -0
- data/src/core/lib/event_engine/ares_resolver.h +13 -6
- data/src/core/lib/event_engine/cf_engine/cf_engine.cc +10 -11
- data/src/core/lib/event_engine/cf_engine/cfstream_endpoint.cc +29 -28
- data/src/core/lib/event_engine/cf_engine/dns_service_resolver.cc +0 -1
- data/src/core/lib/event_engine/default_event_engine.cc +6 -7
- data/src/core/lib/event_engine/event_engine.cc +8 -2
- data/src/core/lib/event_engine/event_engine_context.h +4 -2
- data/src/core/lib/event_engine/posix_engine/posix_endpoint.cc +32 -30
- data/src/core/lib/event_engine/posix_engine/posix_engine.cc +7 -21
- data/src/core/lib/event_engine/posix_engine/posix_engine_listener.cc +3 -3
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.cc +17 -10
- data/src/core/lib/event_engine/posix_engine/tcp_socket_utils.h +2 -0
- data/src/core/lib/event_engine/posix_engine/timer_manager.cc +7 -8
- data/src/core/lib/event_engine/thread_pool/thread_count.cc +3 -2
- data/src/core/lib/event_engine/thread_pool/work_stealing_thread_pool.cc +10 -12
- data/src/core/lib/event_engine/thready_event_engine/thready_event_engine.cc +32 -6
- data/src/core/lib/event_engine/windows/iocp.cc +10 -9
- data/src/core/lib/event_engine/windows/win_socket.cc +14 -12
- data/src/core/lib/event_engine/windows/windows_endpoint.cc +10 -8
- data/src/core/lib/event_engine/windows/windows_engine.cc +35 -40
- data/src/core/lib/event_engine/windows/windows_listener.cc +8 -11
- data/src/core/lib/experiments/config.cc +33 -7
- data/src/core/lib/experiments/config.h +55 -1
- data/src/core/lib/experiments/experiments.cc +15 -51
- data/src/core/lib/experiments/experiments.h +33 -49
- data/src/core/lib/gprpp/bitset.h +1 -1
- data/src/core/lib/gprpp/construct_destruct.h +2 -2
- data/src/core/lib/gprpp/debug_location.h +7 -0
- data/src/core/lib/gprpp/down_cast.h +2 -2
- data/src/core/lib/gprpp/dump_args.cc +8 -8
- data/src/core/lib/gprpp/dump_args.h +51 -3
- data/src/core/lib/gprpp/status_helper.cc +1 -1
- data/src/core/lib/gprpp/table.h +23 -15
- data/src/core/lib/gprpp/time.h +12 -17
- data/src/core/lib/gprpp/unique_type_name.h +28 -8
- data/src/core/lib/gprpp/work_serializer.cc +22 -17
- data/src/core/lib/iomgr/call_combiner.cc +28 -44
- data/src/core/lib/iomgr/call_combiner.h +7 -5
- data/src/core/lib/iomgr/cfstream_handle.cc +10 -10
- data/src/core/lib/iomgr/closure.h +5 -5
- data/src/core/lib/iomgr/combiner.cc +30 -39
- data/src/core/lib/iomgr/endpoint.h +2 -0
- data/src/core/lib/iomgr/endpoint_cfstream.cc +21 -25
- data/src/core/lib/iomgr/error.cc +3 -3
- data/src/core/lib/iomgr/ev_apple.cc +3 -3
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +31 -38
- data/src/core/lib/iomgr/ev_poll_posix.cc +14 -14
- data/src/core/lib/iomgr/ev_posix.cc +5 -4
- data/src/core/lib/iomgr/ev_posix.h +3 -3
- data/src/core/lib/iomgr/event_engine_shims/closure.cc +6 -6
- data/src/core/lib/iomgr/event_engine_shims/endpoint.cc +9 -11
- data/src/core/lib/iomgr/event_engine_shims/tcp_client.cc +7 -10
- data/src/core/lib/iomgr/exec_ctx.cc +6 -6
- data/src/core/lib/iomgr/executor.cc +8 -5
- data/src/core/lib/iomgr/lockfree_event.cc +6 -9
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +13 -13
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +8 -7
- data/src/core/lib/iomgr/tcp_client_posix.cc +6 -7
- data/src/core/lib/iomgr/tcp_posix.cc +30 -34
- data/src/core/lib/iomgr/tcp_server_posix.cc +20 -29
- data/src/core/lib/iomgr/tcp_windows.cc +8 -12
- data/src/core/lib/iomgr/timer_generic.cc +52 -61
- data/src/core/lib/iomgr/timer_manager.cc +4 -6
- data/src/core/lib/promise/activity.h +13 -2
- data/src/core/lib/promise/all_ok.h +15 -8
- data/src/core/lib/promise/cancel_callback.h +11 -7
- data/src/core/lib/promise/context.h +7 -7
- data/src/core/lib/promise/detail/join_state.h +418 -579
- data/src/core/lib/promise/detail/promise_factory.h +44 -27
- data/src/core/lib/promise/detail/promise_like.h +14 -5
- data/src/core/lib/promise/detail/seq_state.h +208 -614
- data/src/core/lib/promise/detail/status.h +34 -13
- data/src/core/lib/promise/for_each.h +25 -20
- data/src/core/lib/promise/if.h +19 -15
- data/src/core/lib/promise/interceptor_list.h +12 -13
- data/src/core/lib/promise/latch.h +9 -14
- data/src/core/lib/promise/loop.h +13 -8
- data/src/core/lib/promise/map.h +9 -8
- data/src/core/lib/promise/party.cc +81 -62
- data/src/core/lib/promise/party.h +68 -89
- data/src/core/lib/promise/pipe.h +2 -3
- data/src/core/lib/promise/poll.h +99 -33
- data/src/core/lib/promise/promise.h +11 -5
- data/src/core/lib/promise/race.h +10 -5
- data/src/core/lib/promise/seq.h +51 -36
- data/src/core/lib/promise/status_flag.h +146 -47
- data/src/core/lib/promise/try_join.h +34 -18
- data/src/core/lib/promise/try_seq.h +83 -46
- data/src/core/lib/resource_quota/arena.cc +19 -17
- data/src/core/lib/resource_quota/arena.h +30 -10
- data/src/core/lib/resource_quota/memory_quota.cc +14 -15
- data/src/core/lib/resource_quota/memory_quota.h +3 -2
- data/src/core/lib/resource_quota/periodic_update.cc +3 -2
- data/src/core/lib/security/authorization/grpc_server_authz_filter.cc +13 -17
- data/src/core/lib/security/authorization/grpc_server_authz_filter.h +2 -0
- data/src/core/lib/security/context/security_context.cc +31 -28
- data/src/core/lib/security/credentials/alts/check_gcp_environment.cc +1 -1
- data/src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc +1 -1
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +7 -9
- data/src/core/lib/security/credentials/credentials.cc +11 -9
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +2 -3
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +3 -5
- data/src/core/lib/security/credentials/jwt/json_token.cc +1 -1
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +8 -14
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +19 -23
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +11 -18
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +16 -20
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +5 -6
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_verifier.cc +2 -3
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +5 -7
- data/src/core/lib/security/credentials/tls/tls_credentials.cc +2 -2
- data/src/core/lib/security/credentials/xds/xds_credentials.cc +12 -8
- data/src/core/lib/security/security_connector/security_connector.cc +3 -3
- data/src/core/lib/security/security_connector/ssl_utils.cc +9 -6
- data/src/core/lib/security/transport/auth_filters.h +4 -0
- data/src/core/lib/security/transport/client_auth_filter.cc +1 -2
- data/src/core/lib/security/transport/server_auth_filter.cc +8 -11
- data/src/core/lib/slice/slice_refcount.h +4 -6
- data/src/core/lib/surface/call.cc +33 -26
- data/src/core/lib/surface/call.h +9 -18
- data/src/core/lib/surface/call_details.cc +4 -3
- data/src/core/lib/surface/call_log_batch.cc +4 -5
- data/src/core/lib/surface/call_utils.cc +5 -7
- data/src/core/lib/surface/channel.cc +32 -34
- data/src/core/lib/surface/channel_create.cc +15 -6
- data/src/core/lib/surface/channel_init.cc +257 -196
- data/src/core/lib/surface/channel_init.h +156 -21
- data/src/core/lib/surface/client_call.cc +32 -21
- data/src/core/lib/surface/client_call.h +12 -12
- data/src/core/lib/surface/completion_queue.cc +51 -64
- data/src/core/lib/surface/filter_stack_call.cc +15 -14
- data/src/core/lib/surface/init.cc +25 -7
- data/src/core/lib/surface/lame_client.cc +1 -2
- data/src/core/lib/surface/lame_client.h +2 -0
- data/src/core/lib/surface/legacy_channel.cc +9 -7
- data/src/core/lib/surface/metadata_array.cc +4 -3
- data/src/core/lib/surface/server_call.cc +2 -0
- data/src/core/lib/surface/server_call.h +8 -6
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/bdp_estimator.cc +7 -9
- data/src/core/lib/transport/bdp_estimator.h +5 -5
- data/src/core/lib/transport/call_arena_allocator.h +2 -0
- data/src/core/lib/transport/call_filters.cc +72 -319
- data/src/core/lib/transport/call_filters.h +347 -770
- data/src/core/lib/transport/call_spine.cc +99 -72
- data/src/core/lib/transport/call_spine.h +23 -73
- data/src/core/lib/transport/call_state.cc +39 -0
- data/src/core/lib/transport/call_state.h +957 -0
- data/src/core/lib/transport/connectivity_state.cc +28 -25
- data/src/core/lib/transport/interception_chain.cc +6 -14
- data/src/core/lib/transport/interception_chain.h +34 -26
- data/src/core/lib/transport/metadata.cc +27 -3
- data/src/core/lib/transport/metadata.h +37 -2
- data/src/core/lib/transport/metadata_batch.h +5 -0
- data/src/core/lib/transport/transport.h +9 -5
- data/src/core/load_balancing/child_policy_handler.cc +24 -27
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.cc +1 -2
- data/src/core/load_balancing/grpclb/client_load_reporting_filter.h +3 -0
- data/src/core/load_balancing/grpclb/grpclb.cc +95 -106
- data/src/core/load_balancing/health_check_client.cc +35 -41
- data/src/core/load_balancing/lb_policy.h +42 -22
- data/src/core/load_balancing/oob_backend_metric.cc +4 -4
- data/src/core/load_balancing/outlier_detection/outlier_detection.cc +86 -104
- data/src/core/load_balancing/pick_first/pick_first.cc +156 -180
- data/src/core/load_balancing/priority/priority.cc +63 -74
- data/src/core/load_balancing/ring_hash/ring_hash.cc +34 -40
- data/src/core/load_balancing/rls/rls.cc +136 -145
- data/src/core/load_balancing/round_robin/round_robin.cc +39 -38
- data/src/core/load_balancing/subchannel_interface.h +4 -0
- data/src/core/load_balancing/weighted_round_robin/weighted_round_robin.cc +75 -74
- data/src/core/load_balancing/weighted_target/weighted_target.cc +47 -55
- data/src/core/load_balancing/xds/cds.cc +22 -22
- data/src/core/load_balancing/xds/xds_cluster_impl.cc +100 -75
- data/src/core/load_balancing/xds/xds_cluster_manager.cc +31 -45
- data/src/core/load_balancing/xds/xds_override_host.cc +68 -91
- data/src/core/load_balancing/xds/xds_wrr_locality.cc +19 -18
- data/src/core/resolver/dns/c_ares/dns_resolver_ares.cc +9 -0
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.cc +14 -24
- data/src/core/resolver/dns/c_ares/grpc_ares_wrapper.h +6 -6
- data/src/core/resolver/dns/event_engine/event_engine_client_channel_resolver.cc +4 -5
- data/src/core/resolver/dns/native/dns_resolver.cc +6 -7
- data/src/core/resolver/endpoint_addresses.h +3 -0
- data/src/core/resolver/resolver.h +0 -3
- data/src/core/resolver/xds/xds_dependency_manager.cc +67 -57
- data/src/core/resolver/xds/xds_dependency_manager.h +4 -0
- data/src/core/resolver/xds/xds_resolver.cc +72 -45
- data/src/core/resolver/xds/xds_resolver_attributes.h +5 -1
- data/src/core/server/server.cc +74 -78
- data/src/core/server/server_call_tracer_filter.cc +3 -2
- data/src/core/server/server_config_selector_filter.cc +6 -2
- data/src/core/server/xds_channel_stack_modifier.cc +1 -1
- data/src/core/server/xds_server_config_fetcher.cc +40 -44
- data/src/core/service_config/service_config_call_data.h +2 -1
- data/src/core/service_config/service_config_channel_arg_filter.cc +3 -2
- data/src/core/telemetry/call_tracer.cc +34 -0
- data/src/core/telemetry/call_tracer.h +15 -0
- data/src/core/telemetry/metrics.h +13 -8
- data/src/core/tsi/alts/frame_protector/frame_handler.cc +8 -7
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +8 -10
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +6 -9
- data/src/core/tsi/alts/handshaker/transport_security_common_api.cc +13 -21
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc +6 -8
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc +6 -8
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc +5 -5
- data/src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc +3 -6
- data/src/core/tsi/fake_transport_security.cc +7 -7
- data/src/core/tsi/ssl/key_logging/ssl_key_logging.cc +5 -7
- data/src/core/tsi/ssl_transport_security.cc +44 -29
- data/src/core/tsi/ssl_transport_security_utils.cc +3 -4
- data/src/core/util/android/log.cc +0 -12
- data/src/core/util/http_client/httpcli.cc +21 -33
- data/src/core/util/http_client/httpcli.h +3 -4
- data/src/core/util/http_client/parser.cc +3 -3
- data/src/core/util/latent_see.cc +113 -0
- data/src/core/util/latent_see.h +214 -0
- data/src/core/util/linux/cpu.cc +8 -7
- data/src/core/util/log.cc +0 -18
- data/src/core/util/posix/cpu.cc +3 -2
- data/src/core/util/posix/tmpfile.cc +5 -5
- data/src/core/util/time_precise.cc +4 -3
- data/src/core/{xds/grpc → util}/upb_utils.h +3 -5
- data/src/core/util/useful.h +39 -44
- data/src/core/xds/grpc/xds_audit_logger_registry.cc +1 -0
- data/src/core/xds/grpc/xds_bootstrap_grpc.cc +0 -125
- data/src/core/xds/grpc/xds_bootstrap_grpc.h +2 -27
- data/src/core/xds/grpc/xds_certificate_provider.cc +2 -1
- data/src/core/xds/grpc/xds_certificate_provider.h +3 -1
- data/src/core/xds/grpc/xds_client_grpc.cc +13 -14
- data/src/core/xds/grpc/xds_cluster.cc +0 -723
- data/src/core/xds/grpc/xds_cluster.h +2 -37
- data/src/core/xds/grpc/xds_cluster_parser.cc +730 -0
- data/src/core/xds/grpc/xds_cluster_parser.h +57 -0
- data/src/core/xds/grpc/xds_common_types.cc +33 -437
- data/src/core/xds/grpc/xds_common_types.h +7 -24
- data/src/core/xds/grpc/xds_common_types_parser.cc +467 -0
- data/src/core/xds/grpc/xds_common_types_parser.h +54 -0
- data/src/core/xds/grpc/xds_endpoint.cc +0 -419
- data/src/core/xds/grpc/xds_endpoint.h +0 -24
- data/src/core/xds/grpc/xds_endpoint_parser.cc +439 -0
- data/src/core/xds/grpc/xds_endpoint_parser.h +48 -0
- data/src/core/xds/grpc/xds_health_status.cc +0 -2
- data/src/core/xds/grpc/xds_health_status.h +0 -2
- data/src/core/xds/grpc/xds_http_fault_filter.cc +6 -1
- data/src/core/xds/grpc/xds_http_fault_filter.h +2 -1
- data/src/core/xds/grpc/{xds_http_filters.h → xds_http_filter.h} +6 -63
- data/src/core/xds/grpc/{xds_http_filters.cc → xds_http_filter_registry.cc} +2 -1
- data/src/core/xds/grpc/xds_http_filter_registry.h +98 -0
- data/src/core/xds/grpc/xds_http_rbac_filter.cc +5 -1
- data/src/core/xds/grpc/xds_http_rbac_filter.h +2 -1
- data/src/core/xds/grpc/xds_http_stateful_session_filter.cc +8 -2
- data/src/core/xds/grpc/xds_http_stateful_session_filter.h +2 -1
- data/src/core/xds/grpc/xds_lb_policy_registry.cc +4 -5
- data/src/core/xds/grpc/xds_listener.cc +18 -982
- data/src/core/xds/grpc/xds_listener.h +1 -33
- data/src/core/xds/grpc/xds_listener_parser.cc +997 -0
- data/src/core/xds/grpc/xds_listener_parser.h +60 -0
- data/src/core/xds/grpc/xds_route_config.cc +0 -915
- data/src/core/xds/grpc/xds_route_config.h +6 -38
- data/src/core/xds/grpc/xds_route_config_parser.cc +969 -0
- data/src/core/xds/grpc/xds_route_config_parser.h +80 -0
- data/src/core/xds/grpc/xds_routing.cc +1 -1
- data/src/core/xds/grpc/xds_routing.h +1 -1
- data/src/core/xds/grpc/xds_server_grpc.cc +161 -0
- data/src/core/xds/grpc/xds_server_grpc.h +63 -0
- data/src/core/xds/grpc/xds_transport_grpc.cc +4 -5
- data/src/core/xds/xds_client/xds_api.cc +10 -10
- data/src/core/xds/xds_client/xds_client.cc +144 -177
- data/src/core/xds/xds_client/xds_client_stats.cc +21 -24
- data/src/ruby/ext/grpc/rb_call.c +2 -2
- data/src/ruby/ext/grpc/rb_channel.c +14 -14
- data/src/ruby/ext/grpc/rb_channel_args.c +1 -1
- data/src/ruby/ext/grpc/rb_compression_options.c +3 -3
- data/src/ruby/ext/grpc/rb_event_thread.c +2 -2
- data/src/ruby/ext/grpc/rb_grpc.c +4 -4
- data/src/ruby/ext/grpc/rb_grpc.h +8 -0
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.c +0 -4
- data/src/ruby/ext/grpc/rb_grpc_imports.generated.h +0 -6
- data/src/ruby/ext/grpc/rb_server.c +1 -1
- data/src/ruby/lib/grpc/logconfig.rb +13 -0
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/src/ruby/spec/logconfig_spec.rb +30 -0
- data/third_party/upb/upb/base/string_view.h +1 -1
- data/third_party/upb/upb/json/decode.c +1 -0
- data/third_party/upb/upb/mem/arena.c +67 -2
- data/third_party/upb/upb/mem/arena.h +11 -9
- data/third_party/upb/upb/mem/internal/arena.h +11 -8
- data/third_party/upb/upb/message/accessors.c +6 -5
- data/third_party/upb/upb/message/accessors.h +49 -38
- data/third_party/upb/upb/message/array.c +26 -3
- data/third_party/upb/upb/message/array.h +17 -9
- data/third_party/upb/upb/message/compat.c +5 -5
- data/third_party/upb/upb/message/compat.h +3 -3
- data/third_party/upb/upb/message/copy.c +12 -13
- data/third_party/upb/upb/message/internal/accessors.h +45 -35
- data/third_party/upb/upb/message/internal/array.h +23 -15
- data/third_party/upb/upb/message/internal/compare_unknown.c +289 -0
- data/third_party/upb/upb/message/internal/compare_unknown.h +49 -0
- data/third_party/upb/upb/message/internal/extension.c +11 -12
- data/third_party/upb/upb/message/internal/extension.h +9 -12
- data/third_party/upb/upb/message/internal/map.h +15 -0
- data/third_party/upb/upb/message/internal/map_sorter.h +4 -5
- data/third_party/upb/upb/message/internal/message.c +20 -3
- data/third_party/upb/upb/message/internal/message.h +10 -0
- data/third_party/upb/upb/message/internal/tagged_ptr.h +5 -5
- data/third_party/upb/upb/message/internal/types.h +41 -1
- data/third_party/upb/upb/message/map.c +25 -0
- data/third_party/upb/upb/message/map.h +11 -7
- data/third_party/upb/upb/message/message.c +83 -4
- data/third_party/upb/upb/message/message.h +20 -1
- data/third_party/upb/upb/message/tagged_ptr.h +4 -8
- data/third_party/upb/upb/mini_descriptor/build_enum.c +3 -3
- data/third_party/upb/upb/mini_descriptor/build_enum.h +6 -14
- data/third_party/upb/upb/mini_descriptor/decode.c +12 -1
- data/third_party/upb/upb/mini_descriptor/link.c +16 -18
- data/third_party/upb/upb/mini_table/enum.h +2 -4
- data/third_party/upb/upb/mini_table/extension.h +4 -12
- data/third_party/upb/upb/mini_table/field.h +12 -38
- data/third_party/upb/upb/mini_table/file.h +6 -19
- data/third_party/upb/upb/mini_table/internal/enum.h +1 -1
- data/third_party/upb/upb/mini_table/internal/extension.h +9 -9
- data/third_party/upb/upb/mini_table/internal/field.h +23 -23
- data/third_party/upb/upb/mini_table/internal/file.h +7 -7
- data/third_party/upb/upb/mini_table/internal/message.h +51 -27
- data/third_party/upb/upb/mini_table/internal/sub.h +4 -4
- data/third_party/upb/upb/mini_table/message.h +13 -22
- data/third_party/upb/upb/mini_table/sub.h +4 -12
- data/third_party/upb/upb/port/def.inc +12 -6
- data/third_party/upb/upb/port/undef.inc +1 -1
- data/third_party/upb/upb/reflection/def.hpp +27 -0
- data/third_party/upb/upb/reflection/def_pool.h +2 -2
- data/third_party/upb/upb/reflection/enum_def.c +5 -1
- data/third_party/upb/upb/reflection/enum_def.h +1 -0
- data/third_party/upb/upb/reflection/enum_value_def.c +3 -8
- data/third_party/upb/upb/reflection/field_def.c +61 -24
- data/third_party/upb/upb/reflection/field_def.h +3 -0
- data/third_party/upb/upb/reflection/file_def.c +30 -4
- data/third_party/upb/upb/reflection/file_def.h +3 -0
- data/third_party/upb/upb/reflection/internal/upb_edition_defaults.h +1 -1
- data/third_party/upb/upb/reflection/message.c +19 -7
- data/third_party/upb/upb/reflection/message_def.c +14 -9
- data/third_party/upb/upb/reflection/method_def.h +8 -7
- data/third_party/upb/upb/reflection/service_def.h +6 -5
- data/third_party/upb/upb/text/encode.c +10 -3
- data/third_party/upb/upb/wire/decode.c +91 -57
- data/third_party/upb/upb/wire/decode.h +11 -1
- data/third_party/upb/upb/wire/encode.c +48 -30
- data/third_party/upb/upb/wire/encode.h +9 -1
- data/third_party/upb/upb/wire/eps_copy_input_stream.h +3 -3
- data/third_party/upb/upb/wire/internal/decode_fast.c +25 -29
- data/third_party/upb/upb/wire/internal/reader.h +3 -3
- data/third_party/upb/upb/wire/reader.c +1 -2
- data/third_party/upb/upb/wire/reader.h +4 -8
- metadata +31 -9
- data/src/core/client_channel/config_selector.cc +0 -60
- data/src/core/lib/event_engine/trace.h +0 -37
- data/src/core/lib/surface/api_trace.h +0 -50
@@ -37,6 +37,7 @@ typedef struct google_protobuf_FileOptions { upb_Message UPB_PRIVATE(base); } go
|
|
37
37
|
typedef struct google_protobuf_MessageOptions { upb_Message UPB_PRIVATE(base); } google_protobuf_MessageOptions;
|
38
38
|
typedef struct google_protobuf_FieldOptions { upb_Message UPB_PRIVATE(base); } google_protobuf_FieldOptions;
|
39
39
|
typedef struct google_protobuf_FieldOptions_EditionDefault { upb_Message UPB_PRIVATE(base); } google_protobuf_FieldOptions_EditionDefault;
|
40
|
+
typedef struct google_protobuf_FieldOptions_FeatureSupport { upb_Message UPB_PRIVATE(base); } google_protobuf_FieldOptions_FeatureSupport;
|
40
41
|
typedef struct google_protobuf_OneofOptions { upb_Message UPB_PRIVATE(base); } google_protobuf_OneofOptions;
|
41
42
|
typedef struct google_protobuf_EnumOptions { upb_Message UPB_PRIVATE(base); } google_protobuf_EnumOptions;
|
42
43
|
typedef struct google_protobuf_EnumValueOptions { upb_Message UPB_PRIVATE(base); } google_protobuf_EnumValueOptions;
|
@@ -56,6 +57,7 @@ typedef enum {
|
|
56
57
|
google_protobuf_EDITION_UNKNOWN = 0,
|
57
58
|
google_protobuf_EDITION_1_TEST_ONLY = 1,
|
58
59
|
google_protobuf_EDITION_2_TEST_ONLY = 2,
|
60
|
+
google_protobuf_EDITION_LEGACY = 900,
|
59
61
|
google_protobuf_EDITION_PROTO2 = 998,
|
60
62
|
google_protobuf_EDITION_PROTO3 = 999,
|
61
63
|
google_protobuf_EDITION_2023 = 1000,
|
@@ -645,11 +647,11 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_has_edition(const google_pro
|
|
645
647
|
|
646
648
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_name(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
|
647
649
|
const upb_MiniTableField field = {1, UPB_SIZE(52, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
648
|
-
|
650
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
649
651
|
}
|
650
652
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_package(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
|
651
653
|
const upb_MiniTableField field = {2, UPB_SIZE(60, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
652
|
-
|
654
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
653
655
|
}
|
654
656
|
UPB_INLINE upb_StringView* google_protobuf_FileDescriptorProto_mutable_dependency(google_protobuf_FileDescriptorProto* msg, size_t* size) {
|
655
657
|
upb_MiniTableField field = {3, UPB_SIZE(12, 48), 0, kUpb_NoSub, 12, (int)kUpb_FieldMode_Array | (int)kUpb_LabelFlags_IsAlternate | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
@@ -801,7 +803,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_FileDesc
|
|
801
803
|
}
|
802
804
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_options(google_protobuf_FileDescriptorProto *msg, google_protobuf_FileOptions* value) {
|
803
805
|
const upb_MiniTableField field = {8, UPB_SIZE(32, 88), 66, 4, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
804
|
-
|
806
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
805
807
|
}
|
806
808
|
UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorProto_mutable_options(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
807
809
|
struct google_protobuf_FileOptions* sub = (struct google_protobuf_FileOptions*)google_protobuf_FileDescriptorProto_options(msg);
|
@@ -813,7 +815,7 @@ UPB_INLINE struct google_protobuf_FileOptions* google_protobuf_FileDescriptorPro
|
|
813
815
|
}
|
814
816
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_source_code_info(google_protobuf_FileDescriptorProto *msg, google_protobuf_SourceCodeInfo* value) {
|
815
817
|
const upb_MiniTableField field = {9, UPB_SIZE(36, 96), 67, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
816
|
-
|
818
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
817
819
|
}
|
818
820
|
UPB_INLINE struct google_protobuf_SourceCodeInfo* google_protobuf_FileDescriptorProto_mutable_source_code_info(google_protobuf_FileDescriptorProto* msg, upb_Arena* arena) {
|
819
821
|
struct google_protobuf_SourceCodeInfo* sub = (struct google_protobuf_SourceCodeInfo*)google_protobuf_FileDescriptorProto_source_code_info(msg);
|
@@ -881,11 +883,11 @@ UPB_INLINE bool google_protobuf_FileDescriptorProto_add_weak_dependency(google_p
|
|
881
883
|
}
|
882
884
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_syntax(google_protobuf_FileDescriptorProto *msg, upb_StringView value) {
|
883
885
|
const upb_MiniTableField field = {12, UPB_SIZE(68, 120), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
884
|
-
|
886
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
885
887
|
}
|
886
888
|
UPB_INLINE void google_protobuf_FileDescriptorProto_set_edition(google_protobuf_FileDescriptorProto *msg, int32_t value) {
|
887
889
|
const upb_MiniTableField field = {14, UPB_SIZE(48, 12), 69, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
888
|
-
|
890
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
889
891
|
}
|
890
892
|
|
891
893
|
/* google.protobuf.DescriptorProto */
|
@@ -1215,7 +1217,7 @@ UPB_INLINE upb_Array* _google_protobuf_DescriptorProto_reserved_name_mutable_upb
|
|
1215
1217
|
|
1216
1218
|
UPB_INLINE void google_protobuf_DescriptorProto_set_name(google_protobuf_DescriptorProto *msg, upb_StringView value) {
|
1217
1219
|
const upb_MiniTableField field = {1, UPB_SIZE(48, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1218
|
-
|
1220
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1219
1221
|
}
|
1220
1222
|
UPB_INLINE google_protobuf_FieldDescriptorProto** google_protobuf_DescriptorProto_mutable_field(google_protobuf_DescriptorProto* msg, size_t* size) {
|
1221
1223
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
@@ -1369,7 +1371,7 @@ UPB_INLINE struct google_protobuf_FieldDescriptorProto* google_protobuf_Descript
|
|
1369
1371
|
}
|
1370
1372
|
UPB_INLINE void google_protobuf_DescriptorProto_set_options(google_protobuf_DescriptorProto *msg, google_protobuf_MessageOptions* value) {
|
1371
1373
|
const upb_MiniTableField field = {7, UPB_SIZE(32, 72), 65, 5, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1372
|
-
|
1374
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1373
1375
|
}
|
1374
1376
|
UPB_INLINE struct google_protobuf_MessageOptions* google_protobuf_DescriptorProto_mutable_options(google_protobuf_DescriptorProto* msg, upb_Arena* arena) {
|
1375
1377
|
struct google_protobuf_MessageOptions* sub = (struct google_protobuf_MessageOptions*)google_protobuf_DescriptorProto_options(msg);
|
@@ -1555,15 +1557,15 @@ UPB_INLINE bool google_protobuf_DescriptorProto_ExtensionRange_has_options(const
|
|
1555
1557
|
|
1556
1558
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_start(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) {
|
1557
1559
|
const upb_MiniTableField field = {1, 12, 64, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1558
|
-
|
1560
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1559
1561
|
}
|
1560
1562
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_end(google_protobuf_DescriptorProto_ExtensionRange *msg, int32_t value) {
|
1561
1563
|
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1562
|
-
|
1564
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1563
1565
|
}
|
1564
1566
|
UPB_INLINE void google_protobuf_DescriptorProto_ExtensionRange_set_options(google_protobuf_DescriptorProto_ExtensionRange *msg, google_protobuf_ExtensionRangeOptions* value) {
|
1565
1567
|
const upb_MiniTableField field = {3, UPB_SIZE(20, 24), 66, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1566
|
-
|
1568
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1567
1569
|
}
|
1568
1570
|
UPB_INLINE struct google_protobuf_ExtensionRangeOptions* google_protobuf_DescriptorProto_ExtensionRange_mutable_options(google_protobuf_DescriptorProto_ExtensionRange* msg, upb_Arena* arena) {
|
1569
1571
|
struct google_protobuf_ExtensionRangeOptions* sub = (struct google_protobuf_ExtensionRangeOptions*)google_protobuf_DescriptorProto_ExtensionRange_options(msg);
|
@@ -1645,11 +1647,11 @@ UPB_INLINE bool google_protobuf_DescriptorProto_ReservedRange_has_end(const goog
|
|
1645
1647
|
|
1646
1648
|
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_start(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) {
|
1647
1649
|
const upb_MiniTableField field = {1, 12, 64, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1648
|
-
|
1650
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1649
1651
|
}
|
1650
1652
|
UPB_INLINE void google_protobuf_DescriptorProto_ReservedRange_set_end(google_protobuf_DescriptorProto_ReservedRange *msg, int32_t value) {
|
1651
1653
|
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1652
|
-
|
1654
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1653
1655
|
}
|
1654
1656
|
|
1655
1657
|
/* google.protobuf.ExtensionRangeOptions */
|
@@ -1817,11 +1819,11 @@ UPB_INLINE struct google_protobuf_ExtensionRangeOptions_Declaration* google_prot
|
|
1817
1819
|
}
|
1818
1820
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_verification(google_protobuf_ExtensionRangeOptions *msg, int32_t value) {
|
1819
1821
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 64, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1820
|
-
|
1822
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1821
1823
|
}
|
1822
1824
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_set_features(google_protobuf_ExtensionRangeOptions *msg, google_protobuf_FeatureSet* value) {
|
1823
1825
|
const upb_MiniTableField field = {50, UPB_SIZE(20, 24), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
1824
|
-
|
1826
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1825
1827
|
}
|
1826
1828
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ExtensionRangeOptions_mutable_features(google_protobuf_ExtensionRangeOptions* msg, upb_Arena* arena) {
|
1827
1829
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ExtensionRangeOptions_features(msg);
|
@@ -1981,23 +1983,23 @@ UPB_INLINE bool google_protobuf_ExtensionRangeOptions_Declaration_has_repeated(c
|
|
1981
1983
|
|
1982
1984
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_number(google_protobuf_ExtensionRangeOptions_Declaration *msg, int32_t value) {
|
1983
1985
|
const upb_MiniTableField field = {1, 12, 64, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
1984
|
-
|
1986
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1985
1987
|
}
|
1986
1988
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_full_name(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) {
|
1987
1989
|
const upb_MiniTableField field = {2, UPB_SIZE(20, 24), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1988
|
-
|
1990
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1989
1991
|
}
|
1990
1992
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_type(google_protobuf_ExtensionRangeOptions_Declaration *msg, upb_StringView value) {
|
1991
1993
|
const upb_MiniTableField field = {3, UPB_SIZE(28, 40), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
1992
|
-
|
1994
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1993
1995
|
}
|
1994
1996
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_reserved(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) {
|
1995
1997
|
const upb_MiniTableField field = {5, 16, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
1996
|
-
|
1998
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
1997
1999
|
}
|
1998
2000
|
UPB_INLINE void google_protobuf_ExtensionRangeOptions_Declaration_set_repeated(google_protobuf_ExtensionRangeOptions_Declaration *msg, bool value) {
|
1999
2001
|
const upb_MiniTableField field = {6, 17, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2000
|
-
|
2002
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2001
2003
|
}
|
2002
2004
|
|
2003
2005
|
/* google.protobuf.FieldDescriptorProto */
|
@@ -2215,35 +2217,35 @@ UPB_INLINE bool google_protobuf_FieldDescriptorProto_has_proto3_optional(const g
|
|
2215
2217
|
|
2216
2218
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2217
2219
|
const upb_MiniTableField field = {1, UPB_SIZE(36, 32), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2218
|
-
|
2220
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2219
2221
|
}
|
2220
2222
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_extendee(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2221
2223
|
const upb_MiniTableField field = {2, UPB_SIZE(44, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2222
|
-
|
2224
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2223
2225
|
}
|
2224
2226
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_number(google_protobuf_FieldDescriptorProto *msg, int32_t value) {
|
2225
2227
|
const upb_MiniTableField field = {3, 12, 66, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2226
|
-
|
2228
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2227
2229
|
}
|
2228
2230
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_label(google_protobuf_FieldDescriptorProto *msg, int32_t value) {
|
2229
2231
|
const upb_MiniTableField field = {4, 16, 67, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2230
|
-
|
2232
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2231
2233
|
}
|
2232
2234
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type(google_protobuf_FieldDescriptorProto *msg, int32_t value) {
|
2233
2235
|
const upb_MiniTableField field = {5, 20, 68, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2234
|
-
|
2236
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2235
2237
|
}
|
2236
2238
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_type_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2237
2239
|
const upb_MiniTableField field = {6, UPB_SIZE(52, 64), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2238
|
-
|
2240
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2239
2241
|
}
|
2240
2242
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_default_value(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2241
2243
|
const upb_MiniTableField field = {7, UPB_SIZE(60, 80), 70, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2242
|
-
|
2244
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2243
2245
|
}
|
2244
2246
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_options(google_protobuf_FieldDescriptorProto *msg, google_protobuf_FieldOptions* value) {
|
2245
2247
|
const upb_MiniTableField field = {8, UPB_SIZE(24, 96), 71, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2246
|
-
|
2248
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2247
2249
|
}
|
2248
2250
|
UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorProto_mutable_options(google_protobuf_FieldDescriptorProto* msg, upb_Arena* arena) {
|
2249
2251
|
struct google_protobuf_FieldOptions* sub = (struct google_protobuf_FieldOptions*)google_protobuf_FieldDescriptorProto_options(msg);
|
@@ -2255,15 +2257,15 @@ UPB_INLINE struct google_protobuf_FieldOptions* google_protobuf_FieldDescriptorP
|
|
2255
2257
|
}
|
2256
2258
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_oneof_index(google_protobuf_FieldDescriptorProto *msg, int32_t value) {
|
2257
2259
|
const upb_MiniTableField field = {9, UPB_SIZE(28, 24), 72, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2258
|
-
|
2260
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2259
2261
|
}
|
2260
2262
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_json_name(google_protobuf_FieldDescriptorProto *msg, upb_StringView value) {
|
2261
2263
|
const upb_MiniTableField field = {10, UPB_SIZE(68, 104), 73, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2262
|
-
|
2264
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2263
2265
|
}
|
2264
2266
|
UPB_INLINE void google_protobuf_FieldDescriptorProto_set_proto3_optional(google_protobuf_FieldDescriptorProto *msg, bool value) {
|
2265
2267
|
const upb_MiniTableField field = {17, UPB_SIZE(32, 28), 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
2266
|
-
|
2268
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2267
2269
|
}
|
2268
2270
|
|
2269
2271
|
/* google.protobuf.OneofDescriptorProto */
|
@@ -2337,11 +2339,11 @@ UPB_INLINE bool google_protobuf_OneofDescriptorProto_has_options(const google_pr
|
|
2337
2339
|
|
2338
2340
|
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_name(google_protobuf_OneofDescriptorProto *msg, upb_StringView value) {
|
2339
2341
|
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)};
|
2340
|
-
|
2342
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2341
2343
|
}
|
2342
2344
|
UPB_INLINE void google_protobuf_OneofDescriptorProto_set_options(google_protobuf_OneofDescriptorProto *msg, google_protobuf_OneofOptions* value) {
|
2343
2345
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 32), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2344
|
-
|
2346
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2345
2347
|
}
|
2346
2348
|
UPB_INLINE struct google_protobuf_OneofOptions* google_protobuf_OneofDescriptorProto_mutable_options(google_protobuf_OneofDescriptorProto* msg, upb_Arena* arena) {
|
2347
2349
|
struct google_protobuf_OneofOptions* sub = (struct google_protobuf_OneofOptions*)google_protobuf_OneofDescriptorProto_options(msg);
|
@@ -2519,7 +2521,7 @@ UPB_INLINE upb_Array* _google_protobuf_EnumDescriptorProto_reserved_name_mutable
|
|
2519
2521
|
|
2520
2522
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_name(google_protobuf_EnumDescriptorProto *msg, upb_StringView value) {
|
2521
2523
|
const upb_MiniTableField field = {1, UPB_SIZE(28, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2522
|
-
|
2524
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2523
2525
|
}
|
2524
2526
|
UPB_INLINE google_protobuf_EnumValueDescriptorProto** google_protobuf_EnumDescriptorProto_mutable_value(google_protobuf_EnumDescriptorProto* msg, size_t* size) {
|
2525
2527
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
@@ -2553,7 +2555,7 @@ UPB_INLINE struct google_protobuf_EnumValueDescriptorProto* google_protobuf_Enum
|
|
2553
2555
|
}
|
2554
2556
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_set_options(google_protobuf_EnumDescriptorProto *msg, google_protobuf_EnumOptions* value) {
|
2555
2557
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2556
|
-
|
2558
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2557
2559
|
}
|
2558
2560
|
UPB_INLINE struct google_protobuf_EnumOptions* google_protobuf_EnumDescriptorProto_mutable_options(google_protobuf_EnumDescriptorProto* msg, upb_Arena* arena) {
|
2559
2561
|
struct google_protobuf_EnumOptions* sub = (struct google_protobuf_EnumOptions*)google_protobuf_EnumDescriptorProto_options(msg);
|
@@ -2693,11 +2695,11 @@ UPB_INLINE bool google_protobuf_EnumDescriptorProto_EnumReservedRange_has_end(co
|
|
2693
2695
|
|
2694
2696
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_start(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) {
|
2695
2697
|
const upb_MiniTableField field = {1, 12, 64, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2696
|
-
|
2698
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2697
2699
|
}
|
2698
2700
|
UPB_INLINE void google_protobuf_EnumDescriptorProto_EnumReservedRange_set_end(google_protobuf_EnumDescriptorProto_EnumReservedRange *msg, int32_t value) {
|
2699
2701
|
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2700
|
-
|
2702
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2701
2703
|
}
|
2702
2704
|
|
2703
2705
|
/* google.protobuf.EnumValueDescriptorProto */
|
@@ -2787,15 +2789,15 @@ UPB_INLINE bool google_protobuf_EnumValueDescriptorProto_has_options(const googl
|
|
2787
2789
|
|
2788
2790
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_name(google_protobuf_EnumValueDescriptorProto *msg, upb_StringView value) {
|
2789
2791
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2790
|
-
|
2792
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2791
2793
|
}
|
2792
2794
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_number(google_protobuf_EnumValueDescriptorProto *msg, int32_t value) {
|
2793
2795
|
const upb_MiniTableField field = {2, 12, 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
2794
|
-
|
2796
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2795
2797
|
}
|
2796
2798
|
UPB_INLINE void google_protobuf_EnumValueDescriptorProto_set_options(google_protobuf_EnumValueDescriptorProto *msg, google_protobuf_EnumValueOptions* value) {
|
2797
2799
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 32), 66, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2798
|
-
|
2800
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2799
2801
|
}
|
2800
2802
|
UPB_INLINE struct google_protobuf_EnumValueOptions* google_protobuf_EnumValueDescriptorProto_mutable_options(google_protobuf_EnumValueDescriptorProto* msg, upb_Arena* arena) {
|
2801
2803
|
struct google_protobuf_EnumValueOptions* sub = (struct google_protobuf_EnumValueOptions*)google_protobuf_EnumValueDescriptorProto_options(msg);
|
@@ -2909,7 +2911,7 @@ UPB_INLINE bool google_protobuf_ServiceDescriptorProto_has_options(const google_
|
|
2909
2911
|
|
2910
2912
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_name(google_protobuf_ServiceDescriptorProto *msg, upb_StringView value) {
|
2911
2913
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
2912
|
-
|
2914
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2913
2915
|
}
|
2914
2916
|
UPB_INLINE google_protobuf_MethodDescriptorProto** google_protobuf_ServiceDescriptorProto_mutable_method(google_protobuf_ServiceDescriptorProto* msg, size_t* size) {
|
2915
2917
|
upb_MiniTableField field = {2, UPB_SIZE(12, 32), 0, 0, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
@@ -2943,7 +2945,7 @@ UPB_INLINE struct google_protobuf_MethodDescriptorProto* google_protobuf_Service
|
|
2943
2945
|
}
|
2944
2946
|
UPB_INLINE void google_protobuf_ServiceDescriptorProto_set_options(google_protobuf_ServiceDescriptorProto *msg, google_protobuf_ServiceOptions* value) {
|
2945
2947
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
2946
|
-
|
2948
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
2947
2949
|
}
|
2948
2950
|
UPB_INLINE struct google_protobuf_ServiceOptions* google_protobuf_ServiceDescriptorProto_mutable_options(google_protobuf_ServiceDescriptorProto* msg, upb_Arena* arena) {
|
2949
2951
|
struct google_protobuf_ServiceOptions* sub = (struct google_protobuf_ServiceOptions*)google_protobuf_ServiceDescriptorProto_options(msg);
|
@@ -3089,19 +3091,19 @@ UPB_INLINE bool google_protobuf_MethodDescriptorProto_has_server_streaming(const
|
|
3089
3091
|
|
3090
3092
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_name(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3091
3093
|
const upb_MiniTableField field = {1, UPB_SIZE(20, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3092
|
-
|
3094
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3093
3095
|
}
|
3094
3096
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_input_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3095
3097
|
const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3096
|
-
|
3098
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3097
3099
|
}
|
3098
3100
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_output_type(google_protobuf_MethodDescriptorProto *msg, upb_StringView value) {
|
3099
3101
|
const upb_MiniTableField field = {3, UPB_SIZE(36, 48), 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3100
|
-
|
3102
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3101
3103
|
}
|
3102
3104
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_options(google_protobuf_MethodDescriptorProto *msg, google_protobuf_MethodOptions* value) {
|
3103
3105
|
const upb_MiniTableField field = {4, UPB_SIZE(12, 64), 67, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3104
|
-
|
3106
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3105
3107
|
}
|
3106
3108
|
UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescriptorProto_mutable_options(google_protobuf_MethodDescriptorProto* msg, upb_Arena* arena) {
|
3107
3109
|
struct google_protobuf_MethodOptions* sub = (struct google_protobuf_MethodOptions*)google_protobuf_MethodDescriptorProto_options(msg);
|
@@ -3113,11 +3115,11 @@ UPB_INLINE struct google_protobuf_MethodOptions* google_protobuf_MethodDescripto
|
|
3113
3115
|
}
|
3114
3116
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_client_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) {
|
3115
3117
|
const upb_MiniTableField field = {5, UPB_SIZE(16, 9), 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3116
|
-
|
3118
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3117
3119
|
}
|
3118
3120
|
UPB_INLINE void google_protobuf_MethodDescriptorProto_set_server_streaming(google_protobuf_MethodDescriptorProto *msg, bool value) {
|
3119
3121
|
const upb_MiniTableField field = {6, UPB_SIZE(17, 10), 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3120
|
-
|
3122
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3121
3123
|
}
|
3122
3124
|
|
3123
3125
|
/* google.protobuf.FileOptions */
|
@@ -3511,83 +3513,83 @@ UPB_INLINE upb_Array* _google_protobuf_FileOptions_uninterpreted_option_mutable_
|
|
3511
3513
|
|
3512
3514
|
UPB_INLINE void google_protobuf_FileOptions_set_java_package(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3513
3515
|
const upb_MiniTableField field = {1, UPB_SIZE(32, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3514
|
-
|
3516
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3515
3517
|
}
|
3516
3518
|
UPB_INLINE void google_protobuf_FileOptions_set_java_outer_classname(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3517
3519
|
const upb_MiniTableField field = {8, 40, 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3518
|
-
|
3520
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3519
3521
|
}
|
3520
3522
|
UPB_INLINE void google_protobuf_FileOptions_set_optimize_for(google_protobuf_FileOptions *msg, int32_t value) {
|
3521
3523
|
const upb_MiniTableField field = {9, 12, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3522
|
-
|
3524
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3523
3525
|
}
|
3524
3526
|
UPB_INLINE void google_protobuf_FileOptions_set_java_multiple_files(google_protobuf_FileOptions *msg, bool value) {
|
3525
3527
|
const upb_MiniTableField field = {10, 16, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3526
|
-
|
3528
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3527
3529
|
}
|
3528
3530
|
UPB_INLINE void google_protobuf_FileOptions_set_go_package(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3529
3531
|
const upb_MiniTableField field = {11, UPB_SIZE(48, 56), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3530
|
-
|
3532
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3531
3533
|
}
|
3532
3534
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3533
3535
|
const upb_MiniTableField field = {16, 17, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3534
|
-
|
3536
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3535
3537
|
}
|
3536
3538
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3537
3539
|
const upb_MiniTableField field = {17, 18, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3538
|
-
|
3540
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3539
3541
|
}
|
3540
3542
|
UPB_INLINE void google_protobuf_FileOptions_set_py_generic_services(google_protobuf_FileOptions *msg, bool value) {
|
3541
3543
|
const upb_MiniTableField field = {18, 19, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3542
|
-
|
3544
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3543
3545
|
}
|
3544
3546
|
UPB_INLINE void google_protobuf_FileOptions_set_java_generate_equals_and_hash(google_protobuf_FileOptions *msg, bool value) {
|
3545
3547
|
const upb_MiniTableField field = {20, 20, 72, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3546
|
-
|
3548
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3547
3549
|
}
|
3548
3550
|
UPB_INLINE void google_protobuf_FileOptions_set_deprecated(google_protobuf_FileOptions *msg, bool value) {
|
3549
3551
|
const upb_MiniTableField field = {23, 21, 73, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3550
|
-
|
3552
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3551
3553
|
}
|
3552
3554
|
UPB_INLINE void google_protobuf_FileOptions_set_java_string_check_utf8(google_protobuf_FileOptions *msg, bool value) {
|
3553
3555
|
const upb_MiniTableField field = {27, 22, 74, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3554
|
-
|
3556
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3555
3557
|
}
|
3556
3558
|
UPB_INLINE void google_protobuf_FileOptions_set_cc_enable_arenas(google_protobuf_FileOptions *msg, bool value) {
|
3557
3559
|
const upb_MiniTableField field = {31, 23, 75, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3558
|
-
|
3560
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3559
3561
|
}
|
3560
3562
|
UPB_INLINE void google_protobuf_FileOptions_set_objc_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3561
3563
|
const upb_MiniTableField field = {36, UPB_SIZE(56, 72), 76, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3562
|
-
|
3564
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3563
3565
|
}
|
3564
3566
|
UPB_INLINE void google_protobuf_FileOptions_set_csharp_namespace(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3565
3567
|
const upb_MiniTableField field = {37, UPB_SIZE(64, 88), 77, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3566
|
-
|
3568
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3567
3569
|
}
|
3568
3570
|
UPB_INLINE void google_protobuf_FileOptions_set_swift_prefix(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3569
3571
|
const upb_MiniTableField field = {39, UPB_SIZE(72, 104), 78, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3570
|
-
|
3572
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3571
3573
|
}
|
3572
3574
|
UPB_INLINE void google_protobuf_FileOptions_set_php_class_prefix(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3573
3575
|
const upb_MiniTableField field = {40, UPB_SIZE(80, 120), 79, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3574
|
-
|
3576
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3575
3577
|
}
|
3576
3578
|
UPB_INLINE void google_protobuf_FileOptions_set_php_namespace(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3577
3579
|
const upb_MiniTableField field = {41, UPB_SIZE(88, 136), 80, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3578
|
-
|
3580
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3579
3581
|
}
|
3580
3582
|
UPB_INLINE void google_protobuf_FileOptions_set_php_metadata_namespace(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3581
3583
|
const upb_MiniTableField field = {44, UPB_SIZE(96, 152), 81, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3582
|
-
|
3584
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3583
3585
|
}
|
3584
3586
|
UPB_INLINE void google_protobuf_FileOptions_set_ruby_package(google_protobuf_FileOptions *msg, upb_StringView value) {
|
3585
3587
|
const upb_MiniTableField field = {45, UPB_SIZE(104, 168), 82, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
3586
|
-
|
3588
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3587
3589
|
}
|
3588
3590
|
UPB_INLINE void google_protobuf_FileOptions_set_features(google_protobuf_FileOptions *msg, google_protobuf_FeatureSet* value) {
|
3589
3591
|
const upb_MiniTableField field = {50, UPB_SIZE(24, 184), 83, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3590
|
-
|
3592
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3591
3593
|
}
|
3592
3594
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FileOptions_mutable_features(google_protobuf_FileOptions* msg, upb_Arena* arena) {
|
3593
3595
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FileOptions_features(msg);
|
@@ -3795,27 +3797,27 @@ UPB_INLINE upb_Array* _google_protobuf_MessageOptions_uninterpreted_option_mutab
|
|
3795
3797
|
|
3796
3798
|
UPB_INLINE void google_protobuf_MessageOptions_set_message_set_wire_format(google_protobuf_MessageOptions *msg, bool value) {
|
3797
3799
|
const upb_MiniTableField field = {1, 9, 64, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3798
|
-
|
3800
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3799
3801
|
}
|
3800
3802
|
UPB_INLINE void google_protobuf_MessageOptions_set_no_standard_descriptor_accessor(google_protobuf_MessageOptions *msg, bool value) {
|
3801
3803
|
const upb_MiniTableField field = {2, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3802
|
-
|
3804
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3803
3805
|
}
|
3804
3806
|
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated(google_protobuf_MessageOptions *msg, bool value) {
|
3805
3807
|
const upb_MiniTableField field = {3, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3806
|
-
|
3808
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3807
3809
|
}
|
3808
3810
|
UPB_INLINE void google_protobuf_MessageOptions_set_map_entry(google_protobuf_MessageOptions *msg, bool value) {
|
3809
3811
|
const upb_MiniTableField field = {7, 12, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3810
|
-
|
3812
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3811
3813
|
}
|
3812
3814
|
UPB_INLINE void google_protobuf_MessageOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_MessageOptions *msg, bool value) {
|
3813
3815
|
const upb_MiniTableField field = {11, 13, 68, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
3814
|
-
|
3816
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3815
3817
|
}
|
3816
3818
|
UPB_INLINE void google_protobuf_MessageOptions_set_features(google_protobuf_MessageOptions *msg, google_protobuf_FeatureSet* value) {
|
3817
3819
|
const upb_MiniTableField field = {12, 16, 69, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
3818
|
-
|
3820
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
3819
3821
|
}
|
3820
3822
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MessageOptions_mutable_features(google_protobuf_MessageOptions* msg, upb_Arena* arena) {
|
3821
3823
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MessageOptions_features(msg);
|
@@ -3893,19 +3895,19 @@ UPB_INLINE char* google_protobuf_FieldOptions_serialize_ex(const google_protobuf
|
|
3893
3895
|
return ptr;
|
3894
3896
|
}
|
3895
3897
|
UPB_INLINE void google_protobuf_FieldOptions_clear_ctype(google_protobuf_FieldOptions* msg) {
|
3896
|
-
const upb_MiniTableField field = {1, 12, 64,
|
3898
|
+
const upb_MiniTableField field = {1, 12, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3897
3899
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3898
3900
|
}
|
3899
3901
|
UPB_INLINE int32_t google_protobuf_FieldOptions_ctype(const google_protobuf_FieldOptions* msg) {
|
3900
3902
|
int32_t default_val = 0;
|
3901
3903
|
int32_t ret;
|
3902
|
-
const upb_MiniTableField field = {1, 12, 64,
|
3904
|
+
const upb_MiniTableField field = {1, 12, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3903
3905
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3904
3906
|
&default_val, &ret);
|
3905
3907
|
return ret;
|
3906
3908
|
}
|
3907
3909
|
UPB_INLINE bool google_protobuf_FieldOptions_has_ctype(const google_protobuf_FieldOptions* msg) {
|
3908
|
-
const upb_MiniTableField field = {1, 12, 64,
|
3910
|
+
const upb_MiniTableField field = {1, 12, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3909
3911
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3910
3912
|
}
|
3911
3913
|
UPB_INLINE void google_protobuf_FieldOptions_clear_packed(google_protobuf_FieldOptions* msg) {
|
@@ -3957,19 +3959,19 @@ UPB_INLINE bool google_protobuf_FieldOptions_has_lazy(const google_protobuf_Fiel
|
|
3957
3959
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3958
3960
|
}
|
3959
3961
|
UPB_INLINE void google_protobuf_FieldOptions_clear_jstype(google_protobuf_FieldOptions* msg) {
|
3960
|
-
const upb_MiniTableField field = {6, 20, 68,
|
3962
|
+
const upb_MiniTableField field = {6, 20, 68, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3961
3963
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
3962
3964
|
}
|
3963
3965
|
UPB_INLINE int32_t google_protobuf_FieldOptions_jstype(const google_protobuf_FieldOptions* msg) {
|
3964
3966
|
int32_t default_val = 0;
|
3965
3967
|
int32_t ret;
|
3966
|
-
const upb_MiniTableField field = {6, 20, 68,
|
3968
|
+
const upb_MiniTableField field = {6, 20, 68, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3967
3969
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
3968
3970
|
&default_val, &ret);
|
3969
3971
|
return ret;
|
3970
3972
|
}
|
3971
3973
|
UPB_INLINE bool google_protobuf_FieldOptions_has_jstype(const google_protobuf_FieldOptions* msg) {
|
3972
|
-
const upb_MiniTableField field = {6, 20, 68,
|
3974
|
+
const upb_MiniTableField field = {6, 20, 68, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
3973
3975
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
3974
3976
|
}
|
3975
3977
|
UPB_INLINE void google_protobuf_FieldOptions_clear_weak(google_protobuf_FieldOptions* msg) {
|
@@ -4021,27 +4023,27 @@ UPB_INLINE bool google_protobuf_FieldOptions_has_debug_redact(const google_proto
|
|
4021
4023
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4022
4024
|
}
|
4023
4025
|
UPB_INLINE void google_protobuf_FieldOptions_clear_retention(google_protobuf_FieldOptions* msg) {
|
4024
|
-
const upb_MiniTableField field = {17, 28, 72,
|
4026
|
+
const upb_MiniTableField field = {17, 28, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4025
4027
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4026
4028
|
}
|
4027
4029
|
UPB_INLINE int32_t google_protobuf_FieldOptions_retention(const google_protobuf_FieldOptions* msg) {
|
4028
4030
|
int32_t default_val = 0;
|
4029
4031
|
int32_t ret;
|
4030
|
-
const upb_MiniTableField field = {17, 28, 72,
|
4032
|
+
const upb_MiniTableField field = {17, 28, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4031
4033
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4032
4034
|
&default_val, &ret);
|
4033
4035
|
return ret;
|
4034
4036
|
}
|
4035
4037
|
UPB_INLINE bool google_protobuf_FieldOptions_has_retention(const google_protobuf_FieldOptions* msg) {
|
4036
|
-
const upb_MiniTableField field = {17, 28, 72,
|
4038
|
+
const upb_MiniTableField field = {17, 28, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4037
4039
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4038
4040
|
}
|
4039
4041
|
UPB_INLINE void google_protobuf_FieldOptions_clear_targets(google_protobuf_FieldOptions* msg) {
|
4040
|
-
const upb_MiniTableField field = {19, 32, 0,
|
4042
|
+
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)};
|
4041
4043
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4042
4044
|
}
|
4043
4045
|
UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4044
|
-
const upb_MiniTableField field = {19, 32, 0,
|
4046
|
+
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)};
|
4045
4047
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4046
4048
|
if (arr) {
|
4047
4049
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4052,7 +4054,7 @@ UPB_INLINE int32_t const* google_protobuf_FieldOptions_targets(const google_prot
|
|
4052
4054
|
}
|
4053
4055
|
}
|
4054
4056
|
UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4055
|
-
const upb_MiniTableField field = {19, 32, 0,
|
4057
|
+
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)};
|
4056
4058
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4057
4059
|
if (size) {
|
4058
4060
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -4060,7 +4062,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_targets_upb_array(cons
|
|
4060
4062
|
return arr;
|
4061
4063
|
}
|
4062
4064
|
UPB_INLINE upb_Array* _google_protobuf_FieldOptions_targets_mutable_upb_array(google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) {
|
4063
|
-
const upb_MiniTableField field = {19, 32, 0,
|
4065
|
+
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)};
|
4064
4066
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4065
4067
|
&field, arena);
|
4066
4068
|
if (size) {
|
@@ -4116,12 +4118,28 @@ UPB_INLINE bool google_protobuf_FieldOptions_has_features(const google_protobuf_
|
|
4116
4118
|
const upb_MiniTableField field = {21, UPB_SIZE(40, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4117
4119
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4118
4120
|
}
|
4121
|
+
UPB_INLINE void google_protobuf_FieldOptions_clear_feature_support(google_protobuf_FieldOptions* msg) {
|
4122
|
+
const upb_MiniTableField field = {22, UPB_SIZE(44, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4123
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4124
|
+
}
|
4125
|
+
UPB_INLINE const google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_feature_support(const google_protobuf_FieldOptions* msg) {
|
4126
|
+
const google_protobuf_FieldOptions_FeatureSupport* default_val = NULL;
|
4127
|
+
const google_protobuf_FieldOptions_FeatureSupport* ret;
|
4128
|
+
const upb_MiniTableField field = {22, UPB_SIZE(44, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4129
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4130
|
+
&default_val, &ret);
|
4131
|
+
return ret;
|
4132
|
+
}
|
4133
|
+
UPB_INLINE bool google_protobuf_FieldOptions_has_feature_support(const google_protobuf_FieldOptions* msg) {
|
4134
|
+
const upb_MiniTableField field = {22, UPB_SIZE(44, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4135
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4136
|
+
}
|
4119
4137
|
UPB_INLINE void google_protobuf_FieldOptions_clear_uninterpreted_option(google_protobuf_FieldOptions* msg) {
|
4120
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4138
|
+
const upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4121
4139
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4122
4140
|
}
|
4123
4141
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_FieldOptions_uninterpreted_option(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4124
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4142
|
+
const upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4125
4143
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4126
4144
|
if (arr) {
|
4127
4145
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4132,7 +4150,7 @@ UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_Fie
|
|
4132
4150
|
}
|
4133
4151
|
}
|
4134
4152
|
UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_upb_array(const google_protobuf_FieldOptions* msg, size_t* size) {
|
4135
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4153
|
+
const upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4136
4154
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4137
4155
|
if (size) {
|
4138
4156
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -4140,7 +4158,7 @@ UPB_INLINE const upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_u
|
|
4140
4158
|
return arr;
|
4141
4159
|
}
|
4142
4160
|
UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable_upb_array(google_protobuf_FieldOptions* msg, size_t* size, upb_Arena* arena) {
|
4143
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4161
|
+
const upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4144
4162
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4145
4163
|
&field, arena);
|
4146
4164
|
if (size) {
|
@@ -4150,43 +4168,43 @@ UPB_INLINE upb_Array* _google_protobuf_FieldOptions_uninterpreted_option_mutable
|
|
4150
4168
|
}
|
4151
4169
|
|
4152
4170
|
UPB_INLINE void google_protobuf_FieldOptions_set_ctype(google_protobuf_FieldOptions *msg, int32_t value) {
|
4153
|
-
const upb_MiniTableField field = {1, 12, 64,
|
4154
|
-
|
4171
|
+
const upb_MiniTableField field = {1, 12, 64, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4172
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4155
4173
|
}
|
4156
4174
|
UPB_INLINE void google_protobuf_FieldOptions_set_packed(google_protobuf_FieldOptions *msg, bool value) {
|
4157
4175
|
const upb_MiniTableField field = {2, 16, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4158
|
-
|
4176
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4159
4177
|
}
|
4160
4178
|
UPB_INLINE void google_protobuf_FieldOptions_set_deprecated(google_protobuf_FieldOptions *msg, bool value) {
|
4161
4179
|
const upb_MiniTableField field = {3, 17, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4162
|
-
|
4180
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4163
4181
|
}
|
4164
4182
|
UPB_INLINE void google_protobuf_FieldOptions_set_lazy(google_protobuf_FieldOptions *msg, bool value) {
|
4165
4183
|
const upb_MiniTableField field = {5, 18, 67, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4166
|
-
|
4184
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4167
4185
|
}
|
4168
4186
|
UPB_INLINE void google_protobuf_FieldOptions_set_jstype(google_protobuf_FieldOptions *msg, int32_t value) {
|
4169
|
-
const upb_MiniTableField field = {6, 20, 68,
|
4170
|
-
|
4187
|
+
const upb_MiniTableField field = {6, 20, 68, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4188
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4171
4189
|
}
|
4172
4190
|
UPB_INLINE void google_protobuf_FieldOptions_set_weak(google_protobuf_FieldOptions *msg, bool value) {
|
4173
4191
|
const upb_MiniTableField field = {10, 24, 69, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4174
|
-
|
4192
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4175
4193
|
}
|
4176
4194
|
UPB_INLINE void google_protobuf_FieldOptions_set_unverified_lazy(google_protobuf_FieldOptions *msg, bool value) {
|
4177
4195
|
const upb_MiniTableField field = {15, 25, 70, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4178
|
-
|
4196
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4179
4197
|
}
|
4180
4198
|
UPB_INLINE void google_protobuf_FieldOptions_set_debug_redact(google_protobuf_FieldOptions *msg, bool value) {
|
4181
4199
|
const upb_MiniTableField field = {16, 26, 71, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4182
|
-
|
4200
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4183
4201
|
}
|
4184
4202
|
UPB_INLINE void google_protobuf_FieldOptions_set_retention(google_protobuf_FieldOptions *msg, int32_t value) {
|
4185
|
-
const upb_MiniTableField field = {17, 28, 72,
|
4186
|
-
|
4203
|
+
const upb_MiniTableField field = {17, 28, 72, 6, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4204
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4187
4205
|
}
|
4188
4206
|
UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf_FieldOptions* msg, size_t* size) {
|
4189
|
-
upb_MiniTableField field = {19, 32, 0,
|
4207
|
+
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4190
4208
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4191
4209
|
if (arr) {
|
4192
4210
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4197,12 +4215,12 @@ UPB_INLINE int32_t* google_protobuf_FieldOptions_mutable_targets(google_protobuf
|
|
4197
4215
|
}
|
4198
4216
|
}
|
4199
4217
|
UPB_INLINE int32_t* google_protobuf_FieldOptions_resize_targets(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) {
|
4200
|
-
upb_MiniTableField field = {19, 32, 0,
|
4218
|
+
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4201
4219
|
return (int32_t*)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4202
4220
|
&field, size, arena);
|
4203
4221
|
}
|
4204
4222
|
UPB_INLINE bool google_protobuf_FieldOptions_add_targets(google_protobuf_FieldOptions* msg, int32_t val, upb_Arena* arena) {
|
4205
|
-
upb_MiniTableField field = {19, 32, 0,
|
4223
|
+
upb_MiniTableField field = {19, 32, 0, 7, 14, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4206
4224
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4207
4225
|
UPB_UPCAST(msg), &field, arena);
|
4208
4226
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -4245,7 +4263,7 @@ UPB_INLINE struct google_protobuf_FieldOptions_EditionDefault* google_protobuf_F
|
|
4245
4263
|
}
|
4246
4264
|
UPB_INLINE void google_protobuf_FieldOptions_set_features(google_protobuf_FieldOptions *msg, google_protobuf_FeatureSet* value) {
|
4247
4265
|
const upb_MiniTableField field = {21, UPB_SIZE(40, 48), 73, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4248
|
-
|
4266
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4249
4267
|
}
|
4250
4268
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutable_features(google_protobuf_FieldOptions* msg, upb_Arena* arena) {
|
4251
4269
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FieldOptions_features(msg);
|
@@ -4255,8 +4273,20 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FieldOptions_mutab
|
|
4255
4273
|
}
|
4256
4274
|
return sub;
|
4257
4275
|
}
|
4276
|
+
UPB_INLINE void google_protobuf_FieldOptions_set_feature_support(google_protobuf_FieldOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) {
|
4277
|
+
const upb_MiniTableField field = {22, UPB_SIZE(44, 56), 74, 2, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4278
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4279
|
+
}
|
4280
|
+
UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_mutable_feature_support(google_protobuf_FieldOptions* msg, upb_Arena* arena) {
|
4281
|
+
struct google_protobuf_FieldOptions_FeatureSupport* sub = (struct google_protobuf_FieldOptions_FeatureSupport*)google_protobuf_FieldOptions_feature_support(msg);
|
4282
|
+
if (sub == NULL) {
|
4283
|
+
sub = (struct google_protobuf_FieldOptions_FeatureSupport*)_upb_Message_New(&google__protobuf__FieldOptions__FeatureSupport_msg_init, arena);
|
4284
|
+
if (sub) google_protobuf_FieldOptions_set_feature_support(msg, sub);
|
4285
|
+
}
|
4286
|
+
return sub;
|
4287
|
+
}
|
4258
4288
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mutable_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t* size) {
|
4259
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4289
|
+
upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4260
4290
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4261
4291
|
if (arr) {
|
4262
4292
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4267,12 +4297,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_mu
|
|
4267
4297
|
}
|
4268
4298
|
}
|
4269
4299
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_FieldOptions_resize_uninterpreted_option(google_protobuf_FieldOptions* msg, size_t size, upb_Arena* arena) {
|
4270
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4300
|
+
upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4271
4301
|
return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4272
4302
|
&field, size, arena);
|
4273
4303
|
}
|
4274
4304
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_FieldOptions_add_uninterpreted_option(google_protobuf_FieldOptions* msg, upb_Arena* arena) {
|
4275
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4305
|
+
upb_MiniTableField field = {999, UPB_SIZE(48, 64), 0, 3, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4276
4306
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4277
4307
|
UPB_UPCAST(msg), &field, arena);
|
4278
4308
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -4357,11 +4387,129 @@ UPB_INLINE bool google_protobuf_FieldOptions_EditionDefault_has_edition(const go
|
|
4357
4387
|
|
4358
4388
|
UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_value(google_protobuf_FieldOptions_EditionDefault *msg, upb_StringView value) {
|
4359
4389
|
const upb_MiniTableField field = {2, 16, 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
4360
|
-
|
4390
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4361
4391
|
}
|
4362
4392
|
UPB_INLINE void google_protobuf_FieldOptions_EditionDefault_set_edition(google_protobuf_FieldOptions_EditionDefault *msg, int32_t value) {
|
4363
4393
|
const upb_MiniTableField field = {3, 12, 65, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4364
|
-
|
4394
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4395
|
+
}
|
4396
|
+
|
4397
|
+
/* google.protobuf.FieldOptions.FeatureSupport */
|
4398
|
+
|
4399
|
+
UPB_INLINE google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_FeatureSupport_new(upb_Arena* arena) {
|
4400
|
+
return (google_protobuf_FieldOptions_FeatureSupport*)_upb_Message_New(&google__protobuf__FieldOptions__FeatureSupport_msg_init, arena);
|
4401
|
+
}
|
4402
|
+
UPB_INLINE google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_FeatureSupport_parse(const char* buf, size_t size, upb_Arena* arena) {
|
4403
|
+
google_protobuf_FieldOptions_FeatureSupport* ret = google_protobuf_FieldOptions_FeatureSupport_new(arena);
|
4404
|
+
if (!ret) return NULL;
|
4405
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__protobuf__FieldOptions__FeatureSupport_msg_init, NULL, 0, arena) !=
|
4406
|
+
kUpb_DecodeStatus_Ok) {
|
4407
|
+
return NULL;
|
4408
|
+
}
|
4409
|
+
return ret;
|
4410
|
+
}
|
4411
|
+
UPB_INLINE google_protobuf_FieldOptions_FeatureSupport* google_protobuf_FieldOptions_FeatureSupport_parse_ex(const char* buf, size_t size,
|
4412
|
+
const upb_ExtensionRegistry* extreg,
|
4413
|
+
int options, upb_Arena* arena) {
|
4414
|
+
google_protobuf_FieldOptions_FeatureSupport* ret = google_protobuf_FieldOptions_FeatureSupport_new(arena);
|
4415
|
+
if (!ret) return NULL;
|
4416
|
+
if (upb_Decode(buf, size, UPB_UPCAST(ret), &google__protobuf__FieldOptions__FeatureSupport_msg_init, extreg, options,
|
4417
|
+
arena) != kUpb_DecodeStatus_Ok) {
|
4418
|
+
return NULL;
|
4419
|
+
}
|
4420
|
+
return ret;
|
4421
|
+
}
|
4422
|
+
UPB_INLINE char* google_protobuf_FieldOptions_FeatureSupport_serialize(const google_protobuf_FieldOptions_FeatureSupport* msg, upb_Arena* arena, size_t* len) {
|
4423
|
+
char* ptr;
|
4424
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__protobuf__FieldOptions__FeatureSupport_msg_init, 0, arena, &ptr, len);
|
4425
|
+
return ptr;
|
4426
|
+
}
|
4427
|
+
UPB_INLINE char* google_protobuf_FieldOptions_FeatureSupport_serialize_ex(const google_protobuf_FieldOptions_FeatureSupport* msg, int options,
|
4428
|
+
upb_Arena* arena, size_t* len) {
|
4429
|
+
char* ptr;
|
4430
|
+
(void)upb_Encode(UPB_UPCAST(msg), &google__protobuf__FieldOptions__FeatureSupport_msg_init, options, arena, &ptr, len);
|
4431
|
+
return ptr;
|
4432
|
+
}
|
4433
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_clear_edition_introduced(google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4434
|
+
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4435
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4436
|
+
}
|
4437
|
+
UPB_INLINE int32_t google_protobuf_FieldOptions_FeatureSupport_edition_introduced(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4438
|
+
int32_t default_val = 0;
|
4439
|
+
int32_t ret;
|
4440
|
+
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4441
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4442
|
+
&default_val, &ret);
|
4443
|
+
return ret;
|
4444
|
+
}
|
4445
|
+
UPB_INLINE bool google_protobuf_FieldOptions_FeatureSupport_has_edition_introduced(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4446
|
+
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4447
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4448
|
+
}
|
4449
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_clear_edition_deprecated(google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4450
|
+
const upb_MiniTableField field = {2, 16, 65, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4451
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4452
|
+
}
|
4453
|
+
UPB_INLINE int32_t google_protobuf_FieldOptions_FeatureSupport_edition_deprecated(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4454
|
+
int32_t default_val = 0;
|
4455
|
+
int32_t ret;
|
4456
|
+
const upb_MiniTableField field = {2, 16, 65, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4457
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4458
|
+
&default_val, &ret);
|
4459
|
+
return ret;
|
4460
|
+
}
|
4461
|
+
UPB_INLINE bool google_protobuf_FieldOptions_FeatureSupport_has_edition_deprecated(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4462
|
+
const upb_MiniTableField field = {2, 16, 65, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4463
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4464
|
+
}
|
4465
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_clear_deprecation_warning(google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4466
|
+
const upb_MiniTableField field = {3, 24, 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
4467
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4468
|
+
}
|
4469
|
+
UPB_INLINE upb_StringView google_protobuf_FieldOptions_FeatureSupport_deprecation_warning(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4470
|
+
upb_StringView default_val = upb_StringView_FromString("");
|
4471
|
+
upb_StringView ret;
|
4472
|
+
const upb_MiniTableField field = {3, 24, 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
4473
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4474
|
+
&default_val, &ret);
|
4475
|
+
return ret;
|
4476
|
+
}
|
4477
|
+
UPB_INLINE bool google_protobuf_FieldOptions_FeatureSupport_has_deprecation_warning(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4478
|
+
const upb_MiniTableField field = {3, 24, 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
4479
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4480
|
+
}
|
4481
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_clear_edition_removed(google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4482
|
+
const upb_MiniTableField field = {4, 20, 67, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4483
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4484
|
+
}
|
4485
|
+
UPB_INLINE int32_t google_protobuf_FieldOptions_FeatureSupport_edition_removed(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4486
|
+
int32_t default_val = 0;
|
4487
|
+
int32_t ret;
|
4488
|
+
const upb_MiniTableField field = {4, 20, 67, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4489
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4490
|
+
&default_val, &ret);
|
4491
|
+
return ret;
|
4492
|
+
}
|
4493
|
+
UPB_INLINE bool google_protobuf_FieldOptions_FeatureSupport_has_edition_removed(const google_protobuf_FieldOptions_FeatureSupport* msg) {
|
4494
|
+
const upb_MiniTableField field = {4, 20, 67, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4495
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4496
|
+
}
|
4497
|
+
|
4498
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_introduced(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) {
|
4499
|
+
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4500
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4501
|
+
}
|
4502
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_deprecated(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) {
|
4503
|
+
const upb_MiniTableField field = {2, 16, 65, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4504
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4505
|
+
}
|
4506
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_deprecation_warning(google_protobuf_FieldOptions_FeatureSupport *msg, upb_StringView value) {
|
4507
|
+
const upb_MiniTableField field = {3, 24, 66, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
4508
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4509
|
+
}
|
4510
|
+
UPB_INLINE void google_protobuf_FieldOptions_FeatureSupport_set_edition_removed(google_protobuf_FieldOptions_FeatureSupport *msg, int32_t value) {
|
4511
|
+
const upb_MiniTableField field = {4, 20, 67, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
4512
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4365
4513
|
}
|
4366
4514
|
|
4367
4515
|
/* google.protobuf.OneofOptions */
|
@@ -4451,7 +4599,7 @@ UPB_INLINE upb_Array* _google_protobuf_OneofOptions_uninterpreted_option_mutable
|
|
4451
4599
|
|
4452
4600
|
UPB_INLINE void google_protobuf_OneofOptions_set_features(google_protobuf_OneofOptions *msg, google_protobuf_FeatureSet* value) {
|
4453
4601
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4454
|
-
|
4602
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4455
4603
|
}
|
4456
4604
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_OneofOptions_mutable_features(google_protobuf_OneofOptions* msg, upb_Arena* arena) {
|
4457
4605
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_OneofOptions_features(msg);
|
@@ -4627,19 +4775,19 @@ UPB_INLINE upb_Array* _google_protobuf_EnumOptions_uninterpreted_option_mutable_
|
|
4627
4775
|
|
4628
4776
|
UPB_INLINE void google_protobuf_EnumOptions_set_allow_alias(google_protobuf_EnumOptions *msg, bool value) {
|
4629
4777
|
const upb_MiniTableField field = {2, 9, 64, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4630
|
-
|
4778
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4631
4779
|
}
|
4632
4780
|
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated(google_protobuf_EnumOptions *msg, bool value) {
|
4633
4781
|
const upb_MiniTableField field = {3, 10, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4634
|
-
|
4782
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4635
4783
|
}
|
4636
4784
|
UPB_INLINE void google_protobuf_EnumOptions_set_deprecated_legacy_json_field_conflicts(google_protobuf_EnumOptions *msg, bool value) {
|
4637
4785
|
const upb_MiniTableField field = {6, 11, 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4638
|
-
|
4786
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4639
4787
|
}
|
4640
4788
|
UPB_INLINE void google_protobuf_EnumOptions_set_features(google_protobuf_EnumOptions *msg, google_protobuf_FeatureSet* value) {
|
4641
4789
|
const upb_MiniTableField field = {7, UPB_SIZE(12, 16), 67, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4642
|
-
|
4790
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4643
4791
|
}
|
4644
4792
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumOptions_mutable_features(google_protobuf_EnumOptions* msg, upb_Arena* arena) {
|
4645
4793
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumOptions_features(msg);
|
@@ -4764,12 +4912,28 @@ UPB_INLINE bool google_protobuf_EnumValueOptions_has_debug_redact(const google_p
|
|
4764
4912
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 10), 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4765
4913
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4766
4914
|
}
|
4915
|
+
UPB_INLINE void google_protobuf_EnumValueOptions_clear_feature_support(google_protobuf_EnumValueOptions* msg) {
|
4916
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4917
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4918
|
+
}
|
4919
|
+
UPB_INLINE const google_protobuf_FieldOptions_FeatureSupport* google_protobuf_EnumValueOptions_feature_support(const google_protobuf_EnumValueOptions* msg) {
|
4920
|
+
const google_protobuf_FieldOptions_FeatureSupport* default_val = NULL;
|
4921
|
+
const google_protobuf_FieldOptions_FeatureSupport* ret;
|
4922
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4923
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
4924
|
+
&default_val, &ret);
|
4925
|
+
return ret;
|
4926
|
+
}
|
4927
|
+
UPB_INLINE bool google_protobuf_EnumValueOptions_has_feature_support(const google_protobuf_EnumValueOptions* msg) {
|
4928
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4929
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
4930
|
+
}
|
4767
4931
|
UPB_INLINE void google_protobuf_EnumValueOptions_clear_uninterpreted_option(google_protobuf_EnumValueOptions* msg) {
|
4768
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4932
|
+
const upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4769
4933
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
4770
4934
|
}
|
4771
4935
|
UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_EnumValueOptions_uninterpreted_option(const google_protobuf_EnumValueOptions* msg, size_t* size) {
|
4772
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4936
|
+
const upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4773
4937
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4774
4938
|
if (arr) {
|
4775
4939
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4780,7 +4944,7 @@ UPB_INLINE const google_protobuf_UninterpretedOption* const* google_protobuf_Enu
|
|
4780
4944
|
}
|
4781
4945
|
}
|
4782
4946
|
UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_upb_array(const google_protobuf_EnumValueOptions* msg, size_t* size) {
|
4783
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4947
|
+
const upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4784
4948
|
const upb_Array* arr = upb_Message_GetArray(UPB_UPCAST(msg), &field);
|
4785
4949
|
if (size) {
|
4786
4950
|
*size = arr ? arr->UPB_PRIVATE(size) : 0;
|
@@ -4788,7 +4952,7 @@ UPB_INLINE const upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_opti
|
|
4788
4952
|
return arr;
|
4789
4953
|
}
|
4790
4954
|
UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mutable_upb_array(google_protobuf_EnumValueOptions* msg, size_t* size, upb_Arena* arena) {
|
4791
|
-
const upb_MiniTableField field = {999, UPB_SIZE(
|
4955
|
+
const upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4792
4956
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(UPB_UPCAST(msg),
|
4793
4957
|
&field, arena);
|
4794
4958
|
if (size) {
|
@@ -4799,11 +4963,11 @@ UPB_INLINE upb_Array* _google_protobuf_EnumValueOptions_uninterpreted_option_mut
|
|
4799
4963
|
|
4800
4964
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_deprecated(google_protobuf_EnumValueOptions *msg, bool value) {
|
4801
4965
|
const upb_MiniTableField field = {1, 9, 64, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4802
|
-
|
4966
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4803
4967
|
}
|
4804
4968
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_features(google_protobuf_EnumValueOptions *msg, google_protobuf_FeatureSet* value) {
|
4805
4969
|
const upb_MiniTableField field = {2, UPB_SIZE(12, 16), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4806
|
-
|
4970
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4807
4971
|
}
|
4808
4972
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_mutable_features(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
|
4809
4973
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_EnumValueOptions_features(msg);
|
@@ -4815,10 +4979,22 @@ UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_EnumValueOptions_m
|
|
4815
4979
|
}
|
4816
4980
|
UPB_INLINE void google_protobuf_EnumValueOptions_set_debug_redact(google_protobuf_EnumValueOptions *msg, bool value) {
|
4817
4981
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 10), 66, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4818
|
-
|
4982
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4983
|
+
}
|
4984
|
+
UPB_INLINE void google_protobuf_EnumValueOptions_set_feature_support(google_protobuf_EnumValueOptions *msg, google_protobuf_FieldOptions_FeatureSupport* value) {
|
4985
|
+
const upb_MiniTableField field = {4, UPB_SIZE(20, 24), 67, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4986
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4987
|
+
}
|
4988
|
+
UPB_INLINE struct google_protobuf_FieldOptions_FeatureSupport* google_protobuf_EnumValueOptions_mutable_feature_support(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
|
4989
|
+
struct google_protobuf_FieldOptions_FeatureSupport* sub = (struct google_protobuf_FieldOptions_FeatureSupport*)google_protobuf_EnumValueOptions_feature_support(msg);
|
4990
|
+
if (sub == NULL) {
|
4991
|
+
sub = (struct google_protobuf_FieldOptions_FeatureSupport*)_upb_Message_New(&google__protobuf__FieldOptions__FeatureSupport_msg_init, arena);
|
4992
|
+
if (sub) google_protobuf_EnumValueOptions_set_feature_support(msg, sub);
|
4993
|
+
}
|
4994
|
+
return sub;
|
4819
4995
|
}
|
4820
4996
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_mutable_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t* size) {
|
4821
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
4997
|
+
upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4822
4998
|
upb_Array* arr = upb_Message_GetMutableArray(UPB_UPCAST(msg), &field);
|
4823
4999
|
if (arr) {
|
4824
5000
|
if (size) *size = arr->UPB_PRIVATE(size);
|
@@ -4829,12 +5005,12 @@ UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOption
|
|
4829
5005
|
}
|
4830
5006
|
}
|
4831
5007
|
UPB_INLINE google_protobuf_UninterpretedOption** google_protobuf_EnumValueOptions_resize_uninterpreted_option(google_protobuf_EnumValueOptions* msg, size_t size, upb_Arena* arena) {
|
4832
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
5008
|
+
upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4833
5009
|
return (google_protobuf_UninterpretedOption**)upb_Message_ResizeArrayUninitialized(UPB_UPCAST(msg),
|
4834
5010
|
&field, size, arena);
|
4835
5011
|
}
|
4836
5012
|
UPB_INLINE struct google_protobuf_UninterpretedOption* google_protobuf_EnumValueOptions_add_uninterpreted_option(google_protobuf_EnumValueOptions* msg, upb_Arena* arena) {
|
4837
|
-
upb_MiniTableField field = {999, UPB_SIZE(
|
5013
|
+
upb_MiniTableField field = {999, UPB_SIZE(24, 32), 0, 2, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4838
5014
|
upb_Array* arr = upb_Message_GetOrCreateMutableArray(
|
4839
5015
|
UPB_UPCAST(msg), &field, arena);
|
4840
5016
|
if (!arr || !UPB_PRIVATE(_upb_Array_ResizeUninitialized)(
|
@@ -4951,11 +5127,11 @@ UPB_INLINE upb_Array* _google_protobuf_ServiceOptions_uninterpreted_option_mutab
|
|
4951
5127
|
|
4952
5128
|
UPB_INLINE void google_protobuf_ServiceOptions_set_deprecated(google_protobuf_ServiceOptions *msg, bool value) {
|
4953
5129
|
const upb_MiniTableField field = {33, 9, 64, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
4954
|
-
|
5130
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4955
5131
|
}
|
4956
5132
|
UPB_INLINE void google_protobuf_ServiceOptions_set_features(google_protobuf_ServiceOptions *msg, google_protobuf_FeatureSet* value) {
|
4957
5133
|
const upb_MiniTableField field = {34, UPB_SIZE(12, 16), 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
4958
|
-
|
5134
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
4959
5135
|
}
|
4960
5136
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_ServiceOptions_mutable_features(google_protobuf_ServiceOptions* msg, upb_Arena* arena) {
|
4961
5137
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_ServiceOptions_features(msg);
|
@@ -5115,15 +5291,15 @@ UPB_INLINE upb_Array* _google_protobuf_MethodOptions_uninterpreted_option_mutabl
|
|
5115
5291
|
|
5116
5292
|
UPB_INLINE void google_protobuf_MethodOptions_set_deprecated(google_protobuf_MethodOptions *msg, bool value) {
|
5117
5293
|
const upb_MiniTableField field = {33, 9, 64, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5118
|
-
|
5294
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5119
5295
|
}
|
5120
5296
|
UPB_INLINE void google_protobuf_MethodOptions_set_idempotency_level(google_protobuf_MethodOptions *msg, int32_t value) {
|
5121
5297
|
const upb_MiniTableField field = {34, 12, 65, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5122
|
-
|
5298
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5123
5299
|
}
|
5124
5300
|
UPB_INLINE void google_protobuf_MethodOptions_set_features(google_protobuf_MethodOptions *msg, google_protobuf_FeatureSet* value) {
|
5125
5301
|
const upb_MiniTableField field = {35, 16, 66, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5126
|
-
|
5302
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5127
5303
|
}
|
5128
5304
|
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_MethodOptions_mutable_features(google_protobuf_MethodOptions* msg, upb_Arena* arena) {
|
5129
5305
|
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_MethodOptions_features(msg);
|
@@ -5361,27 +5537,27 @@ UPB_INLINE struct google_protobuf_UninterpretedOption_NamePart* google_protobuf_
|
|
5361
5537
|
}
|
5362
5538
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_identifier_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5363
5539
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 24), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5364
|
-
|
5540
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5365
5541
|
}
|
5366
5542
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_positive_int_value(google_protobuf_UninterpretedOption *msg, uint64_t value) {
|
5367
5543
|
const upb_MiniTableField field = {4, UPB_SIZE(24, 40), 65, kUpb_NoSub, 4, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5368
|
-
|
5544
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5369
5545
|
}
|
5370
5546
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_negative_int_value(google_protobuf_UninterpretedOption *msg, int64_t value) {
|
5371
5547
|
const upb_MiniTableField field = {5, UPB_SIZE(32, 48), 66, kUpb_NoSub, 3, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5372
|
-
|
5548
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5373
5549
|
}
|
5374
5550
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_double_value(google_protobuf_UninterpretedOption *msg, double value) {
|
5375
5551
|
const upb_MiniTableField field = {6, UPB_SIZE(40, 56), 67, kUpb_NoSub, 1, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)};
|
5376
|
-
|
5552
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5377
5553
|
}
|
5378
5554
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_string_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5379
5555
|
const upb_MiniTableField field = {7, UPB_SIZE(48, 64), 68, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5380
|
-
|
5556
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5381
5557
|
}
|
5382
5558
|
UPB_INLINE void google_protobuf_UninterpretedOption_set_aggregate_value(google_protobuf_UninterpretedOption *msg, upb_StringView value) {
|
5383
5559
|
const upb_MiniTableField field = {8, UPB_SIZE(56, 80), 69, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5384
|
-
|
5560
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5385
5561
|
}
|
5386
5562
|
|
5387
5563
|
/* google.protobuf.UninterpretedOption.NamePart */
|
@@ -5455,11 +5631,11 @@ UPB_INLINE bool google_protobuf_UninterpretedOption_NamePart_has_is_extension(co
|
|
5455
5631
|
|
5456
5632
|
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_name_part(google_protobuf_UninterpretedOption_NamePart *msg, upb_StringView value) {
|
5457
5633
|
const upb_MiniTableField field = {1, UPB_SIZE(12, 16), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
5458
|
-
|
5634
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5459
5635
|
}
|
5460
5636
|
UPB_INLINE void google_protobuf_UninterpretedOption_NamePart_set_is_extension(google_protobuf_UninterpretedOption_NamePart *msg, bool value) {
|
5461
5637
|
const upb_MiniTableField field = {2, 9, 65, kUpb_NoSub, 8, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)};
|
5462
|
-
|
5638
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5463
5639
|
}
|
5464
5640
|
|
5465
5641
|
/* google.protobuf.FeatureSet */
|
@@ -5597,27 +5773,27 @@ UPB_INLINE bool google_protobuf_FeatureSet_has_json_format(const google_protobuf
|
|
5597
5773
|
|
5598
5774
|
UPB_INLINE void google_protobuf_FeatureSet_set_field_presence(google_protobuf_FeatureSet *msg, int32_t value) {
|
5599
5775
|
const upb_MiniTableField field = {1, 12, 64, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5600
|
-
|
5776
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5601
5777
|
}
|
5602
5778
|
UPB_INLINE void google_protobuf_FeatureSet_set_enum_type(google_protobuf_FeatureSet *msg, int32_t value) {
|
5603
5779
|
const upb_MiniTableField field = {2, 16, 65, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5604
|
-
|
5780
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5605
5781
|
}
|
5606
5782
|
UPB_INLINE void google_protobuf_FeatureSet_set_repeated_field_encoding(google_protobuf_FeatureSet *msg, int32_t value) {
|
5607
5783
|
const upb_MiniTableField field = {3, 20, 66, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5608
|
-
|
5784
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5609
5785
|
}
|
5610
5786
|
UPB_INLINE void google_protobuf_FeatureSet_set_utf8_validation(google_protobuf_FeatureSet *msg, int32_t value) {
|
5611
5787
|
const upb_MiniTableField field = {4, 24, 67, 3, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5612
|
-
|
5788
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5613
5789
|
}
|
5614
5790
|
UPB_INLINE void google_protobuf_FeatureSet_set_message_encoding(google_protobuf_FeatureSet *msg, int32_t value) {
|
5615
5791
|
const upb_MiniTableField field = {5, 28, 68, 4, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5616
|
-
|
5792
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5617
5793
|
}
|
5618
5794
|
UPB_INLINE void google_protobuf_FeatureSet_set_json_format(google_protobuf_FeatureSet *msg, int32_t value) {
|
5619
5795
|
const upb_MiniTableField field = {6, 32, 69, 5, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5620
|
-
|
5796
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5621
5797
|
}
|
5622
5798
|
|
5623
5799
|
/* google.protobuf.FeatureSetDefaults */
|
@@ -5753,11 +5929,11 @@ UPB_INLINE struct google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* g
|
|
5753
5929
|
}
|
5754
5930
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_set_minimum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) {
|
5755
5931
|
const upb_MiniTableField field = {4, UPB_SIZE(16, 12), 64, 1, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5756
|
-
|
5932
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5757
5933
|
}
|
5758
5934
|
UPB_INLINE void google_protobuf_FeatureSetDefaults_set_maximum_edition(google_protobuf_FeatureSetDefaults *msg, int32_t value) {
|
5759
5935
|
const upb_MiniTableField field = {5, UPB_SIZE(20, 16), 65, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5760
|
-
|
5936
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5761
5937
|
}
|
5762
5938
|
|
5763
5939
|
/* google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault */
|
@@ -5796,54 +5972,82 @@ UPB_INLINE char* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_ser
|
|
5796
5972
|
(void)upb_Encode(UPB_UPCAST(msg), &google__protobuf__FeatureSetDefaults__FeatureSetEditionDefault_msg_init, options, arena, &ptr, len);
|
5797
5973
|
return ptr;
|
5798
5974
|
}
|
5799
|
-
UPB_INLINE void
|
5800
|
-
const upb_MiniTableField field = {
|
5975
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_clear_edition(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
5976
|
+
const upb_MiniTableField field = {3, 12, 64, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5977
|
+
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5978
|
+
}
|
5979
|
+
UPB_INLINE int32_t google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_edition(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
5980
|
+
int32_t default_val = 0;
|
5981
|
+
int32_t ret;
|
5982
|
+
const upb_MiniTableField field = {3, 12, 64, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5983
|
+
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5984
|
+
&default_val, &ret);
|
5985
|
+
return ret;
|
5986
|
+
}
|
5987
|
+
UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_edition(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
5988
|
+
const upb_MiniTableField field = {3, 12, 64, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
5989
|
+
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5990
|
+
}
|
5991
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_clear_overridable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
5992
|
+
const upb_MiniTableField field = {4, 16, 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5801
5993
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5802
5994
|
}
|
5803
|
-
UPB_INLINE const google_protobuf_FeatureSet*
|
5995
|
+
UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_overridable_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
5804
5996
|
const google_protobuf_FeatureSet* default_val = NULL;
|
5805
5997
|
const google_protobuf_FeatureSet* ret;
|
5806
|
-
const upb_MiniTableField field = {
|
5998
|
+
const upb_MiniTableField field = {4, 16, 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5807
5999
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5808
6000
|
&default_val, &ret);
|
5809
6001
|
return ret;
|
5810
6002
|
}
|
5811
|
-
UPB_INLINE bool
|
5812
|
-
const upb_MiniTableField field = {
|
6003
|
+
UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_overridable_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
6004
|
+
const upb_MiniTableField field = {4, 16, 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5813
6005
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5814
6006
|
}
|
5815
|
-
UPB_INLINE void
|
5816
|
-
const upb_MiniTableField field = {
|
6007
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_clear_fixed_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
6008
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 24), 66, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5817
6009
|
upb_Message_ClearBaseField(UPB_UPCAST(msg), &field);
|
5818
6010
|
}
|
5819
|
-
UPB_INLINE
|
5820
|
-
|
5821
|
-
|
5822
|
-
const upb_MiniTableField field = {
|
6011
|
+
UPB_INLINE const google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_fixed_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
6012
|
+
const google_protobuf_FeatureSet* default_val = NULL;
|
6013
|
+
const google_protobuf_FeatureSet* ret;
|
6014
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 24), 66, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5823
6015
|
_upb_Message_GetNonExtensionField(UPB_UPCAST(msg), &field,
|
5824
6016
|
&default_val, &ret);
|
5825
6017
|
return ret;
|
5826
6018
|
}
|
5827
|
-
UPB_INLINE bool
|
5828
|
-
const upb_MiniTableField field = {
|
6019
|
+
UPB_INLINE bool google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_has_fixed_features(const google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg) {
|
6020
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 24), 66, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
5829
6021
|
return upb_Message_HasBaseField(UPB_UPCAST(msg), &field);
|
5830
6022
|
}
|
5831
6023
|
|
5832
|
-
UPB_INLINE void
|
5833
|
-
const upb_MiniTableField field = {
|
5834
|
-
|
6024
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_edition(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, int32_t value) {
|
6025
|
+
const upb_MiniTableField field = {3, 12, 64, 2, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
6026
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6027
|
+
}
|
6028
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_overridable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) {
|
6029
|
+
const upb_MiniTableField field = {4, 16, 65, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6030
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
5835
6031
|
}
|
5836
|
-
UPB_INLINE struct google_protobuf_FeatureSet*
|
5837
|
-
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)
|
6032
|
+
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_overridable_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) {
|
6033
|
+
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_overridable_features(msg);
|
5838
6034
|
if (sub == NULL) {
|
5839
6035
|
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena);
|
5840
|
-
if (sub)
|
6036
|
+
if (sub) google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_overridable_features(msg, sub);
|
5841
6037
|
}
|
5842
6038
|
return sub;
|
5843
6039
|
}
|
5844
|
-
UPB_INLINE void
|
5845
|
-
const upb_MiniTableField field = {
|
5846
|
-
|
6040
|
+
UPB_INLINE void google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_fixed_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault *msg, google_protobuf_FeatureSet* value) {
|
6041
|
+
const upb_MiniTableField field = {5, UPB_SIZE(20, 24), 66, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)};
|
6042
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6043
|
+
}
|
6044
|
+
UPB_INLINE struct google_protobuf_FeatureSet* google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_mutable_fixed_features(google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault* msg, upb_Arena* arena) {
|
6045
|
+
struct google_protobuf_FeatureSet* sub = (struct google_protobuf_FeatureSet*)google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_fixed_features(msg);
|
6046
|
+
if (sub == NULL) {
|
6047
|
+
sub = (struct google_protobuf_FeatureSet*)_upb_Message_New(&google__protobuf__FeatureSet_msg_init, arena);
|
6048
|
+
if (sub) google_protobuf_FeatureSetDefaults_FeatureSetEditionDefault_set_fixed_features(msg, sub);
|
6049
|
+
}
|
6050
|
+
return sub;
|
5847
6051
|
}
|
5848
6052
|
|
5849
6053
|
/* google.protobuf.SourceCodeInfo */
|
@@ -6169,11 +6373,11 @@ UPB_INLINE bool google_protobuf_SourceCodeInfo_Location_add_span(google_protobuf
|
|
6169
6373
|
}
|
6170
6374
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_leading_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) {
|
6171
6375
|
const upb_MiniTableField field = {3, UPB_SIZE(24, 32), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6172
|
-
|
6376
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6173
6377
|
}
|
6174
6378
|
UPB_INLINE void google_protobuf_SourceCodeInfo_Location_set_trailing_comments(google_protobuf_SourceCodeInfo_Location *msg, upb_StringView value) {
|
6175
6379
|
const upb_MiniTableField field = {4, UPB_SIZE(32, 48), 65, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6176
|
-
|
6380
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6177
6381
|
}
|
6178
6382
|
UPB_INLINE upb_StringView* google_protobuf_SourceCodeInfo_Location_mutable_leading_detached_comments(google_protobuf_SourceCodeInfo_Location* msg, size_t* size) {
|
6179
6383
|
upb_MiniTableField field = {6, UPB_SIZE(20, 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)};
|
@@ -6467,19 +6671,19 @@ UPB_INLINE bool google_protobuf_GeneratedCodeInfo_Annotation_add_path(google_pro
|
|
6467
6671
|
}
|
6468
6672
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_source_file(google_protobuf_GeneratedCodeInfo_Annotation *msg, upb_StringView value) {
|
6469
6673
|
const upb_MiniTableField field = {2, UPB_SIZE(28, 32), 64, kUpb_NoSub, 12, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)};
|
6470
|
-
|
6674
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6471
6675
|
}
|
6472
6676
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_begin(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) {
|
6473
6677
|
const upb_MiniTableField field = {3, UPB_SIZE(16, 12), 65, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
6474
|
-
|
6678
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6475
6679
|
}
|
6476
6680
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_end(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) {
|
6477
6681
|
const upb_MiniTableField field = {4, UPB_SIZE(20, 16), 66, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
6478
|
-
|
6682
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6479
6683
|
}
|
6480
6684
|
UPB_INLINE void google_protobuf_GeneratedCodeInfo_Annotation_set_semantic(google_protobuf_GeneratedCodeInfo_Annotation *msg, int32_t value) {
|
6481
6685
|
const upb_MiniTableField field = {5, UPB_SIZE(24, 20), 67, 0, 14, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)};
|
6482
|
-
|
6686
|
+
upb_Message_SetBaseField((upb_Message *)msg, &field, &value);
|
6483
6687
|
}
|
6484
6688
|
|
6485
6689
|
/* Max size 32 is google.protobuf.FileOptions */
|