grpc 1.25.0 → 1.26.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of grpc might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Makefile +782 -291
- data/include/grpc/impl/codegen/grpc_types.h +4 -0
- data/include/grpc/impl/codegen/port_platform.h +7 -0
- data/include/grpc/support/alloc.h +0 -16
- data/src/core/ext/filters/client_channel/backend_metric.cc +2 -2
- data/src/core/ext/filters/client_channel/backup_poller.cc +1 -1
- data/src/core/ext/filters/client_channel/channel_connectivity.cc +2 -2
- data/src/core/ext/filters/client_channel/client_channel.cc +95 -88
- data/src/core/ext/filters/client_channel/client_channel_channelz.cc +7 -7
- data/src/core/ext/filters/client_channel/client_channel_channelz.h +4 -2
- data/src/core/ext/filters/client_channel/client_channel_factory.cc +1 -1
- data/src/core/ext/filters/client_channel/client_channel_plugin.cc +3 -3
- data/src/core/ext/filters/client_channel/connector.h +40 -45
- data/src/core/ext/filters/client_channel/global_subchannel_pool.cc +10 -10
- data/src/core/ext/filters/client_channel/health/health_check_client.cc +16 -13
- data/src/core/ext/filters/client_channel/http_connect_handshaker.cc +66 -37
- data/src/core/ext/filters/client_channel/http_proxy.cc +107 -116
- data/src/core/ext/filters/client_channel/http_proxy.h +5 -1
- data/src/core/ext/filters/client_channel/lb_policy.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy.h +9 -5
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc +10 -8
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +18 -19
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc +4 -3
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h +4 -4
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc +1 -1
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +3 -3
- data/src/core/ext/filters/client_channel/lb_policy/subchannel_list.h +6 -9
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +368 -0
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds.cc +157 -77
- data/src/core/ext/filters/client_channel/lb_policy_registry.cc +5 -5
- data/src/core/ext/filters/client_channel/lb_policy_registry.h +1 -1
- data/src/core/ext/filters/client_channel/local_subchannel_pool.cc +8 -8
- data/src/core/ext/filters/client_channel/proxy_mapper.h +14 -34
- data/src/core/ext/filters/client_channel/proxy_mapper_registry.cc +46 -79
- data/src/core/ext/filters/client_channel/proxy_mapper_registry.h +23 -17
- data/src/core/ext/filters/client_channel/resolver.cc +2 -1
- data/src/core/ext/filters/client_channel/resolver.h +2 -2
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc +4 -4
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h +1 -1
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_libuv.cc +13 -10
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc +3 -2
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc +9 -8
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc +17 -16
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h +2 -2
- data/src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc +4 -4
- data/src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc +9 -9
- data/src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc +5 -3
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +1 -1
- data/src/core/ext/filters/client_channel/resolver_factory.h +3 -3
- data/src/core/ext/filters/client_channel/resolver_registry.cc +14 -12
- data/src/core/ext/filters/client_channel/resolver_registry.h +6 -4
- data/src/core/ext/filters/client_channel/resolver_result_parsing.cc +6 -6
- data/src/core/ext/filters/client_channel/resolver_result_parsing.h +6 -6
- data/src/core/ext/filters/client_channel/resolving_lb_policy.cc +5 -5
- data/src/core/ext/filters/client_channel/resolving_lb_policy.h +3 -3
- data/src/core/ext/filters/client_channel/service_config.cc +15 -14
- data/src/core/ext/filters/client_channel/service_config.h +14 -19
- data/src/core/ext/filters/client_channel/subchannel.cc +38 -36
- data/src/core/ext/filters/client_channel/subchannel.h +11 -12
- data/src/core/ext/filters/client_channel/subchannel_interface.h +1 -1
- data/src/core/ext/filters/client_channel/xds/xds_api.cc +19 -9
- data/src/core/ext/filters/client_channel/xds/xds_api.h +19 -9
- data/src/core/ext/filters/client_channel/xds/xds_bootstrap.cc +3 -3
- data/src/core/ext/filters/client_channel/xds/xds_bootstrap.h +6 -5
- data/src/core/ext/filters/client_channel/xds/xds_client.cc +58 -31
- data/src/core/ext/filters/client_channel/xds/xds_client.h +20 -15
- data/src/core/ext/filters/client_channel/xds/xds_client_stats.cc +5 -3
- data/src/core/ext/filters/client_channel/xds/xds_client_stats.h +18 -15
- data/src/core/ext/filters/client_idle/client_idle_filter.cc +10 -10
- data/src/core/ext/filters/deadline/deadline_filter.cc +15 -13
- data/src/core/ext/filters/http/client/http_client_filter.cc +12 -12
- data/src/core/ext/filters/http/client_authority_filter.cc +3 -3
- data/src/core/ext/filters/http/message_compress/message_compress_filter.cc +13 -7
- data/src/core/ext/filters/http/server/http_server_filter.cc +14 -13
- data/src/core/ext/filters/max_age/max_age_filter.cc +16 -14
- data/src/core/ext/filters/message_size/message_size_filter.cc +10 -8
- data/src/core/ext/filters/message_size/message_size_filter.h +1 -1
- data/src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc +9 -8
- data/src/core/ext/transport/chttp2/client/chttp2_connector.cc +141 -174
- data/src/core/ext/transport/chttp2/client/chttp2_connector.h +31 -1
- data/src/core/ext/transport/chttp2/client/insecure/channel_create.cc +7 -6
- data/src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc +14 -12
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +8 -5
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +46 -38
- data/src/core/ext/transport/chttp2/transport/context_list.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/flow_control.h +0 -5
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +6 -7
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +2 -2
- data/src/core/ext/transport/chttp2/transport/frame_ping.cc +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +4 -3
- data/src/core/ext/transport/chttp2/transport/hpack_encoder.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +11 -8
- data/src/core/ext/transport/chttp2/transport/internal.h +3 -3
- data/src/core/ext/transport/chttp2/transport/parsing.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/writing.cc +3 -2
- data/src/core/ext/transport/inproc/inproc_transport.cc +65 -41
- data/src/core/ext/upb-generated/envoy/api/v2/auth/cert.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.c +141 -70
- data/src/core/ext/upb-generated/envoy/api/v2/cds.upb.h +352 -118
- data/src/core/ext/upb-generated/envoy/api/v2/cluster/circuit_breaker.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/cluster/filter.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/cluster/outlier_detection.upb.c +8 -4
- data/src/core/ext/upb-generated/envoy/api/v2/cluster/outlier_detection.upb.h +65 -0
- data/src/core/ext/upb-generated/envoy/api/v2/core/address.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.c +16 -2
- data/src/core/ext/upb-generated/envoy/api/v2/core/base.upb.h +36 -0
- data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.c +12 -5
- data/src/core/ext/upb-generated/envoy/api/v2/core/config_source.upb.h +34 -0
- data/src/core/ext/upb-generated/envoy/api/v2/core/grpc_service.upb.c +1 -2
- data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.c +13 -12
- data/src/core/ext/upb-generated/envoy/api/v2/core/health_check.upb.h +28 -24
- data/src/core/ext/upb-generated/envoy/api/v2/core/http_uri.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.c +5 -4
- data/src/core/ext/upb-generated/envoy/api/v2/core/protocol.upb.h +13 -0
- data/src/core/ext/upb-generated/envoy/api/v2/discovery.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.c +23 -23
- data/src/core/ext/upb-generated/envoy/api/v2/eds.upb.h +48 -44
- data/src/core/ext/upb-generated/envoy/api/v2/endpoint/endpoint.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/api/v2/endpoint/load_report.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/type/http.upb.c +16 -0
- data/src/core/ext/upb-generated/envoy/type/http.upb.h +36 -0
- data/src/core/ext/upb-generated/envoy/type/percent.upb.c +0 -1
- data/src/core/ext/upb-generated/envoy/type/range.upb.c +0 -1
- data/src/core/lib/avl/avl.cc +1 -1
- data/src/core/lib/channel/channel_stack.cc +1 -1
- data/src/core/lib/channel/channel_stack.h +16 -4
- data/src/core/lib/channel/channel_trace.cc +4 -4
- data/src/core/lib/channel/channelz.cc +46 -46
- data/src/core/lib/channel/channelz.h +37 -35
- data/src/core/lib/channel/channelz_registry.cc +2 -2
- data/src/core/lib/channel/channelz_registry.h +1 -1
- data/src/core/lib/channel/connected_channel.cc +3 -2
- data/src/core/lib/channel/handshaker.cc +1 -1
- data/src/core/lib/channel/handshaker_registry.cc +5 -5
- data/src/core/lib/channel/handshaker_registry.h +3 -3
- data/src/core/lib/compression/message_compress.cc +3 -2
- data/src/core/lib/compression/stream_compression_identity.cc +5 -7
- data/src/core/lib/gpr/alloc.cc +4 -29
- data/src/core/lib/gpr/cpu_linux.cc +1 -1
- data/src/core/lib/gprpp/fork.cc +4 -4
- data/src/core/lib/gprpp/global_config_env.cc +7 -7
- data/src/core/lib/gprpp/global_config_env.h +2 -2
- data/src/core/lib/gprpp/host_port.cc +8 -8
- data/src/core/lib/gprpp/host_port.h +3 -3
- data/src/core/lib/gprpp/inlined_vector.h +13 -0
- data/src/core/lib/gprpp/map.h +2 -9
- data/src/core/lib/gprpp/memory.h +12 -98
- data/src/core/lib/gprpp/orphanable.h +3 -3
- data/src/core/lib/gprpp/ref_counted.h +3 -3
- data/src/core/lib/gprpp/ref_counted_ptr.h +1 -1
- data/src/core/lib/gprpp/string_view.h +45 -23
- data/src/core/lib/gprpp/thd.h +1 -1
- data/src/core/lib/gprpp/thd_posix.cc +6 -5
- data/src/core/lib/gprpp/thd_windows.cc +3 -3
- data/src/core/lib/http/httpcli.cc +1 -1
- data/src/core/lib/http/httpcli_security_connector.cc +3 -3
- data/src/core/lib/iomgr/buffer_list.cc +10 -5
- data/src/core/lib/iomgr/call_combiner.cc +7 -6
- data/src/core/lib/iomgr/call_combiner.h +4 -3
- data/src/core/lib/iomgr/cfstream_handle.cc +2 -2
- data/src/core/lib/iomgr/closure.h +33 -135
- data/src/core/lib/iomgr/combiner.cc +10 -17
- data/src/core/lib/iomgr/combiner.h +0 -2
- data/src/core/lib/iomgr/endpoint_cfstream.cc +2 -2
- data/src/core/lib/iomgr/endpoint_pair_posix.cc +1 -1
- data/src/core/lib/iomgr/ev_epoll1_linux.cc +3 -2
- data/src/core/lib/iomgr/ev_epollex_linux.cc +23 -13
- data/src/core/lib/iomgr/ev_poll_posix.cc +30 -17
- data/src/core/lib/iomgr/exec_ctx.cc +52 -5
- data/src/core/lib/iomgr/exec_ctx.h +6 -2
- data/src/core/lib/iomgr/executor.cc +16 -37
- data/src/core/lib/iomgr/executor.h +4 -7
- data/src/core/lib/iomgr/executor/threadpool.cc +4 -4
- data/src/core/lib/iomgr/iomgr_custom.cc +1 -1
- data/src/core/lib/iomgr/lockfree_event.cc +9 -8
- data/src/core/lib/iomgr/logical_thread.cc +103 -0
- data/src/core/lib/iomgr/logical_thread.h +52 -0
- data/src/core/lib/iomgr/pollset_custom.cc +5 -5
- data/src/core/lib/iomgr/pollset_set_custom.cc +9 -9
- data/src/core/lib/iomgr/pollset_windows.cc +16 -2
- data/src/core/lib/iomgr/port.h +3 -0
- data/src/core/lib/iomgr/resolve_address_custom.cc +4 -4
- data/src/core/lib/iomgr/resolve_address_posix.cc +8 -9
- data/src/core/lib/iomgr/resolve_address_windows.cc +4 -6
- data/src/core/lib/iomgr/resource_quota.cc +26 -21
- data/src/core/lib/iomgr/socket_utils_common_posix.cc +11 -0
- data/src/core/lib/iomgr/socket_windows.cc +2 -2
- data/src/core/lib/iomgr/tcp_client_cfstream.cc +2 -2
- data/src/core/lib/iomgr/tcp_client_custom.cc +2 -2
- data/src/core/lib/iomgr/tcp_client_posix.cc +5 -4
- data/src/core/lib/iomgr/tcp_client_windows.cc +2 -2
- data/src/core/lib/iomgr/tcp_custom.cc +10 -9
- data/src/core/lib/iomgr/tcp_posix.cc +19 -15
- data/src/core/lib/iomgr/tcp_server_custom.cc +3 -2
- data/src/core/lib/iomgr/tcp_server_posix.cc +5 -4
- data/src/core/lib/iomgr/tcp_server_windows.cc +5 -3
- data/src/core/lib/iomgr/tcp_windows.cc +16 -13
- data/src/core/lib/iomgr/timer_custom.cc +4 -3
- data/src/core/lib/iomgr/timer_generic.cc +11 -9
- data/src/core/lib/iomgr/udp_server.cc +16 -13
- data/src/core/lib/security/credentials/alts/alts_credentials.cc +8 -5
- data/src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc +45 -57
- data/src/core/lib/security/credentials/composite/composite_credentials.cc +7 -6
- data/src/core/lib/security/credentials/credentials.cc +8 -8
- data/src/core/lib/security/credentials/credentials.h +5 -5
- data/src/core/lib/security/credentials/fake/fake_credentials.cc +5 -5
- data/src/core/lib/security/credentials/google_default/google_default_credentials.cc +1 -1
- data/src/core/lib/security/credentials/iam/iam_credentials.cc +4 -4
- data/src/core/lib/security/credentials/jwt/jwt_credentials.cc +4 -4
- data/src/core/lib/security/credentials/jwt/jwt_verifier.cc +2 -2
- data/src/core/lib/security/credentials/local/local_credentials.cc +3 -3
- data/src/core/lib/security/credentials/oauth2/oauth2_credentials.cc +13 -11
- data/src/core/lib/security/credentials/plugin/plugin_credentials.cc +6 -5
- data/src/core/lib/security/credentials/ssl/ssl_credentials.cc +4 -4
- data/src/core/lib/security/credentials/tls/grpc_tls_credentials_options.cc +5 -5
- data/src/core/lib/security/credentials/tls/spiffe_credentials.cc +2 -2
- data/src/core/lib/security/security_connector/alts/alts_security_connector.cc +28 -22
- data/src/core/lib/security/security_connector/alts/alts_security_connector.h +5 -0
- data/src/core/lib/security/security_connector/fake/fake_security_connector.cc +10 -10
- data/src/core/lib/security/security_connector/load_system_roots_linux.cc +2 -1
- data/src/core/lib/security/security_connector/local/local_security_connector.cc +8 -8
- data/src/core/lib/security/security_connector/security_connector.h +1 -1
- data/src/core/lib/security/security_connector/ssl/ssl_security_connector.cc +9 -9
- data/src/core/lib/security/security_connector/ssl_utils.cc +5 -4
- data/src/core/lib/security/security_connector/tls/spiffe_security_connector.cc +14 -15
- data/src/core/lib/security/transport/client_auth_filter.cc +4 -3
- data/src/core/lib/security/transport/secure_endpoint.cc +9 -8
- data/src/core/lib/security/transport/security_handshaker.cc +67 -23
- data/src/core/lib/security/transport/server_auth_filter.cc +6 -5
- data/src/core/lib/security/transport/target_authority_table.h +1 -1
- data/src/core/lib/slice/b64.cc +3 -4
- data/src/core/lib/slice/b64.h +1 -2
- data/src/core/lib/slice/slice.cc +8 -13
- data/src/core/lib/surface/call.cc +19 -19
- data/src/core/lib/surface/call.h +6 -7
- data/src/core/lib/surface/call_log_batch.cc +1 -2
- data/src/core/lib/surface/channel.cc +17 -18
- data/src/core/lib/surface/channel.h +4 -19
- data/src/core/lib/surface/channel_ping.cc +1 -1
- data/src/core/lib/surface/completion_queue.cc +21 -22
- data/src/core/lib/surface/completion_queue_factory.cc +1 -1
- data/src/core/lib/surface/init.cc +1 -1
- data/src/core/lib/surface/init_secure.cc +2 -2
- data/src/core/lib/surface/lame_client.cc +10 -12
- data/src/core/lib/surface/server.cc +24 -18
- data/src/core/lib/surface/version.cc +2 -2
- data/src/core/lib/transport/byte_stream.cc +2 -2
- data/src/core/lib/transport/byte_stream.h +2 -1
- data/src/core/lib/transport/connectivity_state.cc +4 -4
- data/src/core/lib/transport/connectivity_state.h +2 -2
- data/src/core/lib/transport/metadata.cc +8 -10
- data/src/core/lib/transport/metadata.h +5 -8
- data/src/core/lib/transport/metadata_batch.cc +6 -0
- data/src/core/lib/transport/static_metadata.cc +2 -4
- data/src/core/lib/transport/status_metadata.cc +7 -0
- data/src/core/lib/transport/status_metadata.h +18 -0
- data/src/core/lib/transport/transport.cc +9 -7
- data/src/core/plugin_registry/grpc_plugin_registry.cc +4 -0
- data/src/core/tsi/alts/handshaker/alts_handshaker_client.cc +292 -43
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc +197 -46
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker.h +4 -2
- data/src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h +5 -0
- data/src/core/tsi/ssl/session_cache/ssl_session.h +1 -1
- data/src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc +1 -1
- data/src/core/tsi/ssl/session_cache/ssl_session_cache.cc +4 -4
- data/src/core/tsi/ssl/session_cache/ssl_session_openssl.cc +1 -1
- data/src/core/tsi/ssl_transport_security.cc +2 -1
- 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/lib/grpc/version.rb +1 -1
- data/third_party/upb/upb/decode.c +1 -0
- metadata +34 -32
- data/src/core/ext/filters/client_channel/connector.cc +0 -41
- data/src/core/ext/filters/client_channel/proxy_mapper.cc +0 -48
- data/src/core/lib/gprpp/set.h +0 -33
@@ -9,16 +9,16 @@
|
|
9
9
|
#include <stddef.h>
|
10
10
|
#include "upb/msg.h"
|
11
11
|
#include "envoy/api/v2/cds.upb.h"
|
12
|
-
#include "envoy/api/v2/core/address.upb.h"
|
13
12
|
#include "envoy/api/v2/auth/cert.upb.h"
|
13
|
+
#include "envoy/api/v2/cluster/circuit_breaker.upb.h"
|
14
|
+
#include "envoy/api/v2/cluster/filter.upb.h"
|
15
|
+
#include "envoy/api/v2/cluster/outlier_detection.upb.h"
|
16
|
+
#include "envoy/api/v2/core/address.upb.h"
|
14
17
|
#include "envoy/api/v2/core/base.upb.h"
|
15
18
|
#include "envoy/api/v2/core/config_source.upb.h"
|
16
|
-
#include "envoy/api/v2/discovery.upb.h"
|
17
19
|
#include "envoy/api/v2/core/health_check.upb.h"
|
18
20
|
#include "envoy/api/v2/core/protocol.upb.h"
|
19
|
-
#include "envoy/api/v2/
|
20
|
-
#include "envoy/api/v2/cluster/filter.upb.h"
|
21
|
-
#include "envoy/api/v2/cluster/outlier_detection.upb.h"
|
21
|
+
#include "envoy/api/v2/discovery.upb.h"
|
22
22
|
#include "envoy/api/v2/eds.upb.h"
|
23
23
|
#include "envoy/type/percent.upb.h"
|
24
24
|
#include "google/api/annotations.upb.h"
|
@@ -27,11 +27,10 @@
|
|
27
27
|
#include "google/protobuf/struct.upb.h"
|
28
28
|
#include "google/protobuf/wrappers.upb.h"
|
29
29
|
#include "validate/validate.upb.h"
|
30
|
-
#include "gogoproto/gogo.upb.h"
|
31
30
|
|
32
31
|
#include "upb/port_def.inc"
|
33
32
|
|
34
|
-
static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[
|
33
|
+
static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[33] = {
|
35
34
|
&envoy_api_v2_Cluster_CommonLbConfig_msginit,
|
36
35
|
&envoy_api_v2_Cluster_CustomClusterType_msginit,
|
37
36
|
&envoy_api_v2_Cluster_EdsClusterConfig_msginit,
|
@@ -39,9 +38,12 @@ static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[29] = {
|
|
39
38
|
&envoy_api_v2_Cluster_LbSubsetConfig_msginit,
|
40
39
|
&envoy_api_v2_Cluster_LeastRequestLbConfig_msginit,
|
41
40
|
&envoy_api_v2_Cluster_OriginalDstLbConfig_msginit,
|
41
|
+
&envoy_api_v2_Cluster_RefreshRate_msginit,
|
42
42
|
&envoy_api_v2_Cluster_RingHashLbConfig_msginit,
|
43
|
+
&envoy_api_v2_Cluster_TransportSocketMatch_msginit,
|
43
44
|
&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit,
|
44
45
|
&envoy_api_v2_ClusterLoadAssignment_msginit,
|
46
|
+
&envoy_api_v2_LoadBalancingPolicy_msginit,
|
45
47
|
&envoy_api_v2_UpstreamConnectionOptions_msginit,
|
46
48
|
&envoy_api_v2_auth_UpstreamTlsContext_msginit,
|
47
49
|
&envoy_api_v2_cluster_CircuitBreakers_msginit,
|
@@ -49,6 +51,7 @@ static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[29] = {
|
|
49
51
|
&envoy_api_v2_cluster_OutlierDetection_msginit,
|
50
52
|
&envoy_api_v2_core_Address_msginit,
|
51
53
|
&envoy_api_v2_core_BindConfig_msginit,
|
54
|
+
&envoy_api_v2_core_ConfigSource_msginit,
|
52
55
|
&envoy_api_v2_core_HealthCheck_msginit,
|
53
56
|
&envoy_api_v2_core_Http1ProtocolOptions_msginit,
|
54
57
|
&envoy_api_v2_core_Http2ProtocolOptions_msginit,
|
@@ -59,51 +62,72 @@ static const upb_msglayout *const envoy_api_v2_Cluster_submsgs[29] = {
|
|
59
62
|
&google_protobuf_UInt32Value_msginit,
|
60
63
|
};
|
61
64
|
|
62
|
-
static const upb_msglayout_field envoy_api_v2_Cluster__fields[
|
65
|
+
static const upb_msglayout_field envoy_api_v2_Cluster__fields[42] = {
|
63
66
|
{1, UPB_SIZE(28, 32), 0, 0, 9, 1},
|
64
|
-
{2, UPB_SIZE(
|
67
|
+
{2, UPB_SIZE(160, 296), UPB_SIZE(-169, -305), 0, 14, 1},
|
65
68
|
{3, UPB_SIZE(44, 64), 0, 2, 11, 1},
|
66
|
-
{4, UPB_SIZE(48, 72), 0,
|
67
|
-
{5, UPB_SIZE(52, 80), 0,
|
69
|
+
{4, UPB_SIZE(48, 72), 0, 27, 11, 1},
|
70
|
+
{5, UPB_SIZE(52, 80), 0, 28, 11, 1},
|
68
71
|
{6, UPB_SIZE(0, 0), 0, 0, 14, 1},
|
69
|
-
{7, UPB_SIZE(
|
70
|
-
{8, UPB_SIZE(
|
71
|
-
{9, UPB_SIZE(56, 88), 0,
|
72
|
-
{10, UPB_SIZE(60, 96), 0,
|
73
|
-
{11, UPB_SIZE(64, 104), 0,
|
74
|
-
{13, UPB_SIZE(68, 112), 0,
|
75
|
-
{14, UPB_SIZE(72, 120), 0,
|
76
|
-
{16, UPB_SIZE(76, 128), 0,
|
72
|
+
{7, UPB_SIZE(132, 240), 0, 18, 11, 3},
|
73
|
+
{8, UPB_SIZE(136, 248), 0, 21, 11, 3},
|
74
|
+
{9, UPB_SIZE(56, 88), 0, 28, 11, 1},
|
75
|
+
{10, UPB_SIZE(60, 96), 0, 15, 11, 1},
|
76
|
+
{11, UPB_SIZE(64, 104), 0, 14, 11, 1},
|
77
|
+
{13, UPB_SIZE(68, 112), 0, 22, 11, 1},
|
78
|
+
{14, UPB_SIZE(72, 120), 0, 23, 11, 1},
|
79
|
+
{16, UPB_SIZE(76, 128), 0, 27, 11, 1},
|
77
80
|
{17, UPB_SIZE(8, 8), 0, 0, 14, 1},
|
78
|
-
{18, UPB_SIZE(
|
79
|
-
{19, UPB_SIZE(80, 136), 0,
|
80
|
-
{20, UPB_SIZE(84, 144), 0,
|
81
|
-
{21, UPB_SIZE(88, 152), 0,
|
81
|
+
{18, UPB_SIZE(140, 256), 0, 18, 11, 3},
|
82
|
+
{19, UPB_SIZE(80, 136), 0, 17, 11, 1},
|
83
|
+
{20, UPB_SIZE(84, 144), 0, 27, 11, 1},
|
84
|
+
{21, UPB_SIZE(88, 152), 0, 19, 11, 1},
|
82
85
|
{22, UPB_SIZE(92, 160), 0, 4, 11, 1},
|
83
|
-
{23, UPB_SIZE(
|
84
|
-
{24, UPB_SIZE(96, 168), 0,
|
85
|
-
{25, UPB_SIZE(100, 176), 0,
|
86
|
+
{23, UPB_SIZE(172, 312), UPB_SIZE(-177, -321), 8, 11, 1},
|
87
|
+
{24, UPB_SIZE(96, 168), 0, 26, 11, 1},
|
88
|
+
{25, UPB_SIZE(100, 176), 0, 25, 11, 1},
|
86
89
|
{26, UPB_SIZE(16, 16), 0, 0, 14, 1},
|
87
90
|
{27, UPB_SIZE(104, 184), 0, 0, 11, 1},
|
88
91
|
{28, UPB_SIZE(36, 48), 0, 0, 9, 1},
|
89
|
-
{29, UPB_SIZE(108, 192), 0,
|
90
|
-
{30, UPB_SIZE(112, 200), 0,
|
92
|
+
{29, UPB_SIZE(108, 192), 0, 24, 11, 1},
|
93
|
+
{30, UPB_SIZE(112, 200), 0, 13, 11, 1},
|
91
94
|
{31, UPB_SIZE(24, 24), 0, 0, 8, 1},
|
92
95
|
{32, UPB_SIZE(25, 25), 0, 0, 8, 1},
|
93
|
-
{33, UPB_SIZE(116, 208), 0,
|
94
|
-
{34, UPB_SIZE(
|
95
|
-
{35, UPB_SIZE(
|
96
|
-
{36, UPB_SIZE(
|
97
|
-
{37, UPB_SIZE(
|
98
|
-
{38, UPB_SIZE(
|
96
|
+
{33, UPB_SIZE(116, 208), 0, 11, 11, 1},
|
97
|
+
{34, UPB_SIZE(172, 312), UPB_SIZE(-177, -321), 6, 11, 1},
|
98
|
+
{35, UPB_SIZE(144, 264), 0, 3, 11, 3},
|
99
|
+
{36, UPB_SIZE(148, 272), 0, 10, 11, 3},
|
100
|
+
{37, UPB_SIZE(172, 312), UPB_SIZE(-177, -321), 5, 11, 1},
|
101
|
+
{38, UPB_SIZE(160, 296), UPB_SIZE(-169, -305), 1, 11, 1},
|
99
102
|
{39, UPB_SIZE(26, 26), 0, 0, 8, 1},
|
100
|
-
{40, UPB_SIZE(
|
103
|
+
{40, UPB_SIZE(152, 280), 0, 16, 11, 3},
|
104
|
+
{41, UPB_SIZE(120, 216), 0, 12, 11, 1},
|
105
|
+
{42, UPB_SIZE(124, 224), 0, 20, 11, 1},
|
106
|
+
{43, UPB_SIZE(156, 288), 0, 9, 11, 3},
|
107
|
+
{44, UPB_SIZE(128, 232), 0, 7, 11, 1},
|
101
108
|
};
|
102
109
|
|
103
110
|
const upb_msglayout envoy_api_v2_Cluster_msginit = {
|
104
111
|
&envoy_api_v2_Cluster_submsgs[0],
|
105
112
|
&envoy_api_v2_Cluster__fields[0],
|
106
|
-
UPB_SIZE(
|
113
|
+
UPB_SIZE(184, 336), 42, false,
|
114
|
+
};
|
115
|
+
|
116
|
+
static const upb_msglayout *const envoy_api_v2_Cluster_TransportSocketMatch_submsgs[2] = {
|
117
|
+
&envoy_api_v2_core_TransportSocket_msginit,
|
118
|
+
&google_protobuf_Struct_msginit,
|
119
|
+
};
|
120
|
+
|
121
|
+
static const upb_msglayout_field envoy_api_v2_Cluster_TransportSocketMatch__fields[3] = {
|
122
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
123
|
+
{2, UPB_SIZE(8, 16), 0, 1, 11, 1},
|
124
|
+
{3, UPB_SIZE(12, 24), 0, 0, 11, 1},
|
125
|
+
};
|
126
|
+
|
127
|
+
const upb_msglayout envoy_api_v2_Cluster_TransportSocketMatch_msginit = {
|
128
|
+
&envoy_api_v2_Cluster_TransportSocketMatch_submsgs[0],
|
129
|
+
&envoy_api_v2_Cluster_TransportSocketMatch__fields[0],
|
130
|
+
UPB_SIZE(16, 32), 3, false,
|
107
131
|
};
|
108
132
|
|
109
133
|
static const upb_msglayout *const envoy_api_v2_Cluster_CustomClusterType_submsgs[1] = {
|
@@ -136,36 +160,6 @@ const upb_msglayout envoy_api_v2_Cluster_EdsClusterConfig_msginit = {
|
|
136
160
|
UPB_SIZE(16, 32), 2, false,
|
137
161
|
};
|
138
162
|
|
139
|
-
static const upb_msglayout *const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[1] = {
|
140
|
-
&google_protobuf_Struct_msginit,
|
141
|
-
};
|
142
|
-
|
143
|
-
static const upb_msglayout_field envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[2] = {
|
144
|
-
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
145
|
-
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
146
|
-
};
|
147
|
-
|
148
|
-
const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit = {
|
149
|
-
&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[0],
|
150
|
-
&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[0],
|
151
|
-
UPB_SIZE(16, 32), 2, false,
|
152
|
-
};
|
153
|
-
|
154
|
-
static const upb_msglayout *const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = {
|
155
|
-
&google_protobuf_Any_msginit,
|
156
|
-
};
|
157
|
-
|
158
|
-
static const upb_msglayout_field envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = {
|
159
|
-
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
160
|
-
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
161
|
-
};
|
162
|
-
|
163
|
-
const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit = {
|
164
|
-
&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0],
|
165
|
-
&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[0],
|
166
|
-
UPB_SIZE(16, 32), 2, false,
|
167
|
-
};
|
168
|
-
|
169
163
|
static const upb_msglayout *const envoy_api_v2_Cluster_LbSubsetConfig_submsgs[2] = {
|
170
164
|
&envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit,
|
171
165
|
&google_protobuf_Struct_msginit,
|
@@ -265,15 +259,16 @@ static const upb_msglayout *const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareL
|
|
265
259
|
&google_protobuf_UInt64Value_msginit,
|
266
260
|
};
|
267
261
|
|
268
|
-
static const upb_msglayout_field envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[
|
269
|
-
{1, UPB_SIZE(
|
270
|
-
{2, UPB_SIZE(
|
262
|
+
static const upb_msglayout_field envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[3] = {
|
263
|
+
{1, UPB_SIZE(4, 8), 0, 0, 11, 1},
|
264
|
+
{2, UPB_SIZE(8, 16), 0, 1, 11, 1},
|
265
|
+
{3, UPB_SIZE(0, 0), 0, 0, 8, 1},
|
271
266
|
};
|
272
267
|
|
273
268
|
const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit = {
|
274
269
|
&envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_submsgs[0],
|
275
270
|
&envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig__fields[0],
|
276
|
-
UPB_SIZE(
|
271
|
+
UPB_SIZE(12, 24), 3, false,
|
277
272
|
};
|
278
273
|
|
279
274
|
const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit = {
|
@@ -282,6 +277,82 @@ const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig
|
|
282
277
|
UPB_SIZE(0, 0), 0, false,
|
283
278
|
};
|
284
279
|
|
280
|
+
static const upb_msglayout *const envoy_api_v2_Cluster_RefreshRate_submsgs[2] = {
|
281
|
+
&google_protobuf_Duration_msginit,
|
282
|
+
};
|
283
|
+
|
284
|
+
static const upb_msglayout_field envoy_api_v2_Cluster_RefreshRate__fields[2] = {
|
285
|
+
{1, UPB_SIZE(0, 0), 0, 0, 11, 1},
|
286
|
+
{2, UPB_SIZE(4, 8), 0, 0, 11, 1},
|
287
|
+
};
|
288
|
+
|
289
|
+
const upb_msglayout envoy_api_v2_Cluster_RefreshRate_msginit = {
|
290
|
+
&envoy_api_v2_Cluster_RefreshRate_submsgs[0],
|
291
|
+
&envoy_api_v2_Cluster_RefreshRate__fields[0],
|
292
|
+
UPB_SIZE(8, 16), 2, false,
|
293
|
+
};
|
294
|
+
|
295
|
+
static const upb_msglayout *const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[1] = {
|
296
|
+
&google_protobuf_Struct_msginit,
|
297
|
+
};
|
298
|
+
|
299
|
+
static const upb_msglayout_field envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[2] = {
|
300
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
301
|
+
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
302
|
+
};
|
303
|
+
|
304
|
+
const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit = {
|
305
|
+
&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_submsgs[0],
|
306
|
+
&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry__fields[0],
|
307
|
+
UPB_SIZE(16, 32), 2, false,
|
308
|
+
};
|
309
|
+
|
310
|
+
static const upb_msglayout *const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[1] = {
|
311
|
+
&google_protobuf_Any_msginit,
|
312
|
+
};
|
313
|
+
|
314
|
+
static const upb_msglayout_field envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[2] = {
|
315
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
316
|
+
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
317
|
+
};
|
318
|
+
|
319
|
+
const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit = {
|
320
|
+
&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_submsgs[0],
|
321
|
+
&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry__fields[0],
|
322
|
+
UPB_SIZE(16, 32), 2, false,
|
323
|
+
};
|
324
|
+
|
325
|
+
static const upb_msglayout *const envoy_api_v2_LoadBalancingPolicy_submsgs[1] = {
|
326
|
+
&envoy_api_v2_LoadBalancingPolicy_Policy_msginit,
|
327
|
+
};
|
328
|
+
|
329
|
+
static const upb_msglayout_field envoy_api_v2_LoadBalancingPolicy__fields[1] = {
|
330
|
+
{1, UPB_SIZE(0, 0), 0, 0, 11, 3},
|
331
|
+
};
|
332
|
+
|
333
|
+
const upb_msglayout envoy_api_v2_LoadBalancingPolicy_msginit = {
|
334
|
+
&envoy_api_v2_LoadBalancingPolicy_submsgs[0],
|
335
|
+
&envoy_api_v2_LoadBalancingPolicy__fields[0],
|
336
|
+
UPB_SIZE(4, 8), 1, false,
|
337
|
+
};
|
338
|
+
|
339
|
+
static const upb_msglayout *const envoy_api_v2_LoadBalancingPolicy_Policy_submsgs[2] = {
|
340
|
+
&google_protobuf_Any_msginit,
|
341
|
+
&google_protobuf_Struct_msginit,
|
342
|
+
};
|
343
|
+
|
344
|
+
static const upb_msglayout_field envoy_api_v2_LoadBalancingPolicy_Policy__fields[3] = {
|
345
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
346
|
+
{2, UPB_SIZE(8, 16), 0, 1, 11, 1},
|
347
|
+
{3, UPB_SIZE(12, 24), 0, 0, 11, 1},
|
348
|
+
};
|
349
|
+
|
350
|
+
const upb_msglayout envoy_api_v2_LoadBalancingPolicy_Policy_msginit = {
|
351
|
+
&envoy_api_v2_LoadBalancingPolicy_Policy_submsgs[0],
|
352
|
+
&envoy_api_v2_LoadBalancingPolicy_Policy__fields[0],
|
353
|
+
UPB_SIZE(16, 32), 3, false,
|
354
|
+
};
|
355
|
+
|
285
356
|
static const upb_msglayout *const envoy_api_v2_UpstreamBindConfig_submsgs[1] = {
|
286
357
|
&envoy_api_v2_core_Address_msginit,
|
287
358
|
};
|
@@ -21,10 +21,9 @@ extern "C" {
|
|
21
21
|
#endif
|
22
22
|
|
23
23
|
struct envoy_api_v2_Cluster;
|
24
|
+
struct envoy_api_v2_Cluster_TransportSocketMatch;
|
24
25
|
struct envoy_api_v2_Cluster_CustomClusterType;
|
25
26
|
struct envoy_api_v2_Cluster_EdsClusterConfig;
|
26
|
-
struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry;
|
27
|
-
struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry;
|
28
27
|
struct envoy_api_v2_Cluster_LbSubsetConfig;
|
29
28
|
struct envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector;
|
30
29
|
struct envoy_api_v2_Cluster_LeastRequestLbConfig;
|
@@ -33,13 +32,17 @@ struct envoy_api_v2_Cluster_OriginalDstLbConfig;
|
|
33
32
|
struct envoy_api_v2_Cluster_CommonLbConfig;
|
34
33
|
struct envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig;
|
35
34
|
struct envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig;
|
35
|
+
struct envoy_api_v2_Cluster_RefreshRate;
|
36
|
+
struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry;
|
37
|
+
struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry;
|
38
|
+
struct envoy_api_v2_LoadBalancingPolicy;
|
39
|
+
struct envoy_api_v2_LoadBalancingPolicy_Policy;
|
36
40
|
struct envoy_api_v2_UpstreamBindConfig;
|
37
41
|
struct envoy_api_v2_UpstreamConnectionOptions;
|
38
42
|
typedef struct envoy_api_v2_Cluster envoy_api_v2_Cluster;
|
43
|
+
typedef struct envoy_api_v2_Cluster_TransportSocketMatch envoy_api_v2_Cluster_TransportSocketMatch;
|
39
44
|
typedef struct envoy_api_v2_Cluster_CustomClusterType envoy_api_v2_Cluster_CustomClusterType;
|
40
45
|
typedef struct envoy_api_v2_Cluster_EdsClusterConfig envoy_api_v2_Cluster_EdsClusterConfig;
|
41
|
-
typedef struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry;
|
42
|
-
typedef struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry;
|
43
46
|
typedef struct envoy_api_v2_Cluster_LbSubsetConfig envoy_api_v2_Cluster_LbSubsetConfig;
|
44
47
|
typedef struct envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector;
|
45
48
|
typedef struct envoy_api_v2_Cluster_LeastRequestLbConfig envoy_api_v2_Cluster_LeastRequestLbConfig;
|
@@ -48,13 +51,17 @@ typedef struct envoy_api_v2_Cluster_OriginalDstLbConfig envoy_api_v2_Cluster_Ori
|
|
48
51
|
typedef struct envoy_api_v2_Cluster_CommonLbConfig envoy_api_v2_Cluster_CommonLbConfig;
|
49
52
|
typedef struct envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig;
|
50
53
|
typedef struct envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig;
|
54
|
+
typedef struct envoy_api_v2_Cluster_RefreshRate envoy_api_v2_Cluster_RefreshRate;
|
55
|
+
typedef struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry;
|
56
|
+
typedef struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry;
|
57
|
+
typedef struct envoy_api_v2_LoadBalancingPolicy envoy_api_v2_LoadBalancingPolicy;
|
58
|
+
typedef struct envoy_api_v2_LoadBalancingPolicy_Policy envoy_api_v2_LoadBalancingPolicy_Policy;
|
51
59
|
typedef struct envoy_api_v2_UpstreamBindConfig envoy_api_v2_UpstreamBindConfig;
|
52
60
|
typedef struct envoy_api_v2_UpstreamConnectionOptions envoy_api_v2_UpstreamConnectionOptions;
|
53
61
|
extern const upb_msglayout envoy_api_v2_Cluster_msginit;
|
62
|
+
extern const upb_msglayout envoy_api_v2_Cluster_TransportSocketMatch_msginit;
|
54
63
|
extern const upb_msglayout envoy_api_v2_Cluster_CustomClusterType_msginit;
|
55
64
|
extern const upb_msglayout envoy_api_v2_Cluster_EdsClusterConfig_msginit;
|
56
|
-
extern const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit;
|
57
|
-
extern const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit;
|
58
65
|
extern const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_msginit;
|
59
66
|
extern const upb_msglayout envoy_api_v2_Cluster_LbSubsetConfig_LbSubsetSelector_msginit;
|
60
67
|
extern const upb_msglayout envoy_api_v2_Cluster_LeastRequestLbConfig_msginit;
|
@@ -63,6 +70,11 @@ extern const upb_msglayout envoy_api_v2_Cluster_OriginalDstLbConfig_msginit;
|
|
63
70
|
extern const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_msginit;
|
64
71
|
extern const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit;
|
65
72
|
extern const upb_msglayout envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_msginit;
|
73
|
+
extern const upb_msglayout envoy_api_v2_Cluster_RefreshRate_msginit;
|
74
|
+
extern const upb_msglayout envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit;
|
75
|
+
extern const upb_msglayout envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit;
|
76
|
+
extern const upb_msglayout envoy_api_v2_LoadBalancingPolicy_msginit;
|
77
|
+
extern const upb_msglayout envoy_api_v2_LoadBalancingPolicy_Policy_msginit;
|
66
78
|
extern const upb_msglayout envoy_api_v2_UpstreamBindConfig_msginit;
|
67
79
|
extern const upb_msglayout envoy_api_v2_UpstreamConnectionOptions_msginit;
|
68
80
|
struct envoy_api_v2_ClusterLoadAssignment;
|
@@ -134,7 +146,8 @@ typedef enum {
|
|
134
146
|
envoy_api_v2_Cluster_RANDOM = 3,
|
135
147
|
envoy_api_v2_Cluster_ORIGINAL_DST_LB = 4,
|
136
148
|
envoy_api_v2_Cluster_MAGLEV = 5,
|
137
|
-
envoy_api_v2_Cluster_CLUSTER_PROVIDED = 6
|
149
|
+
envoy_api_v2_Cluster_CLUSTER_PROVIDED = 6,
|
150
|
+
envoy_api_v2_Cluster_LOAD_BALANCING_POLICY_CONFIG = 7
|
138
151
|
} envoy_api_v2_Cluster_LbPolicy;
|
139
152
|
|
140
153
|
typedef enum {
|
@@ -175,7 +188,7 @@ typedef enum {
|
|
175
188
|
envoy_api_v2_Cluster_cluster_discovery_type_cluster_type = 38,
|
176
189
|
envoy_api_v2_Cluster_cluster_discovery_type_NOT_SET = 0
|
177
190
|
} envoy_api_v2_Cluster_cluster_discovery_type_oneofcases;
|
178
|
-
UPB_INLINE envoy_api_v2_Cluster_cluster_discovery_type_oneofcases envoy_api_v2_Cluster_cluster_discovery_type_case(const envoy_api_v2_Cluster* msg) { return (envoy_api_v2_Cluster_cluster_discovery_type_oneofcases)UPB_FIELD_AT(msg, int32_t, UPB_SIZE(
|
191
|
+
UPB_INLINE envoy_api_v2_Cluster_cluster_discovery_type_oneofcases envoy_api_v2_Cluster_cluster_discovery_type_case(const envoy_api_v2_Cluster* msg) { return (envoy_api_v2_Cluster_cluster_discovery_type_oneofcases)UPB_FIELD_AT(msg, int32_t, UPB_SIZE(168, 304)); }
|
179
192
|
|
180
193
|
typedef enum {
|
181
194
|
envoy_api_v2_Cluster_lb_config_ring_hash_lb_config = 23,
|
@@ -183,17 +196,17 @@ typedef enum {
|
|
183
196
|
envoy_api_v2_Cluster_lb_config_least_request_lb_config = 37,
|
184
197
|
envoy_api_v2_Cluster_lb_config_NOT_SET = 0
|
185
198
|
} envoy_api_v2_Cluster_lb_config_oneofcases;
|
186
|
-
UPB_INLINE envoy_api_v2_Cluster_lb_config_oneofcases envoy_api_v2_Cluster_lb_config_case(const envoy_api_v2_Cluster* msg) { return (envoy_api_v2_Cluster_lb_config_oneofcases)UPB_FIELD_AT(msg, int32_t, UPB_SIZE(
|
199
|
+
UPB_INLINE envoy_api_v2_Cluster_lb_config_oneofcases envoy_api_v2_Cluster_lb_config_case(const envoy_api_v2_Cluster* msg) { return (envoy_api_v2_Cluster_lb_config_oneofcases)UPB_FIELD_AT(msg, int32_t, UPB_SIZE(176, 320)); }
|
187
200
|
|
188
201
|
UPB_INLINE upb_strview envoy_api_v2_Cluster_name(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(28, 32)); }
|
189
|
-
UPB_INLINE bool envoy_api_v2_Cluster_has_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(
|
190
|
-
UPB_INLINE int32_t envoy_api_v2_Cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(
|
202
|
+
UPB_INLINE bool envoy_api_v2_Cluster_has_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(168, 304), 2); }
|
203
|
+
UPB_INLINE int32_t envoy_api_v2_Cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(160, 296), UPB_SIZE(168, 304), 2, envoy_api_v2_Cluster_STATIC); }
|
191
204
|
UPB_INLINE const envoy_api_v2_Cluster_EdsClusterConfig* envoy_api_v2_Cluster_eds_cluster_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_EdsClusterConfig*, UPB_SIZE(44, 64)); }
|
192
205
|
UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_connect_timeout(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(48, 72)); }
|
193
206
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_Cluster_per_connection_buffer_limit_bytes(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(52, 80)); }
|
194
207
|
UPB_INLINE int32_t envoy_api_v2_Cluster_lb_policy(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)); }
|
195
|
-
UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_hosts(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(
|
196
|
-
UPB_INLINE const struct envoy_api_v2_core_HealthCheck* const* envoy_api_v2_Cluster_health_checks(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_HealthCheck* const*)_upb_array_accessor(msg, UPB_SIZE(
|
208
|
+
UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_hosts(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(132, 240), len); }
|
209
|
+
UPB_INLINE const struct envoy_api_v2_core_HealthCheck* const* envoy_api_v2_Cluster_health_checks(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_HealthCheck* const*)_upb_array_accessor(msg, UPB_SIZE(136, 248), len); }
|
197
210
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_api_v2_Cluster_max_requests_per_connection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt32Value*, UPB_SIZE(56, 88)); }
|
198
211
|
UPB_INLINE const struct envoy_api_v2_cluster_CircuitBreakers* envoy_api_v2_Cluster_circuit_breakers(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_cluster_CircuitBreakers*, UPB_SIZE(60, 96)); }
|
199
212
|
UPB_INLINE const struct envoy_api_v2_auth_UpstreamTlsContext* envoy_api_v2_Cluster_tls_context(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_auth_UpstreamTlsContext*, UPB_SIZE(64, 104)); }
|
@@ -201,13 +214,13 @@ UPB_INLINE const struct envoy_api_v2_core_Http1ProtocolOptions* envoy_api_v2_Clu
|
|
201
214
|
UPB_INLINE const struct envoy_api_v2_core_Http2ProtocolOptions* envoy_api_v2_Cluster_http2_protocol_options(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Http2ProtocolOptions*, UPB_SIZE(72, 120)); }
|
202
215
|
UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_dns_refresh_rate(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(76, 128)); }
|
203
216
|
UPB_INLINE int32_t envoy_api_v2_Cluster_dns_lookup_family(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)); }
|
204
|
-
UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_dns_resolvers(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(
|
217
|
+
UPB_INLINE const struct envoy_api_v2_core_Address* const* envoy_api_v2_Cluster_dns_resolvers(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_core_Address* const*)_upb_array_accessor(msg, UPB_SIZE(140, 256), len); }
|
205
218
|
UPB_INLINE const struct envoy_api_v2_cluster_OutlierDetection* envoy_api_v2_Cluster_outlier_detection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_cluster_OutlierDetection*, UPB_SIZE(80, 136)); }
|
206
219
|
UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_cleanup_interval(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(84, 144)); }
|
207
220
|
UPB_INLINE const struct envoy_api_v2_core_BindConfig* envoy_api_v2_Cluster_upstream_bind_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_BindConfig*, UPB_SIZE(88, 152)); }
|
208
221
|
UPB_INLINE const envoy_api_v2_Cluster_LbSubsetConfig* envoy_api_v2_Cluster_lb_subset_config(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_LbSubsetConfig*, UPB_SIZE(92, 160)); }
|
209
|
-
UPB_INLINE bool envoy_api_v2_Cluster_has_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(
|
210
|
-
UPB_INLINE const envoy_api_v2_Cluster_RingHashLbConfig* envoy_api_v2_Cluster_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(
|
222
|
+
UPB_INLINE bool envoy_api_v2_Cluster_has_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 23); }
|
223
|
+
UPB_INLINE const envoy_api_v2_Cluster_RingHashLbConfig* envoy_api_v2_Cluster_ring_hash_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 23, NULL); }
|
211
224
|
UPB_INLINE const struct envoy_api_v2_core_TransportSocket* envoy_api_v2_Cluster_transport_socket(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(96, 168)); }
|
212
225
|
UPB_INLINE const struct envoy_api_v2_core_Metadata* envoy_api_v2_Cluster_metadata(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_Metadata*, UPB_SIZE(100, 176)); }
|
213
226
|
UPB_INLINE int32_t envoy_api_v2_Cluster_protocol_selection(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, int32_t, UPB_SIZE(16, 16)); }
|
@@ -218,22 +231,26 @@ UPB_INLINE const envoy_api_v2_UpstreamConnectionOptions* envoy_api_v2_Cluster_up
|
|
218
231
|
UPB_INLINE bool envoy_api_v2_Cluster_close_connections_on_host_health_failure(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(24, 24)); }
|
219
232
|
UPB_INLINE bool envoy_api_v2_Cluster_drain_connections_on_host_removal(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(25, 25)); }
|
220
233
|
UPB_INLINE const struct envoy_api_v2_ClusterLoadAssignment* envoy_api_v2_Cluster_load_assignment(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_ClusterLoadAssignment*, UPB_SIZE(116, 208)); }
|
221
|
-
UPB_INLINE bool envoy_api_v2_Cluster_has_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(
|
222
|
-
UPB_INLINE const envoy_api_v2_Cluster_OriginalDstLbConfig* envoy_api_v2_Cluster_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(
|
223
|
-
UPB_INLINE const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(
|
224
|
-
UPB_INLINE const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_typed_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(
|
225
|
-
UPB_INLINE bool envoy_api_v2_Cluster_has_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(
|
226
|
-
UPB_INLINE const envoy_api_v2_Cluster_LeastRequestLbConfig* envoy_api_v2_Cluster_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(
|
227
|
-
UPB_INLINE bool envoy_api_v2_Cluster_has_cluster_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(
|
228
|
-
UPB_INLINE const envoy_api_v2_Cluster_CustomClusterType* envoy_api_v2_Cluster_cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(
|
234
|
+
UPB_INLINE bool envoy_api_v2_Cluster_has_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 34); }
|
235
|
+
UPB_INLINE const envoy_api_v2_Cluster_OriginalDstLbConfig* envoy_api_v2_Cluster_original_dst_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 34, NULL); }
|
236
|
+
UPB_INLINE const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(144, 264), len); }
|
237
|
+
UPB_INLINE const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const* envoy_api_v2_Cluster_typed_extension_protocol_options(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* const*)_upb_array_accessor(msg, UPB_SIZE(148, 272), len); }
|
238
|
+
UPB_INLINE bool envoy_api_v2_Cluster_has_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(176, 320), 37); }
|
239
|
+
UPB_INLINE const envoy_api_v2_Cluster_LeastRequestLbConfig* envoy_api_v2_Cluster_least_request_lb_config(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(172, 312), UPB_SIZE(176, 320), 37, NULL); }
|
240
|
+
UPB_INLINE bool envoy_api_v2_Cluster_has_cluster_type(const envoy_api_v2_Cluster *msg) { return _upb_has_oneof_field(msg, UPB_SIZE(168, 304), 38); }
|
241
|
+
UPB_INLINE const envoy_api_v2_Cluster_CustomClusterType* envoy_api_v2_Cluster_cluster_type(const envoy_api_v2_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(160, 296), UPB_SIZE(168, 304), 38, NULL); }
|
229
242
|
UPB_INLINE bool envoy_api_v2_Cluster_respect_dns_ttl(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(26, 26)); }
|
230
|
-
UPB_INLINE const struct envoy_api_v2_cluster_Filter* const* envoy_api_v2_Cluster_filters(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_cluster_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(
|
243
|
+
UPB_INLINE const struct envoy_api_v2_cluster_Filter* const* envoy_api_v2_Cluster_filters(const envoy_api_v2_Cluster *msg, size_t *len) { return (const struct envoy_api_v2_cluster_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(152, 280), len); }
|
244
|
+
UPB_INLINE const envoy_api_v2_LoadBalancingPolicy* envoy_api_v2_Cluster_load_balancing_policy(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_LoadBalancingPolicy*, UPB_SIZE(120, 216)); }
|
245
|
+
UPB_INLINE const struct envoy_api_v2_core_ConfigSource* envoy_api_v2_Cluster_lrs_server(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(124, 224)); }
|
246
|
+
UPB_INLINE const envoy_api_v2_Cluster_TransportSocketMatch* const* envoy_api_v2_Cluster_transport_socket_matches(const envoy_api_v2_Cluster *msg, size_t *len) { return (const envoy_api_v2_Cluster_TransportSocketMatch* const*)_upb_array_accessor(msg, UPB_SIZE(156, 288), len); }
|
247
|
+
UPB_INLINE const envoy_api_v2_Cluster_RefreshRate* envoy_api_v2_Cluster_dns_failure_refresh_rate(const envoy_api_v2_Cluster *msg) { return UPB_FIELD_AT(msg, const envoy_api_v2_Cluster_RefreshRate*, UPB_SIZE(128, 232)); }
|
231
248
|
|
232
249
|
UPB_INLINE void envoy_api_v2_Cluster_set_name(envoy_api_v2_Cluster *msg, upb_strview value) {
|
233
250
|
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(28, 32)) = value;
|
234
251
|
}
|
235
252
|
UPB_INLINE void envoy_api_v2_Cluster_set_type(envoy_api_v2_Cluster *msg, int32_t value) {
|
236
|
-
UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(
|
253
|
+
UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(160, 296), value, UPB_SIZE(168, 304), 2);
|
237
254
|
}
|
238
255
|
UPB_INLINE void envoy_api_v2_Cluster_set_eds_cluster_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_EdsClusterConfig* value) {
|
239
256
|
UPB_FIELD_AT(msg, envoy_api_v2_Cluster_EdsClusterConfig*, UPB_SIZE(44, 64)) = value;
|
@@ -275,28 +292,28 @@ UPB_INLINE void envoy_api_v2_Cluster_set_lb_policy(envoy_api_v2_Cluster *msg, in
|
|
275
292
|
UPB_FIELD_AT(msg, int32_t, UPB_SIZE(0, 0)) = value;
|
276
293
|
}
|
277
294
|
UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_mutable_hosts(envoy_api_v2_Cluster *msg, size_t *len) {
|
278
|
-
return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
295
|
+
return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(132, 240), len);
|
279
296
|
}
|
280
297
|
UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_resize_hosts(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
281
|
-
return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
298
|
+
return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(132, 240), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
282
299
|
}
|
283
300
|
UPB_INLINE struct envoy_api_v2_core_Address* envoy_api_v2_Cluster_add_hosts(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
284
301
|
struct envoy_api_v2_core_Address* sub = (struct envoy_api_v2_core_Address*)upb_msg_new(&envoy_api_v2_core_Address_msginit, arena);
|
285
302
|
bool ok = _upb_array_append_accessor(
|
286
|
-
msg, UPB_SIZE(
|
303
|
+
msg, UPB_SIZE(132, 240), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
287
304
|
if (!ok) return NULL;
|
288
305
|
return sub;
|
289
306
|
}
|
290
307
|
UPB_INLINE struct envoy_api_v2_core_HealthCheck** envoy_api_v2_Cluster_mutable_health_checks(envoy_api_v2_Cluster *msg, size_t *len) {
|
291
|
-
return (struct envoy_api_v2_core_HealthCheck**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
308
|
+
return (struct envoy_api_v2_core_HealthCheck**)_upb_array_mutable_accessor(msg, UPB_SIZE(136, 248), len);
|
292
309
|
}
|
293
310
|
UPB_INLINE struct envoy_api_v2_core_HealthCheck** envoy_api_v2_Cluster_resize_health_checks(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
294
|
-
return (struct envoy_api_v2_core_HealthCheck**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
311
|
+
return (struct envoy_api_v2_core_HealthCheck**)_upb_array_resize_accessor(msg, UPB_SIZE(136, 248), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
295
312
|
}
|
296
313
|
UPB_INLINE struct envoy_api_v2_core_HealthCheck* envoy_api_v2_Cluster_add_health_checks(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
297
314
|
struct envoy_api_v2_core_HealthCheck* sub = (struct envoy_api_v2_core_HealthCheck*)upb_msg_new(&envoy_api_v2_core_HealthCheck_msginit, arena);
|
298
315
|
bool ok = _upb_array_append_accessor(
|
299
|
-
msg, UPB_SIZE(
|
316
|
+
msg, UPB_SIZE(136, 248), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
300
317
|
if (!ok) return NULL;
|
301
318
|
return sub;
|
302
319
|
}
|
@@ -376,15 +393,15 @@ UPB_INLINE void envoy_api_v2_Cluster_set_dns_lookup_family(envoy_api_v2_Cluster
|
|
376
393
|
UPB_FIELD_AT(msg, int32_t, UPB_SIZE(8, 8)) = value;
|
377
394
|
}
|
378
395
|
UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_mutable_dns_resolvers(envoy_api_v2_Cluster *msg, size_t *len) {
|
379
|
-
return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
396
|
+
return (struct envoy_api_v2_core_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(140, 256), len);
|
380
397
|
}
|
381
398
|
UPB_INLINE struct envoy_api_v2_core_Address** envoy_api_v2_Cluster_resize_dns_resolvers(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
382
|
-
return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
399
|
+
return (struct envoy_api_v2_core_Address**)_upb_array_resize_accessor(msg, UPB_SIZE(140, 256), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
383
400
|
}
|
384
401
|
UPB_INLINE struct envoy_api_v2_core_Address* envoy_api_v2_Cluster_add_dns_resolvers(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
385
402
|
struct envoy_api_v2_core_Address* sub = (struct envoy_api_v2_core_Address*)upb_msg_new(&envoy_api_v2_core_Address_msginit, arena);
|
386
403
|
bool ok = _upb_array_append_accessor(
|
387
|
-
msg, UPB_SIZE(
|
404
|
+
msg, UPB_SIZE(140, 256), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
388
405
|
if (!ok) return NULL;
|
389
406
|
return sub;
|
390
407
|
}
|
@@ -437,7 +454,7 @@ UPB_INLINE struct envoy_api_v2_Cluster_LbSubsetConfig* envoy_api_v2_Cluster_muta
|
|
437
454
|
return sub;
|
438
455
|
}
|
439
456
|
UPB_INLINE void envoy_api_v2_Cluster_set_ring_hash_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_RingHashLbConfig* value) {
|
440
|
-
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(
|
457
|
+
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_RingHashLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 23);
|
441
458
|
}
|
442
459
|
UPB_INLINE struct envoy_api_v2_Cluster_RingHashLbConfig* envoy_api_v2_Cluster_mutable_ring_hash_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
443
460
|
struct envoy_api_v2_Cluster_RingHashLbConfig* sub = (struct envoy_api_v2_Cluster_RingHashLbConfig*)envoy_api_v2_Cluster_ring_hash_lb_config(msg);
|
@@ -533,7 +550,7 @@ UPB_INLINE struct envoy_api_v2_ClusterLoadAssignment* envoy_api_v2_Cluster_mutab
|
|
533
550
|
return sub;
|
534
551
|
}
|
535
552
|
UPB_INLINE void envoy_api_v2_Cluster_set_original_dst_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_OriginalDstLbConfig* value) {
|
536
|
-
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(
|
553
|
+
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_OriginalDstLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 34);
|
537
554
|
}
|
538
555
|
UPB_INLINE struct envoy_api_v2_Cluster_OriginalDstLbConfig* envoy_api_v2_Cluster_mutable_original_dst_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
539
556
|
struct envoy_api_v2_Cluster_OriginalDstLbConfig* sub = (struct envoy_api_v2_Cluster_OriginalDstLbConfig*)envoy_api_v2_Cluster_original_dst_lb_config(msg);
|
@@ -545,33 +562,33 @@ UPB_INLINE struct envoy_api_v2_Cluster_OriginalDstLbConfig* envoy_api_v2_Cluster
|
|
545
562
|
return sub;
|
546
563
|
}
|
547
564
|
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry** envoy_api_v2_Cluster_mutable_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t *len) {
|
548
|
-
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
565
|
+
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(144, 264), len);
|
549
566
|
}
|
550
567
|
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry** envoy_api_v2_Cluster_resize_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
551
|
-
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
568
|
+
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(144, 264), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
552
569
|
}
|
553
570
|
UPB_INLINE struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* envoy_api_v2_Cluster_add_extension_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
554
571
|
struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry* sub = (struct envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry*)upb_msg_new(&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena);
|
555
572
|
bool ok = _upb_array_append_accessor(
|
556
|
-
msg, UPB_SIZE(
|
573
|
+
msg, UPB_SIZE(144, 264), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
557
574
|
if (!ok) return NULL;
|
558
575
|
return sub;
|
559
576
|
}
|
560
577
|
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry** envoy_api_v2_Cluster_mutable_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t *len) {
|
561
|
-
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
578
|
+
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_mutable_accessor(msg, UPB_SIZE(148, 272), len);
|
562
579
|
}
|
563
580
|
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry** envoy_api_v2_Cluster_resize_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
564
|
-
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
581
|
+
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry**)_upb_array_resize_accessor(msg, UPB_SIZE(148, 272), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
565
582
|
}
|
566
583
|
UPB_INLINE struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* envoy_api_v2_Cluster_add_typed_extension_protocol_options(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
567
584
|
struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry* sub = (struct envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry*)upb_msg_new(&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena);
|
568
585
|
bool ok = _upb_array_append_accessor(
|
569
|
-
msg, UPB_SIZE(
|
586
|
+
msg, UPB_SIZE(148, 272), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
570
587
|
if (!ok) return NULL;
|
571
588
|
return sub;
|
572
589
|
}
|
573
590
|
UPB_INLINE void envoy_api_v2_Cluster_set_least_request_lb_config(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_LeastRequestLbConfig* value) {
|
574
|
-
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(
|
591
|
+
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_LeastRequestLbConfig*, UPB_SIZE(172, 312), value, UPB_SIZE(176, 320), 37);
|
575
592
|
}
|
576
593
|
UPB_INLINE struct envoy_api_v2_Cluster_LeastRequestLbConfig* envoy_api_v2_Cluster_mutable_least_request_lb_config(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
577
594
|
struct envoy_api_v2_Cluster_LeastRequestLbConfig* sub = (struct envoy_api_v2_Cluster_LeastRequestLbConfig*)envoy_api_v2_Cluster_least_request_lb_config(msg);
|
@@ -583,7 +600,7 @@ UPB_INLINE struct envoy_api_v2_Cluster_LeastRequestLbConfig* envoy_api_v2_Cluste
|
|
583
600
|
return sub;
|
584
601
|
}
|
585
602
|
UPB_INLINE void envoy_api_v2_Cluster_set_cluster_type(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_CustomClusterType* value) {
|
586
|
-
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(
|
603
|
+
UPB_WRITE_ONEOF(msg, envoy_api_v2_Cluster_CustomClusterType*, UPB_SIZE(160, 296), value, UPB_SIZE(168, 304), 38);
|
587
604
|
}
|
588
605
|
UPB_INLINE struct envoy_api_v2_Cluster_CustomClusterType* envoy_api_v2_Cluster_mutable_cluster_type(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
589
606
|
struct envoy_api_v2_Cluster_CustomClusterType* sub = (struct envoy_api_v2_Cluster_CustomClusterType*)envoy_api_v2_Cluster_cluster_type(msg);
|
@@ -598,18 +615,113 @@ UPB_INLINE void envoy_api_v2_Cluster_set_respect_dns_ttl(envoy_api_v2_Cluster *m
|
|
598
615
|
UPB_FIELD_AT(msg, bool, UPB_SIZE(26, 26)) = value;
|
599
616
|
}
|
600
617
|
UPB_INLINE struct envoy_api_v2_cluster_Filter** envoy_api_v2_Cluster_mutable_filters(envoy_api_v2_Cluster *msg, size_t *len) {
|
601
|
-
return (struct envoy_api_v2_cluster_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
618
|
+
return (struct envoy_api_v2_cluster_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(152, 280), len);
|
602
619
|
}
|
603
620
|
UPB_INLINE struct envoy_api_v2_cluster_Filter** envoy_api_v2_Cluster_resize_filters(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
604
|
-
return (struct envoy_api_v2_cluster_Filter**)_upb_array_resize_accessor(msg, UPB_SIZE(
|
621
|
+
return (struct envoy_api_v2_cluster_Filter**)_upb_array_resize_accessor(msg, UPB_SIZE(152, 280), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
605
622
|
}
|
606
623
|
UPB_INLINE struct envoy_api_v2_cluster_Filter* envoy_api_v2_Cluster_add_filters(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
607
624
|
struct envoy_api_v2_cluster_Filter* sub = (struct envoy_api_v2_cluster_Filter*)upb_msg_new(&envoy_api_v2_cluster_Filter_msginit, arena);
|
608
625
|
bool ok = _upb_array_append_accessor(
|
609
|
-
msg, UPB_SIZE(
|
626
|
+
msg, UPB_SIZE(152, 280), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
627
|
+
if (!ok) return NULL;
|
628
|
+
return sub;
|
629
|
+
}
|
630
|
+
UPB_INLINE void envoy_api_v2_Cluster_set_load_balancing_policy(envoy_api_v2_Cluster *msg, envoy_api_v2_LoadBalancingPolicy* value) {
|
631
|
+
UPB_FIELD_AT(msg, envoy_api_v2_LoadBalancingPolicy*, UPB_SIZE(120, 216)) = value;
|
632
|
+
}
|
633
|
+
UPB_INLINE struct envoy_api_v2_LoadBalancingPolicy* envoy_api_v2_Cluster_mutable_load_balancing_policy(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
634
|
+
struct envoy_api_v2_LoadBalancingPolicy* sub = (struct envoy_api_v2_LoadBalancingPolicy*)envoy_api_v2_Cluster_load_balancing_policy(msg);
|
635
|
+
if (sub == NULL) {
|
636
|
+
sub = (struct envoy_api_v2_LoadBalancingPolicy*)upb_msg_new(&envoy_api_v2_LoadBalancingPolicy_msginit, arena);
|
637
|
+
if (!sub) return NULL;
|
638
|
+
envoy_api_v2_Cluster_set_load_balancing_policy(msg, sub);
|
639
|
+
}
|
640
|
+
return sub;
|
641
|
+
}
|
642
|
+
UPB_INLINE void envoy_api_v2_Cluster_set_lrs_server(envoy_api_v2_Cluster *msg, struct envoy_api_v2_core_ConfigSource* value) {
|
643
|
+
UPB_FIELD_AT(msg, struct envoy_api_v2_core_ConfigSource*, UPB_SIZE(124, 224)) = value;
|
644
|
+
}
|
645
|
+
UPB_INLINE struct envoy_api_v2_core_ConfigSource* envoy_api_v2_Cluster_mutable_lrs_server(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
646
|
+
struct envoy_api_v2_core_ConfigSource* sub = (struct envoy_api_v2_core_ConfigSource*)envoy_api_v2_Cluster_lrs_server(msg);
|
647
|
+
if (sub == NULL) {
|
648
|
+
sub = (struct envoy_api_v2_core_ConfigSource*)upb_msg_new(&envoy_api_v2_core_ConfigSource_msginit, arena);
|
649
|
+
if (!sub) return NULL;
|
650
|
+
envoy_api_v2_Cluster_set_lrs_server(msg, sub);
|
651
|
+
}
|
652
|
+
return sub;
|
653
|
+
}
|
654
|
+
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch** envoy_api_v2_Cluster_mutable_transport_socket_matches(envoy_api_v2_Cluster *msg, size_t *len) {
|
655
|
+
return (envoy_api_v2_Cluster_TransportSocketMatch**)_upb_array_mutable_accessor(msg, UPB_SIZE(156, 288), len);
|
656
|
+
}
|
657
|
+
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch** envoy_api_v2_Cluster_resize_transport_socket_matches(envoy_api_v2_Cluster *msg, size_t len, upb_arena *arena) {
|
658
|
+
return (envoy_api_v2_Cluster_TransportSocketMatch**)_upb_array_resize_accessor(msg, UPB_SIZE(156, 288), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
659
|
+
}
|
660
|
+
UPB_INLINE struct envoy_api_v2_Cluster_TransportSocketMatch* envoy_api_v2_Cluster_add_transport_socket_matches(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
661
|
+
struct envoy_api_v2_Cluster_TransportSocketMatch* sub = (struct envoy_api_v2_Cluster_TransportSocketMatch*)upb_msg_new(&envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena);
|
662
|
+
bool ok = _upb_array_append_accessor(
|
663
|
+
msg, UPB_SIZE(156, 288), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
610
664
|
if (!ok) return NULL;
|
611
665
|
return sub;
|
612
666
|
}
|
667
|
+
UPB_INLINE void envoy_api_v2_Cluster_set_dns_failure_refresh_rate(envoy_api_v2_Cluster *msg, envoy_api_v2_Cluster_RefreshRate* value) {
|
668
|
+
UPB_FIELD_AT(msg, envoy_api_v2_Cluster_RefreshRate*, UPB_SIZE(128, 232)) = value;
|
669
|
+
}
|
670
|
+
UPB_INLINE struct envoy_api_v2_Cluster_RefreshRate* envoy_api_v2_Cluster_mutable_dns_failure_refresh_rate(envoy_api_v2_Cluster *msg, upb_arena *arena) {
|
671
|
+
struct envoy_api_v2_Cluster_RefreshRate* sub = (struct envoy_api_v2_Cluster_RefreshRate*)envoy_api_v2_Cluster_dns_failure_refresh_rate(msg);
|
672
|
+
if (sub == NULL) {
|
673
|
+
sub = (struct envoy_api_v2_Cluster_RefreshRate*)upb_msg_new(&envoy_api_v2_Cluster_RefreshRate_msginit, arena);
|
674
|
+
if (!sub) return NULL;
|
675
|
+
envoy_api_v2_Cluster_set_dns_failure_refresh_rate(msg, sub);
|
676
|
+
}
|
677
|
+
return sub;
|
678
|
+
}
|
679
|
+
|
680
|
+
/* envoy.api.v2.Cluster.TransportSocketMatch */
|
681
|
+
|
682
|
+
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch *envoy_api_v2_Cluster_TransportSocketMatch_new(upb_arena *arena) {
|
683
|
+
return (envoy_api_v2_Cluster_TransportSocketMatch *)upb_msg_new(&envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena);
|
684
|
+
}
|
685
|
+
UPB_INLINE envoy_api_v2_Cluster_TransportSocketMatch *envoy_api_v2_Cluster_TransportSocketMatch_parse(const char *buf, size_t size,
|
686
|
+
upb_arena *arena) {
|
687
|
+
envoy_api_v2_Cluster_TransportSocketMatch *ret = envoy_api_v2_Cluster_TransportSocketMatch_new(arena);
|
688
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena)) ? ret : NULL;
|
689
|
+
}
|
690
|
+
UPB_INLINE char *envoy_api_v2_Cluster_TransportSocketMatch_serialize(const envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena, size_t *len) {
|
691
|
+
return upb_encode(msg, &envoy_api_v2_Cluster_TransportSocketMatch_msginit, arena, len);
|
692
|
+
}
|
693
|
+
|
694
|
+
UPB_INLINE upb_strview envoy_api_v2_Cluster_TransportSocketMatch_name(const envoy_api_v2_Cluster_TransportSocketMatch *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
695
|
+
UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_TransportSocketMatch_match(const envoy_api_v2_Cluster_TransportSocketMatch *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
|
696
|
+
UPB_INLINE const struct envoy_api_v2_core_TransportSocket* envoy_api_v2_Cluster_TransportSocketMatch_transport_socket(const envoy_api_v2_Cluster_TransportSocketMatch *msg) { return UPB_FIELD_AT(msg, const struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(12, 24)); }
|
697
|
+
|
698
|
+
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_name(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_strview value) {
|
699
|
+
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
700
|
+
}
|
701
|
+
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_match(envoy_api_v2_Cluster_TransportSocketMatch *msg, struct google_protobuf_Struct* value) {
|
702
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
|
703
|
+
}
|
704
|
+
UPB_INLINE struct google_protobuf_Struct* envoy_api_v2_Cluster_TransportSocketMatch_mutable_match(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena) {
|
705
|
+
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_api_v2_Cluster_TransportSocketMatch_match(msg);
|
706
|
+
if (sub == NULL) {
|
707
|
+
sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
|
708
|
+
if (!sub) return NULL;
|
709
|
+
envoy_api_v2_Cluster_TransportSocketMatch_set_match(msg, sub);
|
710
|
+
}
|
711
|
+
return sub;
|
712
|
+
}
|
713
|
+
UPB_INLINE void envoy_api_v2_Cluster_TransportSocketMatch_set_transport_socket(envoy_api_v2_Cluster_TransportSocketMatch *msg, struct envoy_api_v2_core_TransportSocket* value) {
|
714
|
+
UPB_FIELD_AT(msg, struct envoy_api_v2_core_TransportSocket*, UPB_SIZE(12, 24)) = value;
|
715
|
+
}
|
716
|
+
UPB_INLINE struct envoy_api_v2_core_TransportSocket* envoy_api_v2_Cluster_TransportSocketMatch_mutable_transport_socket(envoy_api_v2_Cluster_TransportSocketMatch *msg, upb_arena *arena) {
|
717
|
+
struct envoy_api_v2_core_TransportSocket* sub = (struct envoy_api_v2_core_TransportSocket*)envoy_api_v2_Cluster_TransportSocketMatch_transport_socket(msg);
|
718
|
+
if (sub == NULL) {
|
719
|
+
sub = (struct envoy_api_v2_core_TransportSocket*)upb_msg_new(&envoy_api_v2_core_TransportSocket_msginit, arena);
|
720
|
+
if (!sub) return NULL;
|
721
|
+
envoy_api_v2_Cluster_TransportSocketMatch_set_transport_socket(msg, sub);
|
722
|
+
}
|
723
|
+
return sub;
|
724
|
+
}
|
613
725
|
|
614
726
|
/* envoy.api.v2.Cluster.CustomClusterType */
|
615
727
|
|
@@ -677,72 +789,6 @@ UPB_INLINE void envoy_api_v2_Cluster_EdsClusterConfig_set_service_name(envoy_api
|
|
677
789
|
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
678
790
|
}
|
679
791
|
|
680
|
-
/* envoy.api.v2.Cluster.ExtensionProtocolOptionsEntry */
|
681
|
-
|
682
|
-
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_new(upb_arena *arena) {
|
683
|
-
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *)upb_msg_new(&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena);
|
684
|
-
}
|
685
|
-
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_parse(const char *buf, size_t size,
|
686
|
-
upb_arena *arena) {
|
687
|
-
envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *ret = envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_new(arena);
|
688
|
-
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
|
689
|
-
}
|
690
|
-
UPB_INLINE char *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len) {
|
691
|
-
return upb_encode(msg, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena, len);
|
692
|
-
}
|
693
|
-
|
694
|
-
UPB_INLINE upb_strview envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
695
|
-
UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
|
696
|
-
|
697
|
-
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_strview value) {
|
698
|
-
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
699
|
-
}
|
700
|
-
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, struct google_protobuf_Struct* value) {
|
701
|
-
UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
|
702
|
-
}
|
703
|
-
UPB_INLINE struct google_protobuf_Struct* envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena) {
|
704
|
-
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(msg);
|
705
|
-
if (sub == NULL) {
|
706
|
-
sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
|
707
|
-
if (!sub) return NULL;
|
708
|
-
envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_value(msg, sub);
|
709
|
-
}
|
710
|
-
return sub;
|
711
|
-
}
|
712
|
-
|
713
|
-
/* envoy.api.v2.Cluster.TypedExtensionProtocolOptionsEntry */
|
714
|
-
|
715
|
-
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_new(upb_arena *arena) {
|
716
|
-
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *)upb_msg_new(&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena);
|
717
|
-
}
|
718
|
-
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_parse(const char *buf, size_t size,
|
719
|
-
upb_arena *arena) {
|
720
|
-
envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *ret = envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_new(arena);
|
721
|
-
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
|
722
|
-
}
|
723
|
-
UPB_INLINE char *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len) {
|
724
|
-
return upb_encode(msg, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena, len);
|
725
|
-
}
|
726
|
-
|
727
|
-
UPB_INLINE upb_strview envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
728
|
-
UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Any*, UPB_SIZE(8, 16)); }
|
729
|
-
|
730
|
-
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_strview value) {
|
731
|
-
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
732
|
-
}
|
733
|
-
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, struct google_protobuf_Any* value) {
|
734
|
-
UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(8, 16)) = value;
|
735
|
-
}
|
736
|
-
UPB_INLINE struct google_protobuf_Any* envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena) {
|
737
|
-
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_value(msg);
|
738
|
-
if (sub == NULL) {
|
739
|
-
sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
|
740
|
-
if (!sub) return NULL;
|
741
|
-
envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_value(msg, sub);
|
742
|
-
}
|
743
|
-
return sub;
|
744
|
-
}
|
745
|
-
|
746
792
|
/* envoy.api.v2.Cluster.LbSubsetConfig */
|
747
793
|
|
748
794
|
UPB_INLINE envoy_api_v2_Cluster_LbSubsetConfig *envoy_api_v2_Cluster_LbSubsetConfig_new(upb_arena *arena) {
|
@@ -1031,11 +1077,12 @@ UPB_INLINE char *envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_serialize
|
|
1031
1077
|
return upb_encode(msg, &envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_msginit, arena, len);
|
1032
1078
|
}
|
1033
1079
|
|
1034
|
-
UPB_INLINE const struct envoy_type_Percent* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_type_Percent*, UPB_SIZE(
|
1035
|
-
UPB_INLINE const struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt64Value*, UPB_SIZE(
|
1080
|
+
UPB_INLINE const struct envoy_type_Percent* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg) { return UPB_FIELD_AT(msg, const struct envoy_type_Percent*, UPB_SIZE(4, 8)); }
|
1081
|
+
UPB_INLINE const struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_UInt64Value*, UPB_SIZE(8, 16)); }
|
1082
|
+
UPB_INLINE bool envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_fail_traffic_on_panic(const envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg) { return UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)); }
|
1036
1083
|
|
1037
1084
|
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_routing_enabled(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct envoy_type_Percent* value) {
|
1038
|
-
UPB_FIELD_AT(msg, struct envoy_type_Percent*, UPB_SIZE(
|
1085
|
+
UPB_FIELD_AT(msg, struct envoy_type_Percent*, UPB_SIZE(4, 8)) = value;
|
1039
1086
|
}
|
1040
1087
|
UPB_INLINE struct envoy_type_Percent* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_routing_enabled(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, upb_arena *arena) {
|
1041
1088
|
struct envoy_type_Percent* sub = (struct envoy_type_Percent*)envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_routing_enabled(msg);
|
@@ -1047,7 +1094,7 @@ UPB_INLINE struct envoy_type_Percent* envoy_api_v2_Cluster_CommonLbConfig_ZoneAw
|
|
1047
1094
|
return sub;
|
1048
1095
|
}
|
1049
1096
|
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_min_cluster_size(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, struct google_protobuf_UInt64Value* value) {
|
1050
|
-
UPB_FIELD_AT(msg, struct google_protobuf_UInt64Value*, UPB_SIZE(
|
1097
|
+
UPB_FIELD_AT(msg, struct google_protobuf_UInt64Value*, UPB_SIZE(8, 16)) = value;
|
1051
1098
|
}
|
1052
1099
|
UPB_INLINE struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_mutable_min_cluster_size(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, upb_arena *arena) {
|
1053
1100
|
struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_min_cluster_size(msg);
|
@@ -1058,6 +1105,9 @@ UPB_INLINE struct google_protobuf_UInt64Value* envoy_api_v2_Cluster_CommonLbConf
|
|
1058
1105
|
}
|
1059
1106
|
return sub;
|
1060
1107
|
}
|
1108
|
+
UPB_INLINE void envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig_set_fail_traffic_on_panic(envoy_api_v2_Cluster_CommonLbConfig_ZoneAwareLbConfig *msg, bool value) {
|
1109
|
+
UPB_FIELD_AT(msg, bool, UPB_SIZE(0, 0)) = value;
|
1110
|
+
}
|
1061
1111
|
|
1062
1112
|
/* envoy.api.v2.Cluster.CommonLbConfig.LocalityWeightedLbConfig */
|
1063
1113
|
|
@@ -1075,6 +1125,190 @@ UPB_INLINE char *envoy_api_v2_Cluster_CommonLbConfig_LocalityWeightedLbConfig_se
|
|
1075
1125
|
|
1076
1126
|
|
1077
1127
|
|
1128
|
+
/* envoy.api.v2.Cluster.RefreshRate */
|
1129
|
+
|
1130
|
+
UPB_INLINE envoy_api_v2_Cluster_RefreshRate *envoy_api_v2_Cluster_RefreshRate_new(upb_arena *arena) {
|
1131
|
+
return (envoy_api_v2_Cluster_RefreshRate *)upb_msg_new(&envoy_api_v2_Cluster_RefreshRate_msginit, arena);
|
1132
|
+
}
|
1133
|
+
UPB_INLINE envoy_api_v2_Cluster_RefreshRate *envoy_api_v2_Cluster_RefreshRate_parse(const char *buf, size_t size,
|
1134
|
+
upb_arena *arena) {
|
1135
|
+
envoy_api_v2_Cluster_RefreshRate *ret = envoy_api_v2_Cluster_RefreshRate_new(arena);
|
1136
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_RefreshRate_msginit, arena)) ? ret : NULL;
|
1137
|
+
}
|
1138
|
+
UPB_INLINE char *envoy_api_v2_Cluster_RefreshRate_serialize(const envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena, size_t *len) {
|
1139
|
+
return upb_encode(msg, &envoy_api_v2_Cluster_RefreshRate_msginit, arena, len);
|
1140
|
+
}
|
1141
|
+
|
1142
|
+
UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_base_interval(const envoy_api_v2_Cluster_RefreshRate *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(0, 0)); }
|
1143
|
+
UPB_INLINE const struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_max_interval(const envoy_api_v2_Cluster_RefreshRate *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Duration*, UPB_SIZE(4, 8)); }
|
1144
|
+
|
1145
|
+
UPB_INLINE void envoy_api_v2_Cluster_RefreshRate_set_base_interval(envoy_api_v2_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) {
|
1146
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(0, 0)) = value;
|
1147
|
+
}
|
1148
|
+
UPB_INLINE struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_mutable_base_interval(envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena) {
|
1149
|
+
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_api_v2_Cluster_RefreshRate_base_interval(msg);
|
1150
|
+
if (sub == NULL) {
|
1151
|
+
sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
|
1152
|
+
if (!sub) return NULL;
|
1153
|
+
envoy_api_v2_Cluster_RefreshRate_set_base_interval(msg, sub);
|
1154
|
+
}
|
1155
|
+
return sub;
|
1156
|
+
}
|
1157
|
+
UPB_INLINE void envoy_api_v2_Cluster_RefreshRate_set_max_interval(envoy_api_v2_Cluster_RefreshRate *msg, struct google_protobuf_Duration* value) {
|
1158
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Duration*, UPB_SIZE(4, 8)) = value;
|
1159
|
+
}
|
1160
|
+
UPB_INLINE struct google_protobuf_Duration* envoy_api_v2_Cluster_RefreshRate_mutable_max_interval(envoy_api_v2_Cluster_RefreshRate *msg, upb_arena *arena) {
|
1161
|
+
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_api_v2_Cluster_RefreshRate_max_interval(msg);
|
1162
|
+
if (sub == NULL) {
|
1163
|
+
sub = (struct google_protobuf_Duration*)upb_msg_new(&google_protobuf_Duration_msginit, arena);
|
1164
|
+
if (!sub) return NULL;
|
1165
|
+
envoy_api_v2_Cluster_RefreshRate_set_max_interval(msg, sub);
|
1166
|
+
}
|
1167
|
+
return sub;
|
1168
|
+
}
|
1169
|
+
|
1170
|
+
/* envoy.api.v2.Cluster.ExtensionProtocolOptionsEntry */
|
1171
|
+
|
1172
|
+
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_new(upb_arena *arena) {
|
1173
|
+
return (envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *)upb_msg_new(&envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena);
|
1174
|
+
}
|
1175
|
+
UPB_INLINE envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_parse(const char *buf, size_t size,
|
1176
|
+
upb_arena *arena) {
|
1177
|
+
envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *ret = envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_new(arena);
|
1178
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
|
1179
|
+
}
|
1180
|
+
UPB_INLINE char *envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len) {
|
1181
|
+
return upb_encode(msg, &envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_msginit, arena, len);
|
1182
|
+
}
|
1183
|
+
|
1184
|
+
UPB_INLINE upb_strview envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
1185
|
+
UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
|
1186
|
+
|
1187
|
+
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_strview value) {
|
1188
|
+
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
1189
|
+
}
|
1190
|
+
UPB_INLINE void envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, struct google_protobuf_Struct* value) {
|
1191
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
|
1192
|
+
}
|
1193
|
+
UPB_INLINE struct google_protobuf_Struct* envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry *msg, upb_arena *arena) {
|
1194
|
+
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_value(msg);
|
1195
|
+
if (sub == NULL) {
|
1196
|
+
sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
|
1197
|
+
if (!sub) return NULL;
|
1198
|
+
envoy_api_v2_Cluster_ExtensionProtocolOptionsEntry_set_value(msg, sub);
|
1199
|
+
}
|
1200
|
+
return sub;
|
1201
|
+
}
|
1202
|
+
|
1203
|
+
/* envoy.api.v2.Cluster.TypedExtensionProtocolOptionsEntry */
|
1204
|
+
|
1205
|
+
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_new(upb_arena *arena) {
|
1206
|
+
return (envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *)upb_msg_new(&envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena);
|
1207
|
+
}
|
1208
|
+
UPB_INLINE envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_parse(const char *buf, size_t size,
|
1209
|
+
upb_arena *arena) {
|
1210
|
+
envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *ret = envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_new(arena);
|
1211
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena)) ? ret : NULL;
|
1212
|
+
}
|
1213
|
+
UPB_INLINE char *envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_serialize(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena, size_t *len) {
|
1214
|
+
return upb_encode(msg, &envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_msginit, arena, len);
|
1215
|
+
}
|
1216
|
+
|
1217
|
+
UPB_INLINE upb_strview envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_key(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
1218
|
+
UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_value(const envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Any*, UPB_SIZE(8, 16)); }
|
1219
|
+
|
1220
|
+
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_key(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_strview value) {
|
1221
|
+
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
1222
|
+
}
|
1223
|
+
UPB_INLINE void envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, struct google_protobuf_Any* value) {
|
1224
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(8, 16)) = value;
|
1225
|
+
}
|
1226
|
+
UPB_INLINE struct google_protobuf_Any* envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_mutable_value(envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry *msg, upb_arena *arena) {
|
1227
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_value(msg);
|
1228
|
+
if (sub == NULL) {
|
1229
|
+
sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
|
1230
|
+
if (!sub) return NULL;
|
1231
|
+
envoy_api_v2_Cluster_TypedExtensionProtocolOptionsEntry_set_value(msg, sub);
|
1232
|
+
}
|
1233
|
+
return sub;
|
1234
|
+
}
|
1235
|
+
|
1236
|
+
/* envoy.api.v2.LoadBalancingPolicy */
|
1237
|
+
|
1238
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy *envoy_api_v2_LoadBalancingPolicy_new(upb_arena *arena) {
|
1239
|
+
return (envoy_api_v2_LoadBalancingPolicy *)upb_msg_new(&envoy_api_v2_LoadBalancingPolicy_msginit, arena);
|
1240
|
+
}
|
1241
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy *envoy_api_v2_LoadBalancingPolicy_parse(const char *buf, size_t size,
|
1242
|
+
upb_arena *arena) {
|
1243
|
+
envoy_api_v2_LoadBalancingPolicy *ret = envoy_api_v2_LoadBalancingPolicy_new(arena);
|
1244
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_LoadBalancingPolicy_msginit, arena)) ? ret : NULL;
|
1245
|
+
}
|
1246
|
+
UPB_INLINE char *envoy_api_v2_LoadBalancingPolicy_serialize(const envoy_api_v2_LoadBalancingPolicy *msg, upb_arena *arena, size_t *len) {
|
1247
|
+
return upb_encode(msg, &envoy_api_v2_LoadBalancingPolicy_msginit, arena, len);
|
1248
|
+
}
|
1249
|
+
|
1250
|
+
UPB_INLINE const envoy_api_v2_LoadBalancingPolicy_Policy* const* envoy_api_v2_LoadBalancingPolicy_policies(const envoy_api_v2_LoadBalancingPolicy *msg, size_t *len) { return (const envoy_api_v2_LoadBalancingPolicy_Policy* const*)_upb_array_accessor(msg, UPB_SIZE(0, 0), len); }
|
1251
|
+
|
1252
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy** envoy_api_v2_LoadBalancingPolicy_mutable_policies(envoy_api_v2_LoadBalancingPolicy *msg, size_t *len) {
|
1253
|
+
return (envoy_api_v2_LoadBalancingPolicy_Policy**)_upb_array_mutable_accessor(msg, UPB_SIZE(0, 0), len);
|
1254
|
+
}
|
1255
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy** envoy_api_v2_LoadBalancingPolicy_resize_policies(envoy_api_v2_LoadBalancingPolicy *msg, size_t len, upb_arena *arena) {
|
1256
|
+
return (envoy_api_v2_LoadBalancingPolicy_Policy**)_upb_array_resize_accessor(msg, UPB_SIZE(0, 0), len, UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, arena);
|
1257
|
+
}
|
1258
|
+
UPB_INLINE struct envoy_api_v2_LoadBalancingPolicy_Policy* envoy_api_v2_LoadBalancingPolicy_add_policies(envoy_api_v2_LoadBalancingPolicy *msg, upb_arena *arena) {
|
1259
|
+
struct envoy_api_v2_LoadBalancingPolicy_Policy* sub = (struct envoy_api_v2_LoadBalancingPolicy_Policy*)upb_msg_new(&envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena);
|
1260
|
+
bool ok = _upb_array_append_accessor(
|
1261
|
+
msg, UPB_SIZE(0, 0), UPB_SIZE(4, 8), UPB_TYPE_MESSAGE, &sub, arena);
|
1262
|
+
if (!ok) return NULL;
|
1263
|
+
return sub;
|
1264
|
+
}
|
1265
|
+
|
1266
|
+
/* envoy.api.v2.LoadBalancingPolicy.Policy */
|
1267
|
+
|
1268
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy *envoy_api_v2_LoadBalancingPolicy_Policy_new(upb_arena *arena) {
|
1269
|
+
return (envoy_api_v2_LoadBalancingPolicy_Policy *)upb_msg_new(&envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena);
|
1270
|
+
}
|
1271
|
+
UPB_INLINE envoy_api_v2_LoadBalancingPolicy_Policy *envoy_api_v2_LoadBalancingPolicy_Policy_parse(const char *buf, size_t size,
|
1272
|
+
upb_arena *arena) {
|
1273
|
+
envoy_api_v2_LoadBalancingPolicy_Policy *ret = envoy_api_v2_LoadBalancingPolicy_Policy_new(arena);
|
1274
|
+
return (ret && upb_decode(buf, size, ret, &envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena)) ? ret : NULL;
|
1275
|
+
}
|
1276
|
+
UPB_INLINE char *envoy_api_v2_LoadBalancingPolicy_Policy_serialize(const envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena, size_t *len) {
|
1277
|
+
return upb_encode(msg, &envoy_api_v2_LoadBalancingPolicy_Policy_msginit, arena, len);
|
1278
|
+
}
|
1279
|
+
|
1280
|
+
UPB_INLINE upb_strview envoy_api_v2_LoadBalancingPolicy_Policy_name(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)); }
|
1281
|
+
UPB_INLINE const struct google_protobuf_Struct* envoy_api_v2_LoadBalancingPolicy_Policy_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Struct*, UPB_SIZE(8, 16)); }
|
1282
|
+
UPB_INLINE const struct google_protobuf_Any* envoy_api_v2_LoadBalancingPolicy_Policy_typed_config(const envoy_api_v2_LoadBalancingPolicy_Policy *msg) { return UPB_FIELD_AT(msg, const struct google_protobuf_Any*, UPB_SIZE(12, 24)); }
|
1283
|
+
|
1284
|
+
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_name(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_strview value) {
|
1285
|
+
UPB_FIELD_AT(msg, upb_strview, UPB_SIZE(0, 0)) = value;
|
1286
|
+
}
|
1287
|
+
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, struct google_protobuf_Struct* value) {
|
1288
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Struct*, UPB_SIZE(8, 16)) = value;
|
1289
|
+
}
|
1290
|
+
UPB_INLINE struct google_protobuf_Struct* envoy_api_v2_LoadBalancingPolicy_Policy_mutable_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena) {
|
1291
|
+
struct google_protobuf_Struct* sub = (struct google_protobuf_Struct*)envoy_api_v2_LoadBalancingPolicy_Policy_config(msg);
|
1292
|
+
if (sub == NULL) {
|
1293
|
+
sub = (struct google_protobuf_Struct*)upb_msg_new(&google_protobuf_Struct_msginit, arena);
|
1294
|
+
if (!sub) return NULL;
|
1295
|
+
envoy_api_v2_LoadBalancingPolicy_Policy_set_config(msg, sub);
|
1296
|
+
}
|
1297
|
+
return sub;
|
1298
|
+
}
|
1299
|
+
UPB_INLINE void envoy_api_v2_LoadBalancingPolicy_Policy_set_typed_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, struct google_protobuf_Any* value) {
|
1300
|
+
UPB_FIELD_AT(msg, struct google_protobuf_Any*, UPB_SIZE(12, 24)) = value;
|
1301
|
+
}
|
1302
|
+
UPB_INLINE struct google_protobuf_Any* envoy_api_v2_LoadBalancingPolicy_Policy_mutable_typed_config(envoy_api_v2_LoadBalancingPolicy_Policy *msg, upb_arena *arena) {
|
1303
|
+
struct google_protobuf_Any* sub = (struct google_protobuf_Any*)envoy_api_v2_LoadBalancingPolicy_Policy_typed_config(msg);
|
1304
|
+
if (sub == NULL) {
|
1305
|
+
sub = (struct google_protobuf_Any*)upb_msg_new(&google_protobuf_Any_msginit, arena);
|
1306
|
+
if (!sub) return NULL;
|
1307
|
+
envoy_api_v2_LoadBalancingPolicy_Policy_set_typed_config(msg, sub);
|
1308
|
+
}
|
1309
|
+
return sub;
|
1310
|
+
}
|
1311
|
+
|
1078
1312
|
/* envoy.api.v2.UpstreamBindConfig */
|
1079
1313
|
|
1080
1314
|
UPB_INLINE envoy_api_v2_UpstreamBindConfig *envoy_api_v2_UpstreamBindConfig_new(upb_arena *arena) {
|