grpc 1.39.0.pre1 → 1.40.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 +34 -18
- data/include/grpc/event_engine/event_engine.h +10 -14
- data/include/grpc/event_engine/slice_allocator.h +8 -33
- data/include/grpc/impl/codegen/grpc_types.h +18 -8
- data/include/grpc/impl/codegen/port_platform.h +24 -0
- data/src/core/ext/filters/client_channel/client_channel.cc +413 -247
- data/src/core/ext/filters/client_channel/client_channel.h +42 -18
- data/src/core/ext/filters/client_channel/config_selector.h +19 -6
- data/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc +7 -8
- data/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +12 -21
- data/src/core/ext/filters/client_channel/lb_policy/priority/priority.cc +3 -5
- data/src/core/ext/filters/client_channel/lb_policy/ring_hash/ring_hash.cc +17 -38
- data/src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc +8 -15
- data/src/core/ext/filters/client_channel/lb_policy/weighted_target/weighted_target.cc +3 -6
- data/src/core/ext/filters/client_channel/lb_policy/xds/cds.cc +8 -12
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_impl.cc +14 -22
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_manager.cc +2 -9
- data/src/core/ext/filters/client_channel/lb_policy/xds/xds_cluster_resolver.cc +5 -8
- data/src/core/ext/filters/client_channel/lb_policy.cc +1 -15
- data/src/core/ext/filters/client_channel/lb_policy.h +70 -46
- data/src/core/ext/filters/client_channel/resolver/xds/xds_resolver.cc +101 -73
- data/src/core/ext/filters/client_channel/retry_filter.cc +392 -243
- data/src/core/ext/filters/client_channel/retry_service_config.cc +36 -26
- data/src/core/ext/filters/client_channel/retry_service_config.h +1 -1
- data/src/core/ext/filters/client_channel/service_config_call_data.h +45 -5
- data/src/core/ext/filters/fault_injection/fault_injection_filter.cc +0 -6
- data/src/core/ext/filters/http/client/http_client_filter.cc +5 -2
- data/src/core/ext/transport/chttp2/server/chttp2_server.cc +5 -1
- data/src/core/ext/transport/chttp2/transport/bin_decoder.cc +1 -1
- data/src/core/{lib/event_engine/slice_allocator.cc → ext/transport/chttp2/transport/chttp2_slice_allocator.cc} +15 -38
- data/src/core/ext/transport/chttp2/transport/chttp2_slice_allocator.h +74 -0
- data/src/core/ext/transport/chttp2/transport/chttp2_transport.cc +2 -6
- data/src/core/ext/transport/chttp2/transport/flow_control.h +1 -1
- data/src/core/ext/transport/chttp2/transport/frame_data.cc +4 -4
- data/src/core/ext/transport/chttp2/transport/frame_goaway.cc +8 -8
- data/src/core/ext/transport/chttp2/transport/frame_settings.cc +5 -5
- data/src/core/ext/transport/chttp2/transport/hpack_parser.cc +639 -752
- data/src/core/ext/transport/chttp2/transport/hpack_parser.h +190 -69
- data/src/core/ext/transport/chttp2/transport/internal.h +1 -1
- data/src/core/ext/transport/chttp2/transport/parsing.cc +70 -54
- data/src/core/ext/transport/chttp2/transport/varint.cc +6 -4
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.c +56 -35
- data/src/core/ext/upb-generated/envoy/config/bootstrap/v3/bootstrap.upb.h +180 -76
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.c +35 -27
- data/src/core/ext/upb-generated/envoy/config/cluster/v3/cluster.upb.h +97 -48
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.c +45 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/base.upb.h +67 -7
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.c +66 -9
- data/src/core/ext/upb-generated/envoy/config/core/v3/protocol.upb.h +227 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.c +46 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/resolver.upb.h +121 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/substitution_format_string.upb.c +1 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.c +35 -0
- data/src/core/ext/upb-generated/envoy/config/core/v3/udp_socket_config.upb.h +90 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.c +32 -24
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener.upb.h +120 -73
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.c +4 -2
- data/src/core/ext/upb-generated/envoy/config/listener/v3/listener_components.upb.h +15 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.c +48 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/quic_config.upb.h +171 -0
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.c +8 -6
- data/src/core/ext/upb-generated/envoy/config/listener/v3/udp_listener_config.upb.h +27 -19
- data/src/core/ext/upb-generated/envoy/config/rbac/v3/rbac.upb.c +1 -0
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.c +24 -7
- data/src/core/ext/upb-generated/envoy/config/route/v3/route.upb.h +57 -0
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.c +29 -17
- data/src/core/ext/upb-generated/envoy/config/route/v3/route_components.upb.h +72 -0
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.c +3 -2
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/fault/v3/fault.upb.h +4 -0
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.c +6 -5
- data/src/core/ext/upb-generated/envoy/extensions/filters/http/router/v3/router.upb.h +15 -11
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.c +85 -43
- data/src/core/ext/upb-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upb.h +274 -91
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.c +11 -8
- data/src/core/ext/upb-generated/envoy/extensions/transport_sockets/tls/v3/common.upb.h +30 -13
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.c +33 -5
- data/src/core/ext/upb-generated/envoy/service/status/v3/csds.upb.h +115 -0
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.c +60 -0
- data/src/core/ext/upb-generated/envoy/type/http/v3/path_transformation.upb.h +181 -0
- data/src/core/ext/upb-generated/envoy/type/matcher/v3/regex.upb.c +1 -0
- data/src/core/ext/upb-generated/validate/validate.upb.c +82 -66
- data/src/core/ext/upb-generated/validate/validate.upb.h +220 -124
- data/src/core/ext/upbdefs-generated/envoy/annotations/deprecation.upbdefs.c +15 -7
- data/src/core/ext/upbdefs-generated/envoy/config/accesslog/v3/accesslog.upbdefs.c +53 -52
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.c +318 -277
- data/src/core/ext/upbdefs-generated/envoy/config/bootstrap/v3/bootstrap.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/cluster/v3/cluster.upbdefs.c +437 -410
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.c +198 -170
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/base.upbdefs.h +10 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/config_source.upbdefs.c +9 -8
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.c +219 -163
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/protocol.upbdefs.h +15 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.c +59 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/resolver.upbdefs.h +40 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/substitution_format_string.upbdefs.c +29 -25
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.c +52 -0
- data/src/core/ext/upbdefs-generated/envoy/config/core/v3/udp_socket_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.c +135 -125
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/listener_components.upbdefs.c +131 -123
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.c +90 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/quic_config.upbdefs.h +35 -0
- data/src/core/ext/upbdefs-generated/envoy/config/listener/v3/udp_listener_config.upbdefs.c +32 -24
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.c +69 -55
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.c +684 -664
- data/src/core/ext/upbdefs-generated/envoy/config/route/v3/route_components.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/fault/v3/fault.upbdefs.c +13 -10
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/http/router/v3/router.upbdefs.c +13 -10
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.c +441 -375
- data/src/core/ext/upbdefs-generated/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.upbdefs.h +10 -0
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/common.upbdefs.c +122 -114
- data/src/core/ext/upbdefs-generated/envoy/extensions/transport_sockets/tls/v3/tls.upbdefs.c +1 -1
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.c +112 -79
- data/src/core/ext/upbdefs-generated/envoy/service/status/v3/csds.upbdefs.h +5 -0
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.c +64 -0
- data/src/core/ext/upbdefs-generated/envoy/type/http/v3/path_transformation.upbdefs.h +50 -0
- data/src/core/ext/upbdefs-generated/envoy/type/matcher/v3/regex.upbdefs.c +35 -32
- data/src/core/ext/upbdefs-generated/google/rpc/status.upbdefs.c +4 -4
- data/src/core/ext/upbdefs-generated/validate/validate.upbdefs.c +182 -160
- data/src/core/ext/xds/certificate_provider_store.h +1 -1
- data/src/core/ext/xds/xds_api.cc +320 -121
- data/src/core/ext/xds/xds_api.h +31 -2
- data/src/core/ext/xds/xds_bootstrap.cc +4 -1
- data/src/core/ext/xds/xds_client.cc +66 -43
- data/src/core/ext/xds/xds_client.h +0 -4
- data/src/core/ext/xds/xds_http_filters.cc +3 -2
- data/src/core/ext/xds/xds_http_filters.h +3 -0
- data/src/core/lib/channel/call_tracer.h +85 -0
- data/src/core/lib/channel/channel_stack.h +1 -1
- data/src/core/lib/channel/context.h +3 -0
- data/src/core/lib/channel/status_util.h +4 -0
- data/src/core/lib/compression/stream_compression.h +1 -1
- data/src/core/lib/compression/stream_compression_gzip.h +1 -1
- data/src/core/lib/compression/stream_compression_identity.h +1 -1
- data/src/core/lib/debug/stats.h +1 -1
- data/src/core/lib/gpr/murmur_hash.cc +4 -2
- data/src/core/lib/gprpp/manual_constructor.h +1 -1
- data/src/core/lib/gprpp/orphanable.h +3 -3
- data/src/core/lib/gprpp/sync.h +2 -30
- data/src/core/lib/iomgr/buffer_list.cc +1 -1
- data/src/core/lib/iomgr/ev_apple.h +1 -1
- data/src/core/lib/iomgr/event_engine/endpoint.cc +6 -8
- data/src/core/lib/iomgr/event_engine/tcp.cc +30 -10
- data/src/core/lib/iomgr/python_util.h +1 -1
- data/src/core/lib/iomgr/resource_quota.cc +2 -0
- data/src/core/lib/iomgr/tcp_client_windows.cc +2 -0
- data/src/core/lib/iomgr/tcp_server_posix.cc +1 -0
- data/src/core/lib/iomgr/timer_manager.cc +1 -1
- data/src/core/lib/json/json_reader.cc +1 -2
- data/src/core/lib/matchers/matchers.cc +8 -20
- data/src/core/lib/matchers/matchers.h +2 -1
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.cc +49 -0
- data/src/core/lib/security/credentials/tls/grpc_tls_certificate_provider.h +7 -0
- data/src/core/lib/security/security_connector/tls/tls_security_connector.cc +6 -18
- data/src/core/lib/security/transport/security_handshaker.cc +12 -4
- data/src/core/lib/security/transport/server_auth_filter.cc +0 -7
- data/src/core/lib/slice/slice_internal.h +1 -0
- data/src/core/lib/surface/call.cc +5 -6
- data/src/core/lib/surface/server.cc +3 -1
- data/src/core/lib/surface/server.h +3 -3
- data/src/core/lib/surface/version.cc +2 -4
- data/src/ruby/ext/grpc/extconf.rb +1 -1
- data/src/ruby/lib/grpc/version.rb +1 -1
- data/third_party/xxhash/xxhash.h +77 -195
- metadata +57 -40
- data/src/core/lib/gpr/arena.h +0 -47
@@ -18,6 +18,7 @@
|
|
18
18
|
#include "envoy/config/core/v3/extension.upb.h"
|
19
19
|
#include "envoy/config/core/v3/health_check.upb.h"
|
20
20
|
#include "envoy/config/core/v3/protocol.upb.h"
|
21
|
+
#include "envoy/config/core/v3/resolver.upb.h"
|
21
22
|
#include "envoy/config/endpoint/v3/endpoint.upb.h"
|
22
23
|
#include "envoy/type/v3/percent.upb.h"
|
23
24
|
#include "google/protobuf/any.upb.h"
|
@@ -25,6 +26,8 @@
|
|
25
26
|
#include "google/protobuf/struct.upb.h"
|
26
27
|
#include "google/protobuf/wrappers.upb.h"
|
27
28
|
#include "xds/core/v3/collection_entry.upb.h"
|
29
|
+
#include "envoy/annotations/deprecation.upb.h"
|
30
|
+
#include "udpa/annotations/migrate.upb.h"
|
28
31
|
#include "udpa/annotations/security.upb.h"
|
29
32
|
#include "udpa/annotations/status.upb.h"
|
30
33
|
#include "udpa/annotations/versioning.upb.h"
|
@@ -46,7 +49,7 @@ const upb_msglayout envoy_config_cluster_v3_ClusterCollection_msginit = {
|
|
46
49
|
UPB_SIZE(8, 16), 1, false, 255,
|
47
50
|
};
|
48
51
|
|
49
|
-
static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[
|
52
|
+
static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[34] = {
|
50
53
|
&envoy_config_cluster_v3_CircuitBreakers_msginit,
|
51
54
|
&envoy_config_cluster_v3_Cluster_CommonLbConfig_msginit,
|
52
55
|
&envoy_config_cluster_v3_Cluster_CustomClusterType_msginit,
|
@@ -68,6 +71,7 @@ static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[32] =
|
|
68
71
|
&envoy_config_core_v3_Address_msginit,
|
69
72
|
&envoy_config_core_v3_BindConfig_msginit,
|
70
73
|
&envoy_config_core_v3_ConfigSource_msginit,
|
74
|
+
&envoy_config_core_v3_DnsResolutionConfig_msginit,
|
71
75
|
&envoy_config_core_v3_HealthCheck_msginit,
|
72
76
|
&envoy_config_core_v3_Http1ProtocolOptions_msginit,
|
73
77
|
&envoy_config_core_v3_Http2ProtocolOptions_msginit,
|
@@ -77,64 +81,68 @@ static const upb_msglayout *const envoy_config_cluster_v3_Cluster_submsgs[32] =
|
|
77
81
|
&envoy_config_core_v3_TypedExtensionConfig_msginit,
|
78
82
|
&envoy_config_core_v3_UpstreamHttpProtocolOptions_msginit,
|
79
83
|
&envoy_config_endpoint_v3_ClusterLoadAssignment_msginit,
|
84
|
+
&google_protobuf_BoolValue_msginit,
|
80
85
|
&google_protobuf_Duration_msginit,
|
81
86
|
&google_protobuf_UInt32Value_msginit,
|
82
87
|
};
|
83
88
|
|
84
|
-
static const upb_msglayout_field envoy_config_cluster_v3_Cluster__fields[
|
89
|
+
static const upb_msglayout_field envoy_config_cluster_v3_Cluster__fields[50] = {
|
85
90
|
{1, UPB_SIZE(24, 24), 0, 0, 9, 1},
|
86
|
-
{2, UPB_SIZE(
|
91
|
+
{2, UPB_SIZE(172, 320), UPB_SIZE(-177, -329), 0, 14, 1},
|
87
92
|
{3, UPB_SIZE(40, 56), 1, 3, 11, 1},
|
88
|
-
{4, UPB_SIZE(44, 64), 2,
|
89
|
-
{5, UPB_SIZE(48, 72), 3,
|
93
|
+
{4, UPB_SIZE(44, 64), 2, 32, 11, 1},
|
94
|
+
{5, UPB_SIZE(48, 72), 3, 33, 11, 1},
|
90
95
|
{6, UPB_SIZE(4, 4), 0, 0, 14, 1},
|
91
|
-
{8, UPB_SIZE(
|
92
|
-
{9, UPB_SIZE(52, 80), 4,
|
96
|
+
{8, UPB_SIZE(152, 280), 0, 22, 11, 3},
|
97
|
+
{9, UPB_SIZE(52, 80), 4, 33, 11, 1},
|
93
98
|
{10, UPB_SIZE(56, 88), 5, 0, 11, 1},
|
94
|
-
{13, UPB_SIZE(60, 96), 6,
|
95
|
-
{14, UPB_SIZE(64, 104), 7,
|
96
|
-
{16, UPB_SIZE(68, 112), 8,
|
99
|
+
{13, UPB_SIZE(60, 96), 6, 23, 11, 1},
|
100
|
+
{14, UPB_SIZE(64, 104), 7, 24, 11, 1},
|
101
|
+
{16, UPB_SIZE(68, 112), 8, 32, 11, 1},
|
97
102
|
{17, UPB_SIZE(8, 8), 0, 0, 14, 1},
|
98
|
-
{18, UPB_SIZE(
|
103
|
+
{18, UPB_SIZE(156, 288), 0, 18, 11, 3},
|
99
104
|
{19, UPB_SIZE(72, 120), 9, 15, 11, 1},
|
100
|
-
{20, UPB_SIZE(76, 128), 10,
|
105
|
+
{20, UPB_SIZE(76, 128), 10, 32, 11, 1},
|
101
106
|
{21, UPB_SIZE(80, 136), 11, 19, 11, 1},
|
102
107
|
{22, UPB_SIZE(84, 144), 12, 4, 11, 1},
|
103
|
-
{23, UPB_SIZE(
|
104
|
-
{24, UPB_SIZE(88, 152), 13,
|
105
|
-
{25, UPB_SIZE(92, 160), 14,
|
108
|
+
{23, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 10, 11, 1},
|
109
|
+
{24, UPB_SIZE(88, 152), 13, 27, 11, 1},
|
110
|
+
{25, UPB_SIZE(92, 160), 14, 26, 11, 1},
|
106
111
|
{26, UPB_SIZE(12, 12), 0, 0, 14, 1},
|
107
112
|
{27, UPB_SIZE(96, 168), 15, 1, 11, 1},
|
108
113
|
{28, UPB_SIZE(32, 40), 0, 0, 9, 1},
|
109
|
-
{29, UPB_SIZE(100, 176), 16,
|
114
|
+
{29, UPB_SIZE(100, 176), 16, 25, 11, 1},
|
110
115
|
{30, UPB_SIZE(104, 184), 17, 17, 11, 1},
|
111
116
|
{31, UPB_SIZE(16, 16), 0, 0, 8, 1},
|
112
117
|
{32, UPB_SIZE(17, 17), 0, 0, 8, 1},
|
113
|
-
{33, UPB_SIZE(108, 192), 18,
|
114
|
-
{34, UPB_SIZE(
|
115
|
-
{36, UPB_SIZE(
|
116
|
-
{37, UPB_SIZE(
|
117
|
-
{38, UPB_SIZE(
|
118
|
+
{33, UPB_SIZE(108, 192), 18, 30, 11, 1},
|
119
|
+
{34, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 7, 11, 1},
|
120
|
+
{36, UPB_SIZE(160, 296), 0, 12, 11, _UPB_LABEL_MAP},
|
121
|
+
{37, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 5, 11, 1},
|
122
|
+
{38, UPB_SIZE(172, 320), UPB_SIZE(-177, -329), 2, 11, 1},
|
118
123
|
{39, UPB_SIZE(18, 18), 0, 0, 8, 1},
|
119
|
-
{40, UPB_SIZE(
|
124
|
+
{40, UPB_SIZE(164, 304), 0, 13, 11, 3},
|
120
125
|
{41, UPB_SIZE(112, 200), 19, 14, 11, 1},
|
121
126
|
{42, UPB_SIZE(116, 208), 20, 20, 11, 1},
|
122
|
-
{43, UPB_SIZE(
|
127
|
+
{43, UPB_SIZE(168, 312), 0, 11, 11, 3},
|
123
128
|
{44, UPB_SIZE(120, 216), 21, 9, 11, 1},
|
124
129
|
{45, UPB_SIZE(19, 19), 0, 0, 8, 1},
|
125
|
-
{46, UPB_SIZE(124, 224), 22,
|
130
|
+
{46, UPB_SIZE(124, 224), 22, 29, 11, 1},
|
126
131
|
{47, UPB_SIZE(20, 20), 0, 0, 8, 1},
|
127
|
-
{48, UPB_SIZE(128, 232), 23,
|
132
|
+
{48, UPB_SIZE(128, 232), 23, 28, 11, 1},
|
128
133
|
{49, UPB_SIZE(132, 240), 24, 16, 11, 1},
|
129
134
|
{50, UPB_SIZE(136, 248), 25, 8, 11, 1},
|
130
135
|
{51, UPB_SIZE(21, 21), 0, 0, 8, 1},
|
131
|
-
{52, UPB_SIZE(
|
136
|
+
{52, UPB_SIZE(180, 336), UPB_SIZE(-185, -345), 6, 11, 1},
|
137
|
+
{53, UPB_SIZE(140, 256), 26, 21, 11, 1},
|
138
|
+
{54, UPB_SIZE(144, 264), 27, 31, 11, 1},
|
139
|
+
{55, UPB_SIZE(148, 272), 28, 28, 11, 1},
|
132
140
|
};
|
133
141
|
|
134
142
|
const upb_msglayout envoy_config_cluster_v3_Cluster_msginit = {
|
135
143
|
&envoy_config_cluster_v3_Cluster_submsgs[0],
|
136
144
|
&envoy_config_cluster_v3_Cluster__fields[0],
|
137
|
-
UPB_SIZE(
|
145
|
+
UPB_SIZE(192, 352), 50, false, 255,
|
138
146
|
};
|
139
147
|
|
140
148
|
static const upb_msglayout *const envoy_config_cluster_v3_Cluster_TransportSocketMatch_submsgs[2] = {
|
@@ -95,6 +95,7 @@ struct envoy_config_cluster_v3_OutlierDetection;
|
|
95
95
|
struct envoy_config_core_v3_Address;
|
96
96
|
struct envoy_config_core_v3_BindConfig;
|
97
97
|
struct envoy_config_core_v3_ConfigSource;
|
98
|
+
struct envoy_config_core_v3_DnsResolutionConfig;
|
98
99
|
struct envoy_config_core_v3_HealthCheck;
|
99
100
|
struct envoy_config_core_v3_Http1ProtocolOptions;
|
100
101
|
struct envoy_config_core_v3_Http2ProtocolOptions;
|
@@ -108,6 +109,7 @@ struct envoy_config_core_v3_UpstreamHttpProtocolOptions;
|
|
108
109
|
struct envoy_config_endpoint_v3_ClusterLoadAssignment;
|
109
110
|
struct envoy_type_v3_Percent;
|
110
111
|
struct google_protobuf_Any;
|
112
|
+
struct google_protobuf_BoolValue;
|
111
113
|
struct google_protobuf_DoubleValue;
|
112
114
|
struct google_protobuf_Duration;
|
113
115
|
struct google_protobuf_Struct;
|
@@ -120,6 +122,7 @@ extern const upb_msglayout envoy_config_cluster_v3_OutlierDetection_msginit;
|
|
120
122
|
extern const upb_msglayout envoy_config_core_v3_Address_msginit;
|
121
123
|
extern const upb_msglayout envoy_config_core_v3_BindConfig_msginit;
|
122
124
|
extern const upb_msglayout envoy_config_core_v3_ConfigSource_msginit;
|
125
|
+
extern const upb_msglayout envoy_config_core_v3_DnsResolutionConfig_msginit;
|
123
126
|
extern const upb_msglayout envoy_config_core_v3_HealthCheck_msginit;
|
124
127
|
extern const upb_msglayout envoy_config_core_v3_Http1ProtocolOptions_msginit;
|
125
128
|
extern const upb_msglayout envoy_config_core_v3_Http2ProtocolOptions_msginit;
|
@@ -133,6 +136,7 @@ extern const upb_msglayout envoy_config_core_v3_UpstreamHttpProtocolOptions_msgi
|
|
133
136
|
extern const upb_msglayout envoy_config_endpoint_v3_ClusterLoadAssignment_msginit;
|
134
137
|
extern const upb_msglayout envoy_type_v3_Percent_msginit;
|
135
138
|
extern const upb_msglayout google_protobuf_Any_msginit;
|
139
|
+
extern const upb_msglayout google_protobuf_BoolValue_msginit;
|
136
140
|
extern const upb_msglayout google_protobuf_DoubleValue_msginit;
|
137
141
|
extern const upb_msglayout google_protobuf_Duration_msginit;
|
138
142
|
extern const upb_msglayout google_protobuf_Struct_msginit;
|
@@ -251,7 +255,7 @@ typedef enum {
|
|
251
255
|
envoy_config_cluster_v3_Cluster_cluster_discovery_type_cluster_type = 38,
|
252
256
|
envoy_config_cluster_v3_Cluster_cluster_discovery_type_NOT_SET = 0
|
253
257
|
} envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases;
|
254
|
-
UPB_INLINE envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases envoy_config_cluster_v3_Cluster_cluster_discovery_type_case(const envoy_config_cluster_v3_Cluster* msg) { return (envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(
|
258
|
+
UPB_INLINE envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases envoy_config_cluster_v3_Cluster_cluster_discovery_type_case(const envoy_config_cluster_v3_Cluster* msg) { return (envoy_config_cluster_v3_Cluster_cluster_discovery_type_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(176, 328), int32_t); }
|
255
259
|
|
256
260
|
typedef enum {
|
257
261
|
envoy_config_cluster_v3_Cluster_lb_config_ring_hash_lb_config = 23,
|
@@ -260,11 +264,11 @@ typedef enum {
|
|
260
264
|
envoy_config_cluster_v3_Cluster_lb_config_least_request_lb_config = 37,
|
261
265
|
envoy_config_cluster_v3_Cluster_lb_config_NOT_SET = 0
|
262
266
|
} envoy_config_cluster_v3_Cluster_lb_config_oneofcases;
|
263
|
-
UPB_INLINE envoy_config_cluster_v3_Cluster_lb_config_oneofcases envoy_config_cluster_v3_Cluster_lb_config_case(const envoy_config_cluster_v3_Cluster* msg) { return (envoy_config_cluster_v3_Cluster_lb_config_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(
|
267
|
+
UPB_INLINE envoy_config_cluster_v3_Cluster_lb_config_oneofcases envoy_config_cluster_v3_Cluster_lb_config_case(const envoy_config_cluster_v3_Cluster* msg) { return (envoy_config_cluster_v3_Cluster_lb_config_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(184, 344), int32_t); }
|
264
268
|
|
265
269
|
UPB_INLINE upb_strview envoy_config_cluster_v3_Cluster_name(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 24), upb_strview); }
|
266
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_type(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
267
|
-
UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(
|
270
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_type(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(176, 328)) == 2; }
|
271
|
+
UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, int32_t, UPB_SIZE(172, 320), UPB_SIZE(176, 328), 2, 0); }
|
268
272
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_eds_cluster_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 1); }
|
269
273
|
UPB_INLINE const envoy_config_cluster_v3_Cluster_EdsClusterConfig* envoy_config_cluster_v3_Cluster_eds_cluster_config(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(40, 56), const envoy_config_cluster_v3_Cluster_EdsClusterConfig*); }
|
270
274
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_connect_timeout(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 2); }
|
@@ -272,8 +276,8 @@ UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluste
|
|
272
276
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 3); }
|
273
277
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_per_connection_buffer_limit_bytes(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(48, 72), const struct google_protobuf_UInt32Value*); }
|
274
278
|
UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_lb_policy(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); }
|
275
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_health_checks(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
276
|
-
UPB_INLINE const struct envoy_config_core_v3_HealthCheck* const* envoy_config_cluster_v3_Cluster_health_checks(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_core_v3_HealthCheck* const*)_upb_array_accessor(msg, UPB_SIZE(
|
279
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_health_checks(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(152, 280)); }
|
280
|
+
UPB_INLINE const struct envoy_config_core_v3_HealthCheck* const* envoy_config_cluster_v3_Cluster_health_checks(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_core_v3_HealthCheck* const*)_upb_array_accessor(msg, UPB_SIZE(152, 280), len); }
|
277
281
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_max_requests_per_connection(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 4); }
|
278
282
|
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_cluster_v3_Cluster_max_requests_per_connection(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(52, 80), const struct google_protobuf_UInt32Value*); }
|
279
283
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_circuit_breakers(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 5); }
|
@@ -285,8 +289,8 @@ UPB_INLINE const struct envoy_config_core_v3_Http2ProtocolOptions* envoy_config_
|
|
285
289
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_refresh_rate(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 8); }
|
286
290
|
UPB_INLINE const struct google_protobuf_Duration* envoy_config_cluster_v3_Cluster_dns_refresh_rate(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(68, 112), const struct google_protobuf_Duration*); }
|
287
291
|
UPB_INLINE int32_t envoy_config_cluster_v3_Cluster_dns_lookup_family(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t); }
|
288
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolvers(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
289
|
-
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_cluster_v3_Cluster_dns_resolvers(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_core_v3_Address* const*)_upb_array_accessor(msg, UPB_SIZE(
|
292
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolvers(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(156, 288)); }
|
293
|
+
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_cluster_v3_Cluster_dns_resolvers(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_core_v3_Address* const*)_upb_array_accessor(msg, UPB_SIZE(156, 288), len); }
|
290
294
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_outlier_detection(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 9); }
|
291
295
|
UPB_INLINE const struct envoy_config_cluster_v3_OutlierDetection* envoy_config_cluster_v3_Cluster_outlier_detection(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(72, 120), const struct envoy_config_cluster_v3_OutlierDetection*); }
|
292
296
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cleanup_interval(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 10); }
|
@@ -295,8 +299,8 @@ UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_upstream_bind_config(const e
|
|
295
299
|
UPB_INLINE const struct envoy_config_core_v3_BindConfig* envoy_config_cluster_v3_Cluster_upstream_bind_config(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(80, 136), const struct envoy_config_core_v3_BindConfig*); }
|
296
300
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lb_subset_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 12); }
|
297
301
|
UPB_INLINE const envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_cluster_v3_Cluster_lb_subset_config(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(84, 144), const envoy_config_cluster_v3_Cluster_LbSubsetConfig*); }
|
298
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
299
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_RingHashLbConfig*, UPB_SIZE(
|
302
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(184, 344)) == 23; }
|
303
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_ring_hash_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_RingHashLbConfig*, UPB_SIZE(180, 336), UPB_SIZE(184, 344), 23, NULL); }
|
300
304
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 13); }
|
301
305
|
UPB_INLINE const struct envoy_config_core_v3_TransportSocket* envoy_config_cluster_v3_Cluster_transport_socket(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(88, 152), const struct envoy_config_core_v3_TransportSocket*); }
|
302
306
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_metadata(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 14); }
|
@@ -313,25 +317,25 @@ UPB_INLINE bool envoy_config_cluster_v3_Cluster_close_connections_on_host_health
|
|
313
317
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_ignore_health_on_host_removal(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(17, 17), bool); }
|
314
318
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_assignment(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 18); }
|
315
319
|
UPB_INLINE const struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_cluster_v3_Cluster_load_assignment(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(108, 192), const struct envoy_config_endpoint_v3_ClusterLoadAssignment*); }
|
316
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_original_dst_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
317
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_original_dst_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*, UPB_SIZE(
|
318
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_typed_extension_protocol_options(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
319
|
-
UPB_INLINE size_t envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_size(const envoy_config_cluster_v3_Cluster *msg) {return _upb_msg_map_size(msg, UPB_SIZE(
|
320
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_get(const envoy_config_cluster_v3_Cluster *msg, upb_strview key, struct google_protobuf_Any* *val) { return _upb_msg_map_get(msg, UPB_SIZE(
|
321
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_next(const envoy_config_cluster_v3_Cluster *msg, size_t* iter) { return (const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_msg_map_next(msg, UPB_SIZE(
|
322
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_least_request_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
323
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_least_request_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*, UPB_SIZE(
|
324
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
325
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_CustomClusterType*, UPB_SIZE(
|
320
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_original_dst_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(184, 344)) == 34; }
|
321
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_original_dst_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*, UPB_SIZE(180, 336), UPB_SIZE(184, 344), 34, NULL); }
|
322
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_typed_extension_protocol_options(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(160, 296)); }
|
323
|
+
UPB_INLINE size_t envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_size(const envoy_config_cluster_v3_Cluster *msg) {return _upb_msg_map_size(msg, UPB_SIZE(160, 296)); }
|
324
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_get(const envoy_config_cluster_v3_Cluster *msg, upb_strview key, struct google_protobuf_Any* *val) { return _upb_msg_map_get(msg, UPB_SIZE(160, 296), &key, 0, val, sizeof(*val)); }
|
325
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_next(const envoy_config_cluster_v3_Cluster *msg, size_t* iter) { return (const envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_msg_map_next(msg, UPB_SIZE(160, 296), iter); }
|
326
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_least_request_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(184, 344)) == 37; }
|
327
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_least_request_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*, UPB_SIZE(180, 336), UPB_SIZE(184, 344), 37, NULL); }
|
328
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(176, 328)) == 38; }
|
329
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_cluster_type(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_CustomClusterType*, UPB_SIZE(172, 320), UPB_SIZE(176, 328), 38, NULL); }
|
326
330
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_respect_dns_ttl(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(18, 18), bool); }
|
327
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_filters(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
328
|
-
UPB_INLINE const struct envoy_config_cluster_v3_Filter* const* envoy_config_cluster_v3_Cluster_filters(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_cluster_v3_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(
|
331
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_filters(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(164, 304)); }
|
332
|
+
UPB_INLINE const struct envoy_config_cluster_v3_Filter* const* envoy_config_cluster_v3_Cluster_filters(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const struct envoy_config_cluster_v3_Filter* const*)_upb_array_accessor(msg, UPB_SIZE(164, 304), len); }
|
329
333
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_load_balancing_policy(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 19); }
|
330
334
|
UPB_INLINE const envoy_config_cluster_v3_LoadBalancingPolicy* envoy_config_cluster_v3_Cluster_load_balancing_policy(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(112, 200), const envoy_config_cluster_v3_LoadBalancingPolicy*); }
|
331
335
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_lrs_server(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 20); }
|
332
336
|
UPB_INLINE const struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Cluster_lrs_server(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(116, 208), const struct envoy_config_core_v3_ConfigSource*); }
|
333
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket_matches(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
334
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const* envoy_config_cluster_v3_Cluster_transport_socket_matches(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const*)_upb_array_accessor(msg, UPB_SIZE(
|
337
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_transport_socket_matches(const envoy_config_cluster_v3_Cluster *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(168, 312)); }
|
338
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const* envoy_config_cluster_v3_Cluster_transport_socket_matches(const envoy_config_cluster_v3_Cluster *msg, size_t *len) { return (const envoy_config_cluster_v3_Cluster_TransportSocketMatch* const*)_upb_array_accessor(msg, UPB_SIZE(168, 312), len); }
|
335
339
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 21); }
|
336
340
|
UPB_INLINE const envoy_config_cluster_v3_Cluster_RefreshRate* envoy_config_cluster_v3_Cluster_dns_failure_refresh_rate(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(120, 216), const envoy_config_cluster_v3_Cluster_RefreshRate*); }
|
337
341
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_use_tcp_for_dns_lookups(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(19, 19), bool); }
|
@@ -345,14 +349,20 @@ UPB_INLINE const envoy_config_cluster_v3_TrackClusterStats* envoy_config_cluster
|
|
345
349
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_preconnect_policy(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 25); }
|
346
350
|
UPB_INLINE const envoy_config_cluster_v3_Cluster_PreconnectPolicy* envoy_config_cluster_v3_Cluster_preconnect_policy(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(136, 248), const envoy_config_cluster_v3_Cluster_PreconnectPolicy*); }
|
347
351
|
UPB_INLINE bool envoy_config_cluster_v3_Cluster_connection_pool_per_downstream_connection(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(21, 21), bool); }
|
348
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_maglev_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(
|
349
|
-
UPB_INLINE const envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_maglev_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_MaglevLbConfig*, UPB_SIZE(
|
352
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_maglev_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_getoneofcase(msg, UPB_SIZE(184, 344)) == 52; }
|
353
|
+
UPB_INLINE const envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_maglev_lb_config(const envoy_config_cluster_v3_Cluster *msg) { return UPB_READ_ONEOF(msg, const envoy_config_cluster_v3_Cluster_MaglevLbConfig*, UPB_SIZE(180, 336), UPB_SIZE(184, 344), 52, NULL); }
|
354
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_dns_resolution_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 26); }
|
355
|
+
UPB_INLINE const struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_dns_resolution_config(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(140, 256), const struct envoy_config_core_v3_DnsResolutionConfig*); }
|
356
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 27); }
|
357
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(144, 264), const struct google_protobuf_BoolValue*); }
|
358
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_has_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster *msg) { return _upb_hasbit(msg, 28); }
|
359
|
+
UPB_INLINE const struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(const envoy_config_cluster_v3_Cluster *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(148, 272), const struct envoy_config_core_v3_TypedExtensionConfig*); }
|
350
360
|
|
351
361
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_name(envoy_config_cluster_v3_Cluster *msg, upb_strview value) {
|
352
362
|
*UPB_PTR_AT(msg, UPB_SIZE(24, 24), upb_strview) = value;
|
353
363
|
}
|
354
364
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_type(envoy_config_cluster_v3_Cluster *msg, int32_t value) {
|
355
|
-
UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(
|
365
|
+
UPB_WRITE_ONEOF(msg, int32_t, UPB_SIZE(172, 320), value, UPB_SIZE(176, 328), 2);
|
356
366
|
}
|
357
367
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_eds_cluster_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_EdsClusterConfig* value) {
|
358
368
|
_upb_sethas(msg, 1);
|
@@ -397,15 +407,15 @@ UPB_INLINE void envoy_config_cluster_v3_Cluster_set_lb_policy(envoy_config_clust
|
|
397
407
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value;
|
398
408
|
}
|
399
409
|
UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_mutable_health_checks(envoy_config_cluster_v3_Cluster *msg, size_t *len) {
|
400
|
-
return (struct envoy_config_core_v3_HealthCheck**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
410
|
+
return (struct envoy_config_core_v3_HealthCheck**)_upb_array_mutable_accessor(msg, UPB_SIZE(152, 280), len);
|
401
411
|
}
|
402
412
|
UPB_INLINE struct envoy_config_core_v3_HealthCheck** envoy_config_cluster_v3_Cluster_resize_health_checks(envoy_config_cluster_v3_Cluster *msg, size_t len, upb_arena *arena) {
|
403
|
-
return (struct envoy_config_core_v3_HealthCheck**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
413
|
+
return (struct envoy_config_core_v3_HealthCheck**)_upb_array_resize_accessor2(msg, UPB_SIZE(152, 280), len, UPB_SIZE(2, 3), arena);
|
404
414
|
}
|
405
415
|
UPB_INLINE struct envoy_config_core_v3_HealthCheck* envoy_config_cluster_v3_Cluster_add_health_checks(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
406
416
|
struct envoy_config_core_v3_HealthCheck* sub = (struct envoy_config_core_v3_HealthCheck*)_upb_msg_new(&envoy_config_core_v3_HealthCheck_msginit, arena);
|
407
417
|
bool ok = _upb_array_append_accessor2(
|
408
|
-
msg, UPB_SIZE(
|
418
|
+
msg, UPB_SIZE(152, 280), UPB_SIZE(2, 3), &sub, arena);
|
409
419
|
if (!ok) return NULL;
|
410
420
|
return sub;
|
411
421
|
}
|
@@ -478,15 +488,15 @@ UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_lookup_family(envoy_conf
|
|
478
488
|
*UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t) = value;
|
479
489
|
}
|
480
490
|
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_mutable_dns_resolvers(envoy_config_cluster_v3_Cluster *msg, size_t *len) {
|
481
|
-
return (struct envoy_config_core_v3_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
491
|
+
return (struct envoy_config_core_v3_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(156, 288), len);
|
482
492
|
}
|
483
493
|
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_cluster_v3_Cluster_resize_dns_resolvers(envoy_config_cluster_v3_Cluster *msg, size_t len, upb_arena *arena) {
|
484
|
-
return (struct envoy_config_core_v3_Address**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
494
|
+
return (struct envoy_config_core_v3_Address**)_upb_array_resize_accessor2(msg, UPB_SIZE(156, 288), len, UPB_SIZE(2, 3), arena);
|
485
495
|
}
|
486
496
|
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_cluster_v3_Cluster_add_dns_resolvers(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
487
497
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_msg_new(&envoy_config_core_v3_Address_msginit, arena);
|
488
498
|
bool ok = _upb_array_append_accessor2(
|
489
|
-
msg, UPB_SIZE(
|
499
|
+
msg, UPB_SIZE(156, 288), UPB_SIZE(2, 3), &sub, arena);
|
490
500
|
if (!ok) return NULL;
|
491
501
|
return sub;
|
492
502
|
}
|
@@ -543,7 +553,7 @@ UPB_INLINE struct envoy_config_cluster_v3_Cluster_LbSubsetConfig* envoy_config_c
|
|
543
553
|
return sub;
|
544
554
|
}
|
545
555
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_ring_hash_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_RingHashLbConfig* value) {
|
546
|
-
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_RingHashLbConfig*, UPB_SIZE(
|
556
|
+
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_RingHashLbConfig*, UPB_SIZE(180, 336), value, UPB_SIZE(184, 344), 23);
|
547
557
|
}
|
548
558
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* envoy_config_cluster_v3_Cluster_mutable_ring_hash_lb_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
549
559
|
struct envoy_config_cluster_v3_Cluster_RingHashLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_RingHashLbConfig*)envoy_config_cluster_v3_Cluster_ring_hash_lb_config(msg);
|
@@ -645,7 +655,7 @@ UPB_INLINE struct envoy_config_endpoint_v3_ClusterLoadAssignment* envoy_config_c
|
|
645
655
|
return sub;
|
646
656
|
}
|
647
657
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_original_dst_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* value) {
|
648
|
-
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*, UPB_SIZE(
|
658
|
+
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*, UPB_SIZE(180, 336), value, UPB_SIZE(184, 344), 34);
|
649
659
|
}
|
650
660
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_config_cluster_v3_Cluster_mutable_original_dst_lb_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
651
661
|
struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig*)envoy_config_cluster_v3_Cluster_original_dst_lb_config(msg);
|
@@ -656,12 +666,12 @@ UPB_INLINE struct envoy_config_cluster_v3_Cluster_OriginalDstLbConfig* envoy_con
|
|
656
666
|
}
|
657
667
|
return sub;
|
658
668
|
}
|
659
|
-
UPB_INLINE void envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_clear(envoy_config_cluster_v3_Cluster *msg) { _upb_msg_map_clear(msg, UPB_SIZE(
|
660
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_set(envoy_config_cluster_v3_Cluster *msg, upb_strview key, struct google_protobuf_Any* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(
|
661
|
-
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_delete(envoy_config_cluster_v3_Cluster *msg, upb_strview key) { return _upb_msg_map_delete(msg, UPB_SIZE(
|
662
|
-
UPB_INLINE envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_nextmutable(envoy_config_cluster_v3_Cluster *msg, size_t* iter) { return (envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_msg_map_next(msg, UPB_SIZE(
|
669
|
+
UPB_INLINE void envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_clear(envoy_config_cluster_v3_Cluster *msg) { _upb_msg_map_clear(msg, UPB_SIZE(160, 296)); }
|
670
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_set(envoy_config_cluster_v3_Cluster *msg, upb_strview key, struct google_protobuf_Any* val, upb_arena *a) { return _upb_msg_map_set(msg, UPB_SIZE(160, 296), &key, 0, &val, sizeof(val), a); }
|
671
|
+
UPB_INLINE bool envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_delete(envoy_config_cluster_v3_Cluster *msg, upb_strview key) { return _upb_msg_map_delete(msg, UPB_SIZE(160, 296), &key, 0); }
|
672
|
+
UPB_INLINE envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry* envoy_config_cluster_v3_Cluster_typed_extension_protocol_options_nextmutable(envoy_config_cluster_v3_Cluster *msg, size_t* iter) { return (envoy_config_cluster_v3_Cluster_TypedExtensionProtocolOptionsEntry*)_upb_msg_map_next(msg, UPB_SIZE(160, 296), iter); }
|
663
673
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_least_request_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* value) {
|
664
|
-
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*, UPB_SIZE(
|
674
|
+
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*, UPB_SIZE(180, 336), value, UPB_SIZE(184, 344), 37);
|
665
675
|
}
|
666
676
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_config_cluster_v3_Cluster_mutable_least_request_lb_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
667
677
|
struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig*)envoy_config_cluster_v3_Cluster_least_request_lb_config(msg);
|
@@ -673,7 +683,7 @@ UPB_INLINE struct envoy_config_cluster_v3_Cluster_LeastRequestLbConfig* envoy_co
|
|
673
683
|
return sub;
|
674
684
|
}
|
675
685
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_cluster_type(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_CustomClusterType* value) {
|
676
|
-
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_CustomClusterType*, UPB_SIZE(
|
686
|
+
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_CustomClusterType*, UPB_SIZE(172, 320), value, UPB_SIZE(176, 328), 38);
|
677
687
|
}
|
678
688
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_CustomClusterType* envoy_config_cluster_v3_Cluster_mutable_cluster_type(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
679
689
|
struct envoy_config_cluster_v3_Cluster_CustomClusterType* sub = (struct envoy_config_cluster_v3_Cluster_CustomClusterType*)envoy_config_cluster_v3_Cluster_cluster_type(msg);
|
@@ -688,15 +698,15 @@ UPB_INLINE void envoy_config_cluster_v3_Cluster_set_respect_dns_ttl(envoy_config
|
|
688
698
|
*UPB_PTR_AT(msg, UPB_SIZE(18, 18), bool) = value;
|
689
699
|
}
|
690
700
|
UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_mutable_filters(envoy_config_cluster_v3_Cluster *msg, size_t *len) {
|
691
|
-
return (struct envoy_config_cluster_v3_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
701
|
+
return (struct envoy_config_cluster_v3_Filter**)_upb_array_mutable_accessor(msg, UPB_SIZE(164, 304), len);
|
692
702
|
}
|
693
703
|
UPB_INLINE struct envoy_config_cluster_v3_Filter** envoy_config_cluster_v3_Cluster_resize_filters(envoy_config_cluster_v3_Cluster *msg, size_t len, upb_arena *arena) {
|
694
|
-
return (struct envoy_config_cluster_v3_Filter**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
704
|
+
return (struct envoy_config_cluster_v3_Filter**)_upb_array_resize_accessor2(msg, UPB_SIZE(164, 304), len, UPB_SIZE(2, 3), arena);
|
695
705
|
}
|
696
706
|
UPB_INLINE struct envoy_config_cluster_v3_Filter* envoy_config_cluster_v3_Cluster_add_filters(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
697
707
|
struct envoy_config_cluster_v3_Filter* sub = (struct envoy_config_cluster_v3_Filter*)_upb_msg_new(&envoy_config_cluster_v3_Filter_msginit, arena);
|
698
708
|
bool ok = _upb_array_append_accessor2(
|
699
|
-
msg, UPB_SIZE(
|
709
|
+
msg, UPB_SIZE(164, 304), UPB_SIZE(2, 3), &sub, arena);
|
700
710
|
if (!ok) return NULL;
|
701
711
|
return sub;
|
702
712
|
}
|
@@ -727,15 +737,15 @@ UPB_INLINE struct envoy_config_core_v3_ConfigSource* envoy_config_cluster_v3_Clu
|
|
727
737
|
return sub;
|
728
738
|
}
|
729
739
|
UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_mutable_transport_socket_matches(envoy_config_cluster_v3_Cluster *msg, size_t *len) {
|
730
|
-
return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
740
|
+
return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_mutable_accessor(msg, UPB_SIZE(168, 312), len);
|
731
741
|
}
|
732
742
|
UPB_INLINE envoy_config_cluster_v3_Cluster_TransportSocketMatch** envoy_config_cluster_v3_Cluster_resize_transport_socket_matches(envoy_config_cluster_v3_Cluster *msg, size_t len, upb_arena *arena) {
|
733
|
-
return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
743
|
+
return (envoy_config_cluster_v3_Cluster_TransportSocketMatch**)_upb_array_resize_accessor2(msg, UPB_SIZE(168, 312), len, UPB_SIZE(2, 3), arena);
|
734
744
|
}
|
735
745
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* envoy_config_cluster_v3_Cluster_add_transport_socket_matches(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
736
746
|
struct envoy_config_cluster_v3_Cluster_TransportSocketMatch* sub = (struct envoy_config_cluster_v3_Cluster_TransportSocketMatch*)_upb_msg_new(&envoy_config_cluster_v3_Cluster_TransportSocketMatch_msginit, arena);
|
737
747
|
bool ok = _upb_array_append_accessor2(
|
738
|
-
msg, UPB_SIZE(
|
748
|
+
msg, UPB_SIZE(168, 312), UPB_SIZE(2, 3), &sub, arena);
|
739
749
|
if (!ok) return NULL;
|
740
750
|
return sub;
|
741
751
|
}
|
@@ -814,7 +824,7 @@ UPB_INLINE void envoy_config_cluster_v3_Cluster_set_connection_pool_per_downstre
|
|
814
824
|
*UPB_PTR_AT(msg, UPB_SIZE(21, 21), bool) = value;
|
815
825
|
}
|
816
826
|
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_maglev_lb_config(envoy_config_cluster_v3_Cluster *msg, envoy_config_cluster_v3_Cluster_MaglevLbConfig* value) {
|
817
|
-
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_MaglevLbConfig*, UPB_SIZE(
|
827
|
+
UPB_WRITE_ONEOF(msg, envoy_config_cluster_v3_Cluster_MaglevLbConfig*, UPB_SIZE(180, 336), value, UPB_SIZE(184, 344), 52);
|
818
828
|
}
|
819
829
|
UPB_INLINE struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_cluster_v3_Cluster_mutable_maglev_lb_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
820
830
|
struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* sub = (struct envoy_config_cluster_v3_Cluster_MaglevLbConfig*)envoy_config_cluster_v3_Cluster_maglev_lb_config(msg);
|
@@ -825,6 +835,45 @@ UPB_INLINE struct envoy_config_cluster_v3_Cluster_MaglevLbConfig* envoy_config_c
|
|
825
835
|
}
|
826
836
|
return sub;
|
827
837
|
}
|
838
|
+
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_dns_resolution_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_DnsResolutionConfig* value) {
|
839
|
+
_upb_sethas(msg, 26);
|
840
|
+
*UPB_PTR_AT(msg, UPB_SIZE(140, 256), struct envoy_config_core_v3_DnsResolutionConfig*) = value;
|
841
|
+
}
|
842
|
+
UPB_INLINE struct envoy_config_core_v3_DnsResolutionConfig* envoy_config_cluster_v3_Cluster_mutable_dns_resolution_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
843
|
+
struct envoy_config_core_v3_DnsResolutionConfig* sub = (struct envoy_config_core_v3_DnsResolutionConfig*)envoy_config_cluster_v3_Cluster_dns_resolution_config(msg);
|
844
|
+
if (sub == NULL) {
|
845
|
+
sub = (struct envoy_config_core_v3_DnsResolutionConfig*)_upb_msg_new(&envoy_config_core_v3_DnsResolutionConfig_msginit, arena);
|
846
|
+
if (!sub) return NULL;
|
847
|
+
envoy_config_cluster_v3_Cluster_set_dns_resolution_config(msg, sub);
|
848
|
+
}
|
849
|
+
return sub;
|
850
|
+
}
|
851
|
+
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster *msg, struct google_protobuf_BoolValue* value) {
|
852
|
+
_upb_sethas(msg, 27);
|
853
|
+
*UPB_PTR_AT(msg, UPB_SIZE(144, 264), struct google_protobuf_BoolValue*) = value;
|
854
|
+
}
|
855
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_cluster_v3_Cluster_mutable_wait_for_warm_on_init(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
856
|
+
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_cluster_v3_Cluster_wait_for_warm_on_init(msg);
|
857
|
+
if (sub == NULL) {
|
858
|
+
sub = (struct google_protobuf_BoolValue*)_upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
|
859
|
+
if (!sub) return NULL;
|
860
|
+
envoy_config_cluster_v3_Cluster_set_wait_for_warm_on_init(msg, sub);
|
861
|
+
}
|
862
|
+
return sub;
|
863
|
+
}
|
864
|
+
UPB_INLINE void envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
865
|
+
_upb_sethas(msg, 28);
|
866
|
+
*UPB_PTR_AT(msg, UPB_SIZE(148, 272), struct envoy_config_core_v3_TypedExtensionConfig*) = value;
|
867
|
+
}
|
868
|
+
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_cluster_v3_Cluster_mutable_typed_dns_resolver_config(envoy_config_cluster_v3_Cluster *msg, upb_arena *arena) {
|
869
|
+
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_cluster_v3_Cluster_typed_dns_resolver_config(msg);
|
870
|
+
if (sub == NULL) {
|
871
|
+
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_msg_new(&envoy_config_core_v3_TypedExtensionConfig_msginit, arena);
|
872
|
+
if (!sub) return NULL;
|
873
|
+
envoy_config_cluster_v3_Cluster_set_typed_dns_resolver_config(msg, sub);
|
874
|
+
}
|
875
|
+
return sub;
|
876
|
+
}
|
828
877
|
|
829
878
|
/* envoy.config.cluster.v3.Cluster.TransportSocketMatch */
|
830
879
|
|
@@ -17,6 +17,8 @@
|
|
17
17
|
#include "google/protobuf/any.upb.h"
|
18
18
|
#include "google/protobuf/struct.upb.h"
|
19
19
|
#include "google/protobuf/wrappers.upb.h"
|
20
|
+
#include "xds/core/v3/context_params.upb.h"
|
21
|
+
#include "envoy/annotations/deprecation.upb.h"
|
20
22
|
#include "udpa/annotations/migrate.upb.h"
|
21
23
|
#include "udpa/annotations/status.upb.h"
|
22
24
|
#include "udpa/annotations/versioning.upb.h"
|
@@ -70,45 +72,64 @@ const upb_msglayout envoy_config_core_v3_Extension_msginit = {
|
|
70
72
|
UPB_SIZE(32, 64), 5, false, 255,
|
71
73
|
};
|
72
74
|
|
73
|
-
static const upb_msglayout *const envoy_config_core_v3_Node_submsgs[
|
75
|
+
static const upb_msglayout *const envoy_config_core_v3_Node_submsgs[6] = {
|
74
76
|
&envoy_config_core_v3_Address_msginit,
|
75
77
|
&envoy_config_core_v3_BuildVersion_msginit,
|
76
78
|
&envoy_config_core_v3_Extension_msginit,
|
77
79
|
&envoy_config_core_v3_Locality_msginit,
|
80
|
+
&envoy_config_core_v3_Node_DynamicParametersEntry_msginit,
|
78
81
|
&google_protobuf_Struct_msginit,
|
79
82
|
};
|
80
83
|
|
81
|
-
static const upb_msglayout_field envoy_config_core_v3_Node__fields[
|
84
|
+
static const upb_msglayout_field envoy_config_core_v3_Node__fields[11] = {
|
82
85
|
{1, UPB_SIZE(4, 8), 0, 0, 9, 1},
|
83
86
|
{2, UPB_SIZE(12, 24), 0, 0, 9, 1},
|
84
|
-
{3, UPB_SIZE(28, 56), 1,
|
87
|
+
{3, UPB_SIZE(28, 56), 1, 5, 11, 1},
|
85
88
|
{4, UPB_SIZE(32, 64), 2, 3, 11, 1},
|
86
89
|
{6, UPB_SIZE(20, 40), 0, 0, 9, 1},
|
87
|
-
{7, UPB_SIZE(
|
88
|
-
{8, UPB_SIZE(
|
90
|
+
{7, UPB_SIZE(52, 104), UPB_SIZE(-61, -121), 0, 9, 1},
|
91
|
+
{8, UPB_SIZE(52, 104), UPB_SIZE(-61, -121), 1, 11, 1},
|
89
92
|
{9, UPB_SIZE(36, 72), 0, 2, 11, 3},
|
90
93
|
{10, UPB_SIZE(40, 80), 0, 0, 9, 3},
|
91
94
|
{11, UPB_SIZE(44, 88), 0, 0, 11, 3},
|
95
|
+
{12, UPB_SIZE(48, 96), 0, 4, 11, _UPB_LABEL_MAP},
|
92
96
|
};
|
93
97
|
|
94
98
|
const upb_msglayout envoy_config_core_v3_Node_msginit = {
|
95
99
|
&envoy_config_core_v3_Node_submsgs[0],
|
96
100
|
&envoy_config_core_v3_Node__fields[0],
|
97
|
-
UPB_SIZE(64, 128),
|
101
|
+
UPB_SIZE(64, 128), 11, false, 255,
|
98
102
|
};
|
99
103
|
|
100
|
-
static const upb_msglayout *const
|
104
|
+
static const upb_msglayout *const envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[1] = {
|
105
|
+
&xds_core_v3_ContextParams_msginit,
|
106
|
+
};
|
107
|
+
|
108
|
+
static const upb_msglayout_field envoy_config_core_v3_Node_DynamicParametersEntry__fields[2] = {
|
109
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
110
|
+
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
111
|
+
};
|
112
|
+
|
113
|
+
const upb_msglayout envoy_config_core_v3_Node_DynamicParametersEntry_msginit = {
|
114
|
+
&envoy_config_core_v3_Node_DynamicParametersEntry_submsgs[0],
|
115
|
+
&envoy_config_core_v3_Node_DynamicParametersEntry__fields[0],
|
116
|
+
UPB_SIZE(16, 32), 2, false, 255,
|
117
|
+
};
|
118
|
+
|
119
|
+
static const upb_msglayout *const envoy_config_core_v3_Metadata_submsgs[2] = {
|
101
120
|
&envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit,
|
121
|
+
&envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msginit,
|
102
122
|
};
|
103
123
|
|
104
|
-
static const upb_msglayout_field envoy_config_core_v3_Metadata__fields[
|
124
|
+
static const upb_msglayout_field envoy_config_core_v3_Metadata__fields[2] = {
|
105
125
|
{1, UPB_SIZE(0, 0), 0, 0, 11, _UPB_LABEL_MAP},
|
126
|
+
{2, UPB_SIZE(4, 8), 0, 1, 11, _UPB_LABEL_MAP},
|
106
127
|
};
|
107
128
|
|
108
129
|
const upb_msglayout envoy_config_core_v3_Metadata_msginit = {
|
109
130
|
&envoy_config_core_v3_Metadata_submsgs[0],
|
110
131
|
&envoy_config_core_v3_Metadata__fields[0],
|
111
|
-
UPB_SIZE(8,
|
132
|
+
UPB_SIZE(8, 16), 2, false, 255,
|
112
133
|
};
|
113
134
|
|
114
135
|
static const upb_msglayout *const envoy_config_core_v3_Metadata_FilterMetadataEntry_submsgs[1] = {
|
@@ -126,6 +147,21 @@ const upb_msglayout envoy_config_core_v3_Metadata_FilterMetadataEntry_msginit =
|
|
126
147
|
UPB_SIZE(16, 32), 2, false, 255,
|
127
148
|
};
|
128
149
|
|
150
|
+
static const upb_msglayout *const envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[1] = {
|
151
|
+
&google_protobuf_Any_msginit,
|
152
|
+
};
|
153
|
+
|
154
|
+
static const upb_msglayout_field envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[2] = {
|
155
|
+
{1, UPB_SIZE(0, 0), 0, 0, 9, 1},
|
156
|
+
{2, UPB_SIZE(8, 16), 0, 0, 11, 1},
|
157
|
+
};
|
158
|
+
|
159
|
+
const upb_msglayout envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_msginit = {
|
160
|
+
&envoy_config_core_v3_Metadata_TypedFilterMetadataEntry_submsgs[0],
|
161
|
+
&envoy_config_core_v3_Metadata_TypedFilterMetadataEntry__fields[0],
|
162
|
+
UPB_SIZE(16, 32), 2, false, 255,
|
163
|
+
};
|
164
|
+
|
129
165
|
static const upb_msglayout_field envoy_config_core_v3_RuntimeUInt32__fields[2] = {
|
130
166
|
{2, UPB_SIZE(0, 0), 0, 0, 13, 1},
|
131
167
|
{3, UPB_SIZE(4, 8), 0, 0, 9, 1},
|