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
@@ -0,0 +1,46 @@
|
|
1
|
+
/* This file was generated by upbc (the upb compiler) from the input
|
2
|
+
* file:
|
3
|
+
*
|
4
|
+
* envoy/config/core/v3/resolver.proto
|
5
|
+
*
|
6
|
+
* Do not edit -- your changes will be discarded when the file is
|
7
|
+
* regenerated. */
|
8
|
+
|
9
|
+
#include <stddef.h>
|
10
|
+
#include "upb/msg.h"
|
11
|
+
#include "envoy/config/core/v3/resolver.upb.h"
|
12
|
+
#include "envoy/config/core/v3/address.upb.h"
|
13
|
+
#include "udpa/annotations/status.upb.h"
|
14
|
+
#include "validate/validate.upb.h"
|
15
|
+
|
16
|
+
#include "upb/port_def.inc"
|
17
|
+
|
18
|
+
static const upb_msglayout_field envoy_config_core_v3_DnsResolverOptions__fields[2] = {
|
19
|
+
{1, UPB_SIZE(0, 0), 0, 0, 8, 1},
|
20
|
+
{2, UPB_SIZE(1, 1), 0, 0, 8, 1},
|
21
|
+
};
|
22
|
+
|
23
|
+
const upb_msglayout envoy_config_core_v3_DnsResolverOptions_msginit = {
|
24
|
+
NULL,
|
25
|
+
&envoy_config_core_v3_DnsResolverOptions__fields[0],
|
26
|
+
UPB_SIZE(8, 8), 2, false, 255,
|
27
|
+
};
|
28
|
+
|
29
|
+
static const upb_msglayout *const envoy_config_core_v3_DnsResolutionConfig_submsgs[2] = {
|
30
|
+
&envoy_config_core_v3_Address_msginit,
|
31
|
+
&envoy_config_core_v3_DnsResolverOptions_msginit,
|
32
|
+
};
|
33
|
+
|
34
|
+
static const upb_msglayout_field envoy_config_core_v3_DnsResolutionConfig__fields[2] = {
|
35
|
+
{1, UPB_SIZE(8, 16), 0, 0, 11, 3},
|
36
|
+
{2, UPB_SIZE(4, 8), 1, 1, 11, 1},
|
37
|
+
};
|
38
|
+
|
39
|
+
const upb_msglayout envoy_config_core_v3_DnsResolutionConfig_msginit = {
|
40
|
+
&envoy_config_core_v3_DnsResolutionConfig_submsgs[0],
|
41
|
+
&envoy_config_core_v3_DnsResolutionConfig__fields[0],
|
42
|
+
UPB_SIZE(16, 24), 2, false, 255,
|
43
|
+
};
|
44
|
+
|
45
|
+
#include "upb/port_undef.inc"
|
46
|
+
|
@@ -0,0 +1,121 @@
|
|
1
|
+
/* This file was generated by upbc (the upb compiler) from the input
|
2
|
+
* file:
|
3
|
+
*
|
4
|
+
* envoy/config/core/v3/resolver.proto
|
5
|
+
*
|
6
|
+
* Do not edit -- your changes will be discarded when the file is
|
7
|
+
* regenerated. */
|
8
|
+
|
9
|
+
#ifndef ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_H_
|
10
|
+
#define ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_H_
|
11
|
+
|
12
|
+
#include "upb/msg.h"
|
13
|
+
#include "upb/decode.h"
|
14
|
+
#include "upb/decode_fast.h"
|
15
|
+
#include "upb/encode.h"
|
16
|
+
|
17
|
+
#include "upb/port_def.inc"
|
18
|
+
|
19
|
+
#ifdef __cplusplus
|
20
|
+
extern "C" {
|
21
|
+
#endif
|
22
|
+
|
23
|
+
struct envoy_config_core_v3_DnsResolverOptions;
|
24
|
+
struct envoy_config_core_v3_DnsResolutionConfig;
|
25
|
+
typedef struct envoy_config_core_v3_DnsResolverOptions envoy_config_core_v3_DnsResolverOptions;
|
26
|
+
typedef struct envoy_config_core_v3_DnsResolutionConfig envoy_config_core_v3_DnsResolutionConfig;
|
27
|
+
extern const upb_msglayout envoy_config_core_v3_DnsResolverOptions_msginit;
|
28
|
+
extern const upb_msglayout envoy_config_core_v3_DnsResolutionConfig_msginit;
|
29
|
+
struct envoy_config_core_v3_Address;
|
30
|
+
extern const upb_msglayout envoy_config_core_v3_Address_msginit;
|
31
|
+
|
32
|
+
|
33
|
+
/* envoy.config.core.v3.DnsResolverOptions */
|
34
|
+
|
35
|
+
UPB_INLINE envoy_config_core_v3_DnsResolverOptions *envoy_config_core_v3_DnsResolverOptions_new(upb_arena *arena) {
|
36
|
+
return (envoy_config_core_v3_DnsResolverOptions *)_upb_msg_new(&envoy_config_core_v3_DnsResolverOptions_msginit, arena);
|
37
|
+
}
|
38
|
+
UPB_INLINE envoy_config_core_v3_DnsResolverOptions *envoy_config_core_v3_DnsResolverOptions_parse(const char *buf, size_t size,
|
39
|
+
upb_arena *arena) {
|
40
|
+
envoy_config_core_v3_DnsResolverOptions *ret = envoy_config_core_v3_DnsResolverOptions_new(arena);
|
41
|
+
return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_DnsResolverOptions_msginit, arena)) ? ret : NULL;
|
42
|
+
}
|
43
|
+
UPB_INLINE envoy_config_core_v3_DnsResolverOptions *envoy_config_core_v3_DnsResolverOptions_parse_ex(const char *buf, size_t size,
|
44
|
+
upb_arena *arena, int options) {
|
45
|
+
envoy_config_core_v3_DnsResolverOptions *ret = envoy_config_core_v3_DnsResolverOptions_new(arena);
|
46
|
+
return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_DnsResolverOptions_msginit, arena, options))
|
47
|
+
? ret : NULL;
|
48
|
+
}
|
49
|
+
UPB_INLINE char *envoy_config_core_v3_DnsResolverOptions_serialize(const envoy_config_core_v3_DnsResolverOptions *msg, upb_arena *arena, size_t *len) {
|
50
|
+
return upb_encode(msg, &envoy_config_core_v3_DnsResolverOptions_msginit, arena, len);
|
51
|
+
}
|
52
|
+
|
53
|
+
UPB_INLINE bool envoy_config_core_v3_DnsResolverOptions_use_tcp_for_dns_lookups(const envoy_config_core_v3_DnsResolverOptions *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool); }
|
54
|
+
UPB_INLINE bool envoy_config_core_v3_DnsResolverOptions_no_default_search_domain(const envoy_config_core_v3_DnsResolverOptions *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool); }
|
55
|
+
|
56
|
+
UPB_INLINE void envoy_config_core_v3_DnsResolverOptions_set_use_tcp_for_dns_lookups(envoy_config_core_v3_DnsResolverOptions *msg, bool value) {
|
57
|
+
*UPB_PTR_AT(msg, UPB_SIZE(0, 0), bool) = value;
|
58
|
+
}
|
59
|
+
UPB_INLINE void envoy_config_core_v3_DnsResolverOptions_set_no_default_search_domain(envoy_config_core_v3_DnsResolverOptions *msg, bool value) {
|
60
|
+
*UPB_PTR_AT(msg, UPB_SIZE(1, 1), bool) = value;
|
61
|
+
}
|
62
|
+
|
63
|
+
/* envoy.config.core.v3.DnsResolutionConfig */
|
64
|
+
|
65
|
+
UPB_INLINE envoy_config_core_v3_DnsResolutionConfig *envoy_config_core_v3_DnsResolutionConfig_new(upb_arena *arena) {
|
66
|
+
return (envoy_config_core_v3_DnsResolutionConfig *)_upb_msg_new(&envoy_config_core_v3_DnsResolutionConfig_msginit, arena);
|
67
|
+
}
|
68
|
+
UPB_INLINE envoy_config_core_v3_DnsResolutionConfig *envoy_config_core_v3_DnsResolutionConfig_parse(const char *buf, size_t size,
|
69
|
+
upb_arena *arena) {
|
70
|
+
envoy_config_core_v3_DnsResolutionConfig *ret = envoy_config_core_v3_DnsResolutionConfig_new(arena);
|
71
|
+
return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_DnsResolutionConfig_msginit, arena)) ? ret : NULL;
|
72
|
+
}
|
73
|
+
UPB_INLINE envoy_config_core_v3_DnsResolutionConfig *envoy_config_core_v3_DnsResolutionConfig_parse_ex(const char *buf, size_t size,
|
74
|
+
upb_arena *arena, int options) {
|
75
|
+
envoy_config_core_v3_DnsResolutionConfig *ret = envoy_config_core_v3_DnsResolutionConfig_new(arena);
|
76
|
+
return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_DnsResolutionConfig_msginit, arena, options))
|
77
|
+
? ret : NULL;
|
78
|
+
}
|
79
|
+
UPB_INLINE char *envoy_config_core_v3_DnsResolutionConfig_serialize(const envoy_config_core_v3_DnsResolutionConfig *msg, upb_arena *arena, size_t *len) {
|
80
|
+
return upb_encode(msg, &envoy_config_core_v3_DnsResolutionConfig_msginit, arena, len);
|
81
|
+
}
|
82
|
+
|
83
|
+
UPB_INLINE bool envoy_config_core_v3_DnsResolutionConfig_has_resolvers(const envoy_config_core_v3_DnsResolutionConfig *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(8, 16)); }
|
84
|
+
UPB_INLINE const struct envoy_config_core_v3_Address* const* envoy_config_core_v3_DnsResolutionConfig_resolvers(const envoy_config_core_v3_DnsResolutionConfig *msg, size_t *len) { return (const struct envoy_config_core_v3_Address* const*)_upb_array_accessor(msg, UPB_SIZE(8, 16), len); }
|
85
|
+
UPB_INLINE bool envoy_config_core_v3_DnsResolutionConfig_has_dns_resolver_options(const envoy_config_core_v3_DnsResolutionConfig *msg) { return _upb_hasbit(msg, 1); }
|
86
|
+
UPB_INLINE const envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsResolutionConfig_dns_resolver_options(const envoy_config_core_v3_DnsResolutionConfig *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const envoy_config_core_v3_DnsResolverOptions*); }
|
87
|
+
|
88
|
+
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_DnsResolutionConfig_mutable_resolvers(envoy_config_core_v3_DnsResolutionConfig *msg, size_t *len) {
|
89
|
+
return (struct envoy_config_core_v3_Address**)_upb_array_mutable_accessor(msg, UPB_SIZE(8, 16), len);
|
90
|
+
}
|
91
|
+
UPB_INLINE struct envoy_config_core_v3_Address** envoy_config_core_v3_DnsResolutionConfig_resize_resolvers(envoy_config_core_v3_DnsResolutionConfig *msg, size_t len, upb_arena *arena) {
|
92
|
+
return (struct envoy_config_core_v3_Address**)_upb_array_resize_accessor2(msg, UPB_SIZE(8, 16), len, UPB_SIZE(2, 3), arena);
|
93
|
+
}
|
94
|
+
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_core_v3_DnsResolutionConfig_add_resolvers(envoy_config_core_v3_DnsResolutionConfig *msg, upb_arena *arena) {
|
95
|
+
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)_upb_msg_new(&envoy_config_core_v3_Address_msginit, arena);
|
96
|
+
bool ok = _upb_array_append_accessor2(
|
97
|
+
msg, UPB_SIZE(8, 16), UPB_SIZE(2, 3), &sub, arena);
|
98
|
+
if (!ok) return NULL;
|
99
|
+
return sub;
|
100
|
+
}
|
101
|
+
UPB_INLINE void envoy_config_core_v3_DnsResolutionConfig_set_dns_resolver_options(envoy_config_core_v3_DnsResolutionConfig *msg, envoy_config_core_v3_DnsResolverOptions* value) {
|
102
|
+
_upb_sethas(msg, 1);
|
103
|
+
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), envoy_config_core_v3_DnsResolverOptions*) = value;
|
104
|
+
}
|
105
|
+
UPB_INLINE struct envoy_config_core_v3_DnsResolverOptions* envoy_config_core_v3_DnsResolutionConfig_mutable_dns_resolver_options(envoy_config_core_v3_DnsResolutionConfig *msg, upb_arena *arena) {
|
106
|
+
struct envoy_config_core_v3_DnsResolverOptions* sub = (struct envoy_config_core_v3_DnsResolverOptions*)envoy_config_core_v3_DnsResolutionConfig_dns_resolver_options(msg);
|
107
|
+
if (sub == NULL) {
|
108
|
+
sub = (struct envoy_config_core_v3_DnsResolverOptions*)_upb_msg_new(&envoy_config_core_v3_DnsResolverOptions_msginit, arena);
|
109
|
+
if (!sub) return NULL;
|
110
|
+
envoy_config_core_v3_DnsResolutionConfig_set_dns_resolver_options(msg, sub);
|
111
|
+
}
|
112
|
+
return sub;
|
113
|
+
}
|
114
|
+
|
115
|
+
#ifdef __cplusplus
|
116
|
+
} /* extern "C" */
|
117
|
+
#endif
|
118
|
+
|
119
|
+
#include "upb/port_undef.inc"
|
120
|
+
|
121
|
+
#endif /* ENVOY_CONFIG_CORE_V3_RESOLVER_PROTO_UPB_H_ */
|
@@ -12,6 +12,7 @@
|
|
12
12
|
#include "envoy/config/core/v3/base.upb.h"
|
13
13
|
#include "envoy/config/core/v3/extension.upb.h"
|
14
14
|
#include "google/protobuf/struct.upb.h"
|
15
|
+
#include "envoy/annotations/deprecation.upb.h"
|
15
16
|
#include "udpa/annotations/status.upb.h"
|
16
17
|
#include "validate/validate.upb.h"
|
17
18
|
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* This file was generated by upbc (the upb compiler) from the input
|
2
|
+
* file:
|
3
|
+
*
|
4
|
+
* envoy/config/core/v3/udp_socket_config.proto
|
5
|
+
*
|
6
|
+
* Do not edit -- your changes will be discarded when the file is
|
7
|
+
* regenerated. */
|
8
|
+
|
9
|
+
#include <stddef.h>
|
10
|
+
#include "upb/msg.h"
|
11
|
+
#include "envoy/config/core/v3/udp_socket_config.upb.h"
|
12
|
+
#include "google/protobuf/wrappers.upb.h"
|
13
|
+
#include "udpa/annotations/status.upb.h"
|
14
|
+
#include "validate/validate.upb.h"
|
15
|
+
|
16
|
+
#include "upb/port_def.inc"
|
17
|
+
|
18
|
+
static const upb_msglayout *const envoy_config_core_v3_UdpSocketConfig_submsgs[2] = {
|
19
|
+
&google_protobuf_BoolValue_msginit,
|
20
|
+
&google_protobuf_UInt64Value_msginit,
|
21
|
+
};
|
22
|
+
|
23
|
+
static const upb_msglayout_field envoy_config_core_v3_UdpSocketConfig__fields[2] = {
|
24
|
+
{1, UPB_SIZE(4, 8), 1, 1, 11, 1},
|
25
|
+
{2, UPB_SIZE(8, 16), 2, 0, 11, 1},
|
26
|
+
};
|
27
|
+
|
28
|
+
const upb_msglayout envoy_config_core_v3_UdpSocketConfig_msginit = {
|
29
|
+
&envoy_config_core_v3_UdpSocketConfig_submsgs[0],
|
30
|
+
&envoy_config_core_v3_UdpSocketConfig__fields[0],
|
31
|
+
UPB_SIZE(16, 24), 2, false, 255,
|
32
|
+
};
|
33
|
+
|
34
|
+
#include "upb/port_undef.inc"
|
35
|
+
|
@@ -0,0 +1,90 @@
|
|
1
|
+
/* This file was generated by upbc (the upb compiler) from the input
|
2
|
+
* file:
|
3
|
+
*
|
4
|
+
* envoy/config/core/v3/udp_socket_config.proto
|
5
|
+
*
|
6
|
+
* Do not edit -- your changes will be discarded when the file is
|
7
|
+
* regenerated. */
|
8
|
+
|
9
|
+
#ifndef ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_
|
10
|
+
#define ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_
|
11
|
+
|
12
|
+
#include "upb/msg.h"
|
13
|
+
#include "upb/decode.h"
|
14
|
+
#include "upb/decode_fast.h"
|
15
|
+
#include "upb/encode.h"
|
16
|
+
|
17
|
+
#include "upb/port_def.inc"
|
18
|
+
|
19
|
+
#ifdef __cplusplus
|
20
|
+
extern "C" {
|
21
|
+
#endif
|
22
|
+
|
23
|
+
struct envoy_config_core_v3_UdpSocketConfig;
|
24
|
+
typedef struct envoy_config_core_v3_UdpSocketConfig envoy_config_core_v3_UdpSocketConfig;
|
25
|
+
extern const upb_msglayout envoy_config_core_v3_UdpSocketConfig_msginit;
|
26
|
+
struct google_protobuf_BoolValue;
|
27
|
+
struct google_protobuf_UInt64Value;
|
28
|
+
extern const upb_msglayout google_protobuf_BoolValue_msginit;
|
29
|
+
extern const upb_msglayout google_protobuf_UInt64Value_msginit;
|
30
|
+
|
31
|
+
|
32
|
+
/* envoy.config.core.v3.UdpSocketConfig */
|
33
|
+
|
34
|
+
UPB_INLINE envoy_config_core_v3_UdpSocketConfig *envoy_config_core_v3_UdpSocketConfig_new(upb_arena *arena) {
|
35
|
+
return (envoy_config_core_v3_UdpSocketConfig *)_upb_msg_new(&envoy_config_core_v3_UdpSocketConfig_msginit, arena);
|
36
|
+
}
|
37
|
+
UPB_INLINE envoy_config_core_v3_UdpSocketConfig *envoy_config_core_v3_UdpSocketConfig_parse(const char *buf, size_t size,
|
38
|
+
upb_arena *arena) {
|
39
|
+
envoy_config_core_v3_UdpSocketConfig *ret = envoy_config_core_v3_UdpSocketConfig_new(arena);
|
40
|
+
return (ret && upb_decode(buf, size, ret, &envoy_config_core_v3_UdpSocketConfig_msginit, arena)) ? ret : NULL;
|
41
|
+
}
|
42
|
+
UPB_INLINE envoy_config_core_v3_UdpSocketConfig *envoy_config_core_v3_UdpSocketConfig_parse_ex(const char *buf, size_t size,
|
43
|
+
upb_arena *arena, int options) {
|
44
|
+
envoy_config_core_v3_UdpSocketConfig *ret = envoy_config_core_v3_UdpSocketConfig_new(arena);
|
45
|
+
return (ret && _upb_decode(buf, size, ret, &envoy_config_core_v3_UdpSocketConfig_msginit, arena, options))
|
46
|
+
? ret : NULL;
|
47
|
+
}
|
48
|
+
UPB_INLINE char *envoy_config_core_v3_UdpSocketConfig_serialize(const envoy_config_core_v3_UdpSocketConfig *msg, upb_arena *arena, size_t *len) {
|
49
|
+
return upb_encode(msg, &envoy_config_core_v3_UdpSocketConfig_msginit, arena, len);
|
50
|
+
}
|
51
|
+
|
52
|
+
UPB_INLINE bool envoy_config_core_v3_UdpSocketConfig_has_max_rx_datagram_size(const envoy_config_core_v3_UdpSocketConfig *msg) { return _upb_hasbit(msg, 1); }
|
53
|
+
UPB_INLINE const struct google_protobuf_UInt64Value* envoy_config_core_v3_UdpSocketConfig_max_rx_datagram_size(const envoy_config_core_v3_UdpSocketConfig *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 8), const struct google_protobuf_UInt64Value*); }
|
54
|
+
UPB_INLINE bool envoy_config_core_v3_UdpSocketConfig_has_prefer_gro(const envoy_config_core_v3_UdpSocketConfig *msg) { return _upb_hasbit(msg, 2); }
|
55
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_core_v3_UdpSocketConfig_prefer_gro(const envoy_config_core_v3_UdpSocketConfig *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 16), const struct google_protobuf_BoolValue*); }
|
56
|
+
|
57
|
+
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig *msg, struct google_protobuf_UInt64Value* value) {
|
58
|
+
_upb_sethas(msg, 1);
|
59
|
+
*UPB_PTR_AT(msg, UPB_SIZE(4, 8), struct google_protobuf_UInt64Value*) = value;
|
60
|
+
}
|
61
|
+
UPB_INLINE struct google_protobuf_UInt64Value* envoy_config_core_v3_UdpSocketConfig_mutable_max_rx_datagram_size(envoy_config_core_v3_UdpSocketConfig *msg, upb_arena *arena) {
|
62
|
+
struct google_protobuf_UInt64Value* sub = (struct google_protobuf_UInt64Value*)envoy_config_core_v3_UdpSocketConfig_max_rx_datagram_size(msg);
|
63
|
+
if (sub == NULL) {
|
64
|
+
sub = (struct google_protobuf_UInt64Value*)_upb_msg_new(&google_protobuf_UInt64Value_msginit, arena);
|
65
|
+
if (!sub) return NULL;
|
66
|
+
envoy_config_core_v3_UdpSocketConfig_set_max_rx_datagram_size(msg, sub);
|
67
|
+
}
|
68
|
+
return sub;
|
69
|
+
}
|
70
|
+
UPB_INLINE void envoy_config_core_v3_UdpSocketConfig_set_prefer_gro(envoy_config_core_v3_UdpSocketConfig *msg, struct google_protobuf_BoolValue* value) {
|
71
|
+
_upb_sethas(msg, 2);
|
72
|
+
*UPB_PTR_AT(msg, UPB_SIZE(8, 16), struct google_protobuf_BoolValue*) = value;
|
73
|
+
}
|
74
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_core_v3_UdpSocketConfig_mutable_prefer_gro(envoy_config_core_v3_UdpSocketConfig *msg, upb_arena *arena) {
|
75
|
+
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_core_v3_UdpSocketConfig_prefer_gro(msg);
|
76
|
+
if (sub == NULL) {
|
77
|
+
sub = (struct google_protobuf_BoolValue*)_upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
|
78
|
+
if (!sub) return NULL;
|
79
|
+
envoy_config_core_v3_UdpSocketConfig_set_prefer_gro(msg, sub);
|
80
|
+
}
|
81
|
+
return sub;
|
82
|
+
}
|
83
|
+
|
84
|
+
#ifdef __cplusplus
|
85
|
+
} /* extern "C" */
|
86
|
+
#endif
|
87
|
+
|
88
|
+
#include "upb/port_undef.inc"
|
89
|
+
|
90
|
+
#endif /* ENVOY_CONFIG_CORE_V3_UDP_SOCKET_CONFIG_PROTO_UPB_H_ */
|
@@ -12,7 +12,6 @@
|
|
12
12
|
#include "envoy/config/accesslog/v3/accesslog.upb.h"
|
13
13
|
#include "envoy/config/core/v3/address.upb.h"
|
14
14
|
#include "envoy/config/core/v3/base.upb.h"
|
15
|
-
#include "envoy/config/core/v3/extension.upb.h"
|
16
15
|
#include "envoy/config/core/v3/socket_option.upb.h"
|
17
16
|
#include "envoy/config/listener/v3/api_listener.upb.h"
|
18
17
|
#include "envoy/config/listener/v3/listener_components.upb.h"
|
@@ -20,6 +19,7 @@
|
|
20
19
|
#include "google/protobuf/duration.upb.h"
|
21
20
|
#include "google/protobuf/wrappers.upb.h"
|
22
21
|
#include "xds/core/v3/collection_entry.upb.h"
|
22
|
+
#include "envoy/annotations/deprecation.upb.h"
|
23
23
|
#include "udpa/annotations/security.upb.h"
|
24
24
|
#include "udpa/annotations/status.upb.h"
|
25
25
|
#include "udpa/annotations/versioning.upb.h"
|
@@ -46,11 +46,11 @@ static const upb_msglayout *const envoy_config_listener_v3_Listener_submsgs[14]
|
|
46
46
|
&envoy_config_core_v3_Address_msginit,
|
47
47
|
&envoy_config_core_v3_Metadata_msginit,
|
48
48
|
&envoy_config_core_v3_SocketOption_msginit,
|
49
|
-
&envoy_config_core_v3_TypedExtensionConfig_msginit,
|
50
49
|
&envoy_config_listener_v3_ApiListener_msginit,
|
51
50
|
&envoy_config_listener_v3_FilterChain_msginit,
|
52
51
|
&envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msginit,
|
53
52
|
&envoy_config_listener_v3_Listener_DeprecatedV1_msginit,
|
53
|
+
&envoy_config_listener_v3_Listener_InternalListenerConfig_msginit,
|
54
54
|
&envoy_config_listener_v3_ListenerFilter_msginit,
|
55
55
|
&envoy_config_listener_v3_UdpListenerConfig_msginit,
|
56
56
|
&google_protobuf_BoolValue_msginit,
|
@@ -58,38 +58,40 @@ static const upb_msglayout *const envoy_config_listener_v3_Listener_submsgs[14]
|
|
58
58
|
&google_protobuf_UInt32Value_msginit,
|
59
59
|
};
|
60
60
|
|
61
|
-
static const upb_msglayout_field envoy_config_listener_v3_Listener__fields[
|
61
|
+
static const upb_msglayout_field envoy_config_listener_v3_Listener__fields[27] = {
|
62
62
|
{1, UPB_SIZE(16, 16), 0, 0, 9, 1},
|
63
|
-
{2, UPB_SIZE(
|
64
|
-
{3, UPB_SIZE(
|
65
|
-
{4, UPB_SIZE(
|
66
|
-
{5, UPB_SIZE(
|
67
|
-
{6, UPB_SIZE(
|
68
|
-
{7, UPB_SIZE(
|
63
|
+
{2, UPB_SIZE(32, 48), 1, 1, 11, 1},
|
64
|
+
{3, UPB_SIZE(96, 176), 0, 5, 11, 3},
|
65
|
+
{4, UPB_SIZE(36, 56), 2, 11, 11, 1},
|
66
|
+
{5, UPB_SIZE(40, 64), 3, 13, 11, 1},
|
67
|
+
{6, UPB_SIZE(44, 72), 4, 2, 11, 1},
|
68
|
+
{7, UPB_SIZE(48, 80), 5, 7, 11, 1},
|
69
69
|
{8, UPB_SIZE(4, 4), 0, 0, 14, 1},
|
70
|
-
{9, UPB_SIZE(
|
71
|
-
{10, UPB_SIZE(
|
72
|
-
{11, UPB_SIZE(
|
73
|
-
{12, UPB_SIZE(
|
74
|
-
{13, UPB_SIZE(
|
75
|
-
{15, UPB_SIZE(
|
70
|
+
{9, UPB_SIZE(100, 184), 0, 9, 11, 3},
|
71
|
+
{10, UPB_SIZE(52, 88), 6, 11, 11, 1},
|
72
|
+
{11, UPB_SIZE(56, 96), 7, 11, 11, 1},
|
73
|
+
{12, UPB_SIZE(60, 104), 8, 13, 11, 1},
|
74
|
+
{13, UPB_SIZE(104, 192), 0, 3, 11, 3},
|
75
|
+
{15, UPB_SIZE(64, 112), 9, 12, 11, 1},
|
76
76
|
{16, UPB_SIZE(8, 8), 0, 0, 14, 1},
|
77
77
|
{17, UPB_SIZE(12, 12), 0, 0, 8, 1},
|
78
|
-
{18, UPB_SIZE(
|
79
|
-
{19, UPB_SIZE(
|
80
|
-
{20, UPB_SIZE(
|
78
|
+
{18, UPB_SIZE(68, 120), 10, 10, 11, 1},
|
79
|
+
{19, UPB_SIZE(72, 128), 11, 4, 11, 1},
|
80
|
+
{20, UPB_SIZE(76, 136), 12, 6, 11, 1},
|
81
81
|
{21, UPB_SIZE(13, 13), 0, 0, 8, 1},
|
82
|
-
{22, UPB_SIZE(
|
83
|
-
{
|
84
|
-
{
|
85
|
-
{
|
86
|
-
{
|
82
|
+
{22, UPB_SIZE(108, 200), 0, 0, 11, 3},
|
83
|
+
{24, UPB_SIZE(80, 144), 13, 13, 11, 1},
|
84
|
+
{25, UPB_SIZE(84, 152), 14, 5, 11, 1},
|
85
|
+
{26, UPB_SIZE(88, 160), 15, 11, 11, 1},
|
86
|
+
{27, UPB_SIZE(112, 208), UPB_SIZE(-117, -217), 8, 11, 1},
|
87
|
+
{28, UPB_SIZE(24, 32), 0, 0, 9, 1},
|
88
|
+
{29, UPB_SIZE(92, 168), 16, 11, 11, 1},
|
87
89
|
};
|
88
90
|
|
89
91
|
const upb_msglayout envoy_config_listener_v3_Listener_msginit = {
|
90
92
|
&envoy_config_listener_v3_Listener_submsgs[0],
|
91
93
|
&envoy_config_listener_v3_Listener__fields[0],
|
92
|
-
UPB_SIZE(
|
94
|
+
UPB_SIZE(120, 224), 27, false, 255,
|
93
95
|
};
|
94
96
|
|
95
97
|
static const upb_msglayout *const envoy_config_listener_v3_Listener_DeprecatedV1_submsgs[1] = {
|
@@ -126,5 +128,11 @@ const upb_msglayout envoy_config_listener_v3_Listener_ConnectionBalanceConfig_Ex
|
|
126
128
|
UPB_SIZE(0, 0), 0, false, 255,
|
127
129
|
};
|
128
130
|
|
131
|
+
const upb_msglayout envoy_config_listener_v3_Listener_InternalListenerConfig_msginit = {
|
132
|
+
NULL,
|
133
|
+
NULL,
|
134
|
+
UPB_SIZE(0, 0), 0, false, 255,
|
135
|
+
};
|
136
|
+
|
129
137
|
#include "upb/port_undef.inc"
|
130
138
|
|
@@ -25,21 +25,23 @@ struct envoy_config_listener_v3_Listener;
|
|
25
25
|
struct envoy_config_listener_v3_Listener_DeprecatedV1;
|
26
26
|
struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig;
|
27
27
|
struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance;
|
28
|
+
struct envoy_config_listener_v3_Listener_InternalListenerConfig;
|
28
29
|
typedef struct envoy_config_listener_v3_ListenerCollection envoy_config_listener_v3_ListenerCollection;
|
29
30
|
typedef struct envoy_config_listener_v3_Listener envoy_config_listener_v3_Listener;
|
30
31
|
typedef struct envoy_config_listener_v3_Listener_DeprecatedV1 envoy_config_listener_v3_Listener_DeprecatedV1;
|
31
32
|
typedef struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig envoy_config_listener_v3_Listener_ConnectionBalanceConfig;
|
32
33
|
typedef struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance;
|
34
|
+
typedef struct envoy_config_listener_v3_Listener_InternalListenerConfig envoy_config_listener_v3_Listener_InternalListenerConfig;
|
33
35
|
extern const upb_msglayout envoy_config_listener_v3_ListenerCollection_msginit;
|
34
36
|
extern const upb_msglayout envoy_config_listener_v3_Listener_msginit;
|
35
37
|
extern const upb_msglayout envoy_config_listener_v3_Listener_DeprecatedV1_msginit;
|
36
38
|
extern const upb_msglayout envoy_config_listener_v3_Listener_ConnectionBalanceConfig_msginit;
|
37
39
|
extern const upb_msglayout envoy_config_listener_v3_Listener_ConnectionBalanceConfig_ExactBalance_msginit;
|
40
|
+
extern const upb_msglayout envoy_config_listener_v3_Listener_InternalListenerConfig_msginit;
|
38
41
|
struct envoy_config_accesslog_v3_AccessLog;
|
39
42
|
struct envoy_config_core_v3_Address;
|
40
43
|
struct envoy_config_core_v3_Metadata;
|
41
44
|
struct envoy_config_core_v3_SocketOption;
|
42
|
-
struct envoy_config_core_v3_TypedExtensionConfig;
|
43
45
|
struct envoy_config_listener_v3_ApiListener;
|
44
46
|
struct envoy_config_listener_v3_FilterChain;
|
45
47
|
struct envoy_config_listener_v3_ListenerFilter;
|
@@ -52,7 +54,6 @@ extern const upb_msglayout envoy_config_accesslog_v3_AccessLog_msginit;
|
|
52
54
|
extern const upb_msglayout envoy_config_core_v3_Address_msginit;
|
53
55
|
extern const upb_msglayout envoy_config_core_v3_Metadata_msginit;
|
54
56
|
extern const upb_msglayout envoy_config_core_v3_SocketOption_msginit;
|
55
|
-
extern const upb_msglayout envoy_config_core_v3_TypedExtensionConfig_msginit;
|
56
57
|
extern const upb_msglayout envoy_config_listener_v3_ApiListener_msginit;
|
57
58
|
extern const upb_msglayout envoy_config_listener_v3_FilterChain_msginit;
|
58
59
|
extern const upb_msglayout envoy_config_listener_v3_ListenerFilter_msginit;
|
@@ -125,58 +126,67 @@ UPB_INLINE char *envoy_config_listener_v3_Listener_serialize(const envoy_config_
|
|
125
126
|
return upb_encode(msg, &envoy_config_listener_v3_Listener_msginit, arena, len);
|
126
127
|
}
|
127
128
|
|
129
|
+
typedef enum {
|
130
|
+
envoy_config_listener_v3_Listener_listener_specifier_internal_listener = 27,
|
131
|
+
envoy_config_listener_v3_Listener_listener_specifier_NOT_SET = 0
|
132
|
+
} envoy_config_listener_v3_Listener_listener_specifier_oneofcases;
|
133
|
+
UPB_INLINE envoy_config_listener_v3_Listener_listener_specifier_oneofcases envoy_config_listener_v3_Listener_listener_specifier_case(const envoy_config_listener_v3_Listener* msg) { return (envoy_config_listener_v3_Listener_listener_specifier_oneofcases)*UPB_PTR_AT(msg, UPB_SIZE(116, 216), int32_t); }
|
134
|
+
|
128
135
|
UPB_INLINE upb_strview envoy_config_listener_v3_Listener_name(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview); }
|
129
136
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_address(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 1); }
|
130
|
-
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_listener_v3_Listener_address(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
131
|
-
UPB_INLINE bool envoy_config_listener_v3_Listener_has_filter_chains(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
132
|
-
UPB_INLINE const struct envoy_config_listener_v3_FilterChain* const* envoy_config_listener_v3_Listener_filter_chains(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_listener_v3_FilterChain* const*)_upb_array_accessor(msg, UPB_SIZE(
|
137
|
+
UPB_INLINE const struct envoy_config_core_v3_Address* envoy_config_listener_v3_Listener_address(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(32, 48), const struct envoy_config_core_v3_Address*); }
|
138
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_filter_chains(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(96, 176)); }
|
139
|
+
UPB_INLINE const struct envoy_config_listener_v3_FilterChain* const* envoy_config_listener_v3_Listener_filter_chains(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_listener_v3_FilterChain* const*)_upb_array_accessor(msg, UPB_SIZE(96, 176), len); }
|
133
140
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_use_original_dst(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 2); }
|
134
|
-
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_use_original_dst(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
141
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_use_original_dst(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(36, 56), const struct google_protobuf_BoolValue*); }
|
135
142
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_per_connection_buffer_limit_bytes(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 3); }
|
136
|
-
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_per_connection_buffer_limit_bytes(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
143
|
+
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_per_connection_buffer_limit_bytes(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(40, 64), const struct google_protobuf_UInt32Value*); }
|
137
144
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_metadata(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 4); }
|
138
|
-
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_Listener_metadata(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
145
|
+
UPB_INLINE const struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_Listener_metadata(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(44, 72), const struct envoy_config_core_v3_Metadata*); }
|
139
146
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_deprecated_v1(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 5); }
|
140
|
-
UPB_INLINE const envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_deprecated_v1(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
147
|
+
UPB_INLINE const envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_deprecated_v1(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(48, 80), const envoy_config_listener_v3_Listener_DeprecatedV1*); }
|
141
148
|
UPB_INLINE int32_t envoy_config_listener_v3_Listener_drain_type(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t); }
|
142
|
-
UPB_INLINE bool envoy_config_listener_v3_Listener_has_listener_filters(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
143
|
-
UPB_INLINE const struct envoy_config_listener_v3_ListenerFilter* const* envoy_config_listener_v3_Listener_listener_filters(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_listener_v3_ListenerFilter* const*)_upb_array_accessor(msg, UPB_SIZE(
|
149
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_listener_filters(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(100, 184)); }
|
150
|
+
UPB_INLINE const struct envoy_config_listener_v3_ListenerFilter* const* envoy_config_listener_v3_Listener_listener_filters(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_listener_v3_ListenerFilter* const*)_upb_array_accessor(msg, UPB_SIZE(100, 184), len); }
|
144
151
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_transparent(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 6); }
|
145
|
-
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_transparent(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
152
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_transparent(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(52, 88), const struct google_protobuf_BoolValue*); }
|
146
153
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_freebind(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 7); }
|
147
|
-
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_freebind(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
154
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_freebind(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(56, 96), const struct google_protobuf_BoolValue*); }
|
148
155
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_tcp_fast_open_queue_length(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 8); }
|
149
|
-
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_tcp_fast_open_queue_length(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
150
|
-
UPB_INLINE bool envoy_config_listener_v3_Listener_has_socket_options(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
151
|
-
UPB_INLINE const struct envoy_config_core_v3_SocketOption* const* envoy_config_listener_v3_Listener_socket_options(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_core_v3_SocketOption* const*)_upb_array_accessor(msg, UPB_SIZE(
|
156
|
+
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_tcp_fast_open_queue_length(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(60, 104), const struct google_protobuf_UInt32Value*); }
|
157
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_socket_options(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(104, 192)); }
|
158
|
+
UPB_INLINE const struct envoy_config_core_v3_SocketOption* const* envoy_config_listener_v3_Listener_socket_options(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_core_v3_SocketOption* const*)_upb_array_accessor(msg, UPB_SIZE(104, 192), len); }
|
152
159
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_listener_filters_timeout(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 9); }
|
153
|
-
UPB_INLINE const struct google_protobuf_Duration* envoy_config_listener_v3_Listener_listener_filters_timeout(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
160
|
+
UPB_INLINE const struct google_protobuf_Duration* envoy_config_listener_v3_Listener_listener_filters_timeout(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(64, 112), const struct google_protobuf_Duration*); }
|
154
161
|
UPB_INLINE int32_t envoy_config_listener_v3_Listener_traffic_direction(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(8, 8), int32_t); }
|
155
162
|
UPB_INLINE bool envoy_config_listener_v3_Listener_continue_on_listener_filters_timeout(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(12, 12), bool); }
|
156
163
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_udp_listener_config(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 10); }
|
157
|
-
UPB_INLINE const struct envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_Listener_udp_listener_config(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
164
|
+
UPB_INLINE const struct envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_Listener_udp_listener_config(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(68, 120), const struct envoy_config_listener_v3_UdpListenerConfig*); }
|
158
165
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_api_listener(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 11); }
|
159
|
-
UPB_INLINE const struct envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_Listener_api_listener(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
166
|
+
UPB_INLINE const struct envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_Listener_api_listener(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(72, 128), const struct envoy_config_listener_v3_ApiListener*); }
|
160
167
|
UPB_INLINE bool envoy_config_listener_v3_Listener_has_connection_balance_config(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 12); }
|
161
|
-
UPB_INLINE const envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_connection_balance_config(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(
|
168
|
+
UPB_INLINE const envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_connection_balance_config(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(76, 136), const envoy_config_listener_v3_Listener_ConnectionBalanceConfig*); }
|
162
169
|
UPB_INLINE bool envoy_config_listener_v3_Listener_reuse_port(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(13, 13), bool); }
|
163
|
-
UPB_INLINE bool envoy_config_listener_v3_Listener_has_access_log(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(
|
164
|
-
UPB_INLINE const struct envoy_config_accesslog_v3_AccessLog* const* envoy_config_listener_v3_Listener_access_log(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_accesslog_v3_AccessLog* const*)_upb_array_accessor(msg, UPB_SIZE(
|
165
|
-
UPB_INLINE bool
|
166
|
-
UPB_INLINE const struct
|
167
|
-
UPB_INLINE bool
|
168
|
-
UPB_INLINE const struct
|
169
|
-
UPB_INLINE bool
|
170
|
-
UPB_INLINE const struct
|
171
|
-
UPB_INLINE bool
|
172
|
-
UPB_INLINE const
|
170
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_access_log(const envoy_config_listener_v3_Listener *msg) { return _upb_has_submsg_nohasbit(msg, UPB_SIZE(108, 200)); }
|
171
|
+
UPB_INLINE const struct envoy_config_accesslog_v3_AccessLog* const* envoy_config_listener_v3_Listener_access_log(const envoy_config_listener_v3_Listener *msg, size_t *len) { return (const struct envoy_config_accesslog_v3_AccessLog* const*)_upb_array_accessor(msg, UPB_SIZE(108, 200), len); }
|
172
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_tcp_backlog_size(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 13); }
|
173
|
+
UPB_INLINE const struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_tcp_backlog_size(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(80, 144), const struct google_protobuf_UInt32Value*); }
|
174
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_default_filter_chain(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 14); }
|
175
|
+
UPB_INLINE const struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Listener_default_filter_chain(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(84, 152), const struct envoy_config_listener_v3_FilterChain*); }
|
176
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_bind_to_port(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 15); }
|
177
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_bind_to_port(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(88, 160), const struct google_protobuf_BoolValue*); }
|
178
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_internal_listener(const envoy_config_listener_v3_Listener *msg) { return _upb_getoneofcase(msg, UPB_SIZE(116, 216)) == 27; }
|
179
|
+
UPB_INLINE const envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_internal_listener(const envoy_config_listener_v3_Listener *msg) { return UPB_READ_ONEOF(msg, const envoy_config_listener_v3_Listener_InternalListenerConfig*, UPB_SIZE(112, 208), UPB_SIZE(116, 216), 27, NULL); }
|
180
|
+
UPB_INLINE upb_strview envoy_config_listener_v3_Listener_stat_prefix(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(24, 32), upb_strview); }
|
181
|
+
UPB_INLINE bool envoy_config_listener_v3_Listener_has_enable_reuse_port(const envoy_config_listener_v3_Listener *msg) { return _upb_hasbit(msg, 16); }
|
182
|
+
UPB_INLINE const struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_enable_reuse_port(const envoy_config_listener_v3_Listener *msg) { return *UPB_PTR_AT(msg, UPB_SIZE(92, 168), const struct google_protobuf_BoolValue*); }
|
173
183
|
|
174
184
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_name(envoy_config_listener_v3_Listener *msg, upb_strview value) {
|
175
185
|
*UPB_PTR_AT(msg, UPB_SIZE(16, 16), upb_strview) = value;
|
176
186
|
}
|
177
187
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_address(envoy_config_listener_v3_Listener *msg, struct envoy_config_core_v3_Address* value) {
|
178
188
|
_upb_sethas(msg, 1);
|
179
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
189
|
+
*UPB_PTR_AT(msg, UPB_SIZE(32, 48), struct envoy_config_core_v3_Address*) = value;
|
180
190
|
}
|
181
191
|
UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_listener_v3_Listener_mutable_address(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
182
192
|
struct envoy_config_core_v3_Address* sub = (struct envoy_config_core_v3_Address*)envoy_config_listener_v3_Listener_address(msg);
|
@@ -188,21 +198,21 @@ UPB_INLINE struct envoy_config_core_v3_Address* envoy_config_listener_v3_Listene
|
|
188
198
|
return sub;
|
189
199
|
}
|
190
200
|
UPB_INLINE struct envoy_config_listener_v3_FilterChain** envoy_config_listener_v3_Listener_mutable_filter_chains(envoy_config_listener_v3_Listener *msg, size_t *len) {
|
191
|
-
return (struct envoy_config_listener_v3_FilterChain**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
201
|
+
return (struct envoy_config_listener_v3_FilterChain**)_upb_array_mutable_accessor(msg, UPB_SIZE(96, 176), len);
|
192
202
|
}
|
193
203
|
UPB_INLINE struct envoy_config_listener_v3_FilterChain** envoy_config_listener_v3_Listener_resize_filter_chains(envoy_config_listener_v3_Listener *msg, size_t len, upb_arena *arena) {
|
194
|
-
return (struct envoy_config_listener_v3_FilterChain**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
204
|
+
return (struct envoy_config_listener_v3_FilterChain**)_upb_array_resize_accessor2(msg, UPB_SIZE(96, 176), len, UPB_SIZE(2, 3), arena);
|
195
205
|
}
|
196
206
|
UPB_INLINE struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Listener_add_filter_chains(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
197
207
|
struct envoy_config_listener_v3_FilterChain* sub = (struct envoy_config_listener_v3_FilterChain*)_upb_msg_new(&envoy_config_listener_v3_FilterChain_msginit, arena);
|
198
208
|
bool ok = _upb_array_append_accessor2(
|
199
|
-
msg, UPB_SIZE(
|
209
|
+
msg, UPB_SIZE(96, 176), UPB_SIZE(2, 3), &sub, arena);
|
200
210
|
if (!ok) return NULL;
|
201
211
|
return sub;
|
202
212
|
}
|
203
213
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_use_original_dst(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) {
|
204
214
|
_upb_sethas(msg, 2);
|
205
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
215
|
+
*UPB_PTR_AT(msg, UPB_SIZE(36, 56), struct google_protobuf_BoolValue*) = value;
|
206
216
|
}
|
207
217
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_use_original_dst(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
208
218
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_use_original_dst(msg);
|
@@ -215,7 +225,7 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_m
|
|
215
225
|
}
|
216
226
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_per_connection_buffer_limit_bytes(envoy_config_listener_v3_Listener *msg, struct google_protobuf_UInt32Value* value) {
|
217
227
|
_upb_sethas(msg, 3);
|
218
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
228
|
+
*UPB_PTR_AT(msg, UPB_SIZE(40, 64), struct google_protobuf_UInt32Value*) = value;
|
219
229
|
}
|
220
230
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_per_connection_buffer_limit_bytes(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
221
231
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_per_connection_buffer_limit_bytes(msg);
|
@@ -228,7 +238,7 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener
|
|
228
238
|
}
|
229
239
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_metadata(envoy_config_listener_v3_Listener *msg, struct envoy_config_core_v3_Metadata* value) {
|
230
240
|
_upb_sethas(msg, 4);
|
231
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
241
|
+
*UPB_PTR_AT(msg, UPB_SIZE(44, 72), struct envoy_config_core_v3_Metadata*) = value;
|
232
242
|
}
|
233
243
|
UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_Listener_mutable_metadata(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
234
244
|
struct envoy_config_core_v3_Metadata* sub = (struct envoy_config_core_v3_Metadata*)envoy_config_listener_v3_Listener_metadata(msg);
|
@@ -241,7 +251,7 @@ UPB_INLINE struct envoy_config_core_v3_Metadata* envoy_config_listener_v3_Listen
|
|
241
251
|
}
|
242
252
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_deprecated_v1(envoy_config_listener_v3_Listener *msg, envoy_config_listener_v3_Listener_DeprecatedV1* value) {
|
243
253
|
_upb_sethas(msg, 5);
|
244
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
254
|
+
*UPB_PTR_AT(msg, UPB_SIZE(48, 80), envoy_config_listener_v3_Listener_DeprecatedV1*) = value;
|
245
255
|
}
|
246
256
|
UPB_INLINE struct envoy_config_listener_v3_Listener_DeprecatedV1* envoy_config_listener_v3_Listener_mutable_deprecated_v1(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
247
257
|
struct envoy_config_listener_v3_Listener_DeprecatedV1* sub = (struct envoy_config_listener_v3_Listener_DeprecatedV1*)envoy_config_listener_v3_Listener_deprecated_v1(msg);
|
@@ -256,21 +266,21 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_drain_type(envoy_config_li
|
|
256
266
|
*UPB_PTR_AT(msg, UPB_SIZE(4, 4), int32_t) = value;
|
257
267
|
}
|
258
268
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilter** envoy_config_listener_v3_Listener_mutable_listener_filters(envoy_config_listener_v3_Listener *msg, size_t *len) {
|
259
|
-
return (struct envoy_config_listener_v3_ListenerFilter**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
269
|
+
return (struct envoy_config_listener_v3_ListenerFilter**)_upb_array_mutable_accessor(msg, UPB_SIZE(100, 184), len);
|
260
270
|
}
|
261
271
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilter** envoy_config_listener_v3_Listener_resize_listener_filters(envoy_config_listener_v3_Listener *msg, size_t len, upb_arena *arena) {
|
262
|
-
return (struct envoy_config_listener_v3_ListenerFilter**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
272
|
+
return (struct envoy_config_listener_v3_ListenerFilter**)_upb_array_resize_accessor2(msg, UPB_SIZE(100, 184), len, UPB_SIZE(2, 3), arena);
|
263
273
|
}
|
264
274
|
UPB_INLINE struct envoy_config_listener_v3_ListenerFilter* envoy_config_listener_v3_Listener_add_listener_filters(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
265
275
|
struct envoy_config_listener_v3_ListenerFilter* sub = (struct envoy_config_listener_v3_ListenerFilter*)_upb_msg_new(&envoy_config_listener_v3_ListenerFilter_msginit, arena);
|
266
276
|
bool ok = _upb_array_append_accessor2(
|
267
|
-
msg, UPB_SIZE(
|
277
|
+
msg, UPB_SIZE(100, 184), UPB_SIZE(2, 3), &sub, arena);
|
268
278
|
if (!ok) return NULL;
|
269
279
|
return sub;
|
270
280
|
}
|
271
281
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_transparent(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) {
|
272
282
|
_upb_sethas(msg, 6);
|
273
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
283
|
+
*UPB_PTR_AT(msg, UPB_SIZE(52, 88), struct google_protobuf_BoolValue*) = value;
|
274
284
|
}
|
275
285
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_transparent(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
276
286
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_transparent(msg);
|
@@ -283,7 +293,7 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_m
|
|
283
293
|
}
|
284
294
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_freebind(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) {
|
285
295
|
_upb_sethas(msg, 7);
|
286
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
296
|
+
*UPB_PTR_AT(msg, UPB_SIZE(56, 96), struct google_protobuf_BoolValue*) = value;
|
287
297
|
}
|
288
298
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_freebind(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
289
299
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_freebind(msg);
|
@@ -296,7 +306,7 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_m
|
|
296
306
|
}
|
297
307
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_tcp_fast_open_queue_length(envoy_config_listener_v3_Listener *msg, struct google_protobuf_UInt32Value* value) {
|
298
308
|
_upb_sethas(msg, 8);
|
299
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
309
|
+
*UPB_PTR_AT(msg, UPB_SIZE(60, 104), struct google_protobuf_UInt32Value*) = value;
|
300
310
|
}
|
301
311
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_tcp_fast_open_queue_length(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
302
312
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_tcp_fast_open_queue_length(msg);
|
@@ -308,21 +318,21 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener
|
|
308
318
|
return sub;
|
309
319
|
}
|
310
320
|
UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_listener_v3_Listener_mutable_socket_options(envoy_config_listener_v3_Listener *msg, size_t *len) {
|
311
|
-
return (struct envoy_config_core_v3_SocketOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
321
|
+
return (struct envoy_config_core_v3_SocketOption**)_upb_array_mutable_accessor(msg, UPB_SIZE(104, 192), len);
|
312
322
|
}
|
313
323
|
UPB_INLINE struct envoy_config_core_v3_SocketOption** envoy_config_listener_v3_Listener_resize_socket_options(envoy_config_listener_v3_Listener *msg, size_t len, upb_arena *arena) {
|
314
|
-
return (struct envoy_config_core_v3_SocketOption**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
324
|
+
return (struct envoy_config_core_v3_SocketOption**)_upb_array_resize_accessor2(msg, UPB_SIZE(104, 192), len, UPB_SIZE(2, 3), arena);
|
315
325
|
}
|
316
326
|
UPB_INLINE struct envoy_config_core_v3_SocketOption* envoy_config_listener_v3_Listener_add_socket_options(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
317
327
|
struct envoy_config_core_v3_SocketOption* sub = (struct envoy_config_core_v3_SocketOption*)_upb_msg_new(&envoy_config_core_v3_SocketOption_msginit, arena);
|
318
328
|
bool ok = _upb_array_append_accessor2(
|
319
|
-
msg, UPB_SIZE(
|
329
|
+
msg, UPB_SIZE(104, 192), UPB_SIZE(2, 3), &sub, arena);
|
320
330
|
if (!ok) return NULL;
|
321
331
|
return sub;
|
322
332
|
}
|
323
333
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_listener_filters_timeout(envoy_config_listener_v3_Listener *msg, struct google_protobuf_Duration* value) {
|
324
334
|
_upb_sethas(msg, 9);
|
325
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
335
|
+
*UPB_PTR_AT(msg, UPB_SIZE(64, 112), struct google_protobuf_Duration*) = value;
|
326
336
|
}
|
327
337
|
UPB_INLINE struct google_protobuf_Duration* envoy_config_listener_v3_Listener_mutable_listener_filters_timeout(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
328
338
|
struct google_protobuf_Duration* sub = (struct google_protobuf_Duration*)envoy_config_listener_v3_Listener_listener_filters_timeout(msg);
|
@@ -341,7 +351,7 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_continue_on_listener_filte
|
|
341
351
|
}
|
342
352
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_udp_listener_config(envoy_config_listener_v3_Listener *msg, struct envoy_config_listener_v3_UdpListenerConfig* value) {
|
343
353
|
_upb_sethas(msg, 10);
|
344
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
354
|
+
*UPB_PTR_AT(msg, UPB_SIZE(68, 120), struct envoy_config_listener_v3_UdpListenerConfig*) = value;
|
345
355
|
}
|
346
356
|
UPB_INLINE struct envoy_config_listener_v3_UdpListenerConfig* envoy_config_listener_v3_Listener_mutable_udp_listener_config(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
347
357
|
struct envoy_config_listener_v3_UdpListenerConfig* sub = (struct envoy_config_listener_v3_UdpListenerConfig*)envoy_config_listener_v3_Listener_udp_listener_config(msg);
|
@@ -354,7 +364,7 @@ UPB_INLINE struct envoy_config_listener_v3_UdpListenerConfig* envoy_config_liste
|
|
354
364
|
}
|
355
365
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_api_listener(envoy_config_listener_v3_Listener *msg, struct envoy_config_listener_v3_ApiListener* value) {
|
356
366
|
_upb_sethas(msg, 11);
|
357
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
367
|
+
*UPB_PTR_AT(msg, UPB_SIZE(72, 128), struct envoy_config_listener_v3_ApiListener*) = value;
|
358
368
|
}
|
359
369
|
UPB_INLINE struct envoy_config_listener_v3_ApiListener* envoy_config_listener_v3_Listener_mutable_api_listener(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
360
370
|
struct envoy_config_listener_v3_ApiListener* sub = (struct envoy_config_listener_v3_ApiListener*)envoy_config_listener_v3_Listener_api_listener(msg);
|
@@ -367,7 +377,7 @@ UPB_INLINE struct envoy_config_listener_v3_ApiListener* envoy_config_listener_v3
|
|
367
377
|
}
|
368
378
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_connection_balance_config(envoy_config_listener_v3_Listener *msg, envoy_config_listener_v3_Listener_ConnectionBalanceConfig* value) {
|
369
379
|
_upb_sethas(msg, 12);
|
370
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
380
|
+
*UPB_PTR_AT(msg, UPB_SIZE(76, 136), envoy_config_listener_v3_Listener_ConnectionBalanceConfig*) = value;
|
371
381
|
}
|
372
382
|
UPB_INLINE struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig* envoy_config_listener_v3_Listener_mutable_connection_balance_config(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
373
383
|
struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig* sub = (struct envoy_config_listener_v3_Listener_ConnectionBalanceConfig*)envoy_config_listener_v3_Listener_connection_balance_config(msg);
|
@@ -382,34 +392,21 @@ UPB_INLINE void envoy_config_listener_v3_Listener_set_reuse_port(envoy_config_li
|
|
382
392
|
*UPB_PTR_AT(msg, UPB_SIZE(13, 13), bool) = value;
|
383
393
|
}
|
384
394
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_listener_v3_Listener_mutable_access_log(envoy_config_listener_v3_Listener *msg, size_t *len) {
|
385
|
-
return (struct envoy_config_accesslog_v3_AccessLog**)_upb_array_mutable_accessor(msg, UPB_SIZE(
|
395
|
+
return (struct envoy_config_accesslog_v3_AccessLog**)_upb_array_mutable_accessor(msg, UPB_SIZE(108, 200), len);
|
386
396
|
}
|
387
397
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog** envoy_config_listener_v3_Listener_resize_access_log(envoy_config_listener_v3_Listener *msg, size_t len, upb_arena *arena) {
|
388
|
-
return (struct envoy_config_accesslog_v3_AccessLog**)_upb_array_resize_accessor2(msg, UPB_SIZE(
|
398
|
+
return (struct envoy_config_accesslog_v3_AccessLog**)_upb_array_resize_accessor2(msg, UPB_SIZE(108, 200), len, UPB_SIZE(2, 3), arena);
|
389
399
|
}
|
390
400
|
UPB_INLINE struct envoy_config_accesslog_v3_AccessLog* envoy_config_listener_v3_Listener_add_access_log(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
391
401
|
struct envoy_config_accesslog_v3_AccessLog* sub = (struct envoy_config_accesslog_v3_AccessLog*)_upb_msg_new(&envoy_config_accesslog_v3_AccessLog_msginit, arena);
|
392
402
|
bool ok = _upb_array_append_accessor2(
|
393
|
-
msg, UPB_SIZE(
|
403
|
+
msg, UPB_SIZE(108, 200), UPB_SIZE(2, 3), &sub, arena);
|
394
404
|
if (!ok) return NULL;
|
395
405
|
return sub;
|
396
406
|
}
|
397
|
-
UPB_INLINE void envoy_config_listener_v3_Listener_set_udp_writer_config(envoy_config_listener_v3_Listener *msg, struct envoy_config_core_v3_TypedExtensionConfig* value) {
|
398
|
-
_upb_sethas(msg, 13);
|
399
|
-
*UPB_PTR_AT(msg, UPB_SIZE(72, 128), struct envoy_config_core_v3_TypedExtensionConfig*) = value;
|
400
|
-
}
|
401
|
-
UPB_INLINE struct envoy_config_core_v3_TypedExtensionConfig* envoy_config_listener_v3_Listener_mutable_udp_writer_config(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
402
|
-
struct envoy_config_core_v3_TypedExtensionConfig* sub = (struct envoy_config_core_v3_TypedExtensionConfig*)envoy_config_listener_v3_Listener_udp_writer_config(msg);
|
403
|
-
if (sub == NULL) {
|
404
|
-
sub = (struct envoy_config_core_v3_TypedExtensionConfig*)_upb_msg_new(&envoy_config_core_v3_TypedExtensionConfig_msginit, arena);
|
405
|
-
if (!sub) return NULL;
|
406
|
-
envoy_config_listener_v3_Listener_set_udp_writer_config(msg, sub);
|
407
|
-
}
|
408
|
-
return sub;
|
409
|
-
}
|
410
407
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_tcp_backlog_size(envoy_config_listener_v3_Listener *msg, struct google_protobuf_UInt32Value* value) {
|
411
|
-
_upb_sethas(msg,
|
412
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
408
|
+
_upb_sethas(msg, 13);
|
409
|
+
*UPB_PTR_AT(msg, UPB_SIZE(80, 144), struct google_protobuf_UInt32Value*) = value;
|
413
410
|
}
|
414
411
|
UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener_mutable_tcp_backlog_size(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
415
412
|
struct google_protobuf_UInt32Value* sub = (struct google_protobuf_UInt32Value*)envoy_config_listener_v3_Listener_tcp_backlog_size(msg);
|
@@ -421,8 +418,8 @@ UPB_INLINE struct google_protobuf_UInt32Value* envoy_config_listener_v3_Listener
|
|
421
418
|
return sub;
|
422
419
|
}
|
423
420
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_default_filter_chain(envoy_config_listener_v3_Listener *msg, struct envoy_config_listener_v3_FilterChain* value) {
|
424
|
-
_upb_sethas(msg,
|
425
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
421
|
+
_upb_sethas(msg, 14);
|
422
|
+
*UPB_PTR_AT(msg, UPB_SIZE(84, 152), struct envoy_config_listener_v3_FilterChain*) = value;
|
426
423
|
}
|
427
424
|
UPB_INLINE struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3_Listener_mutable_default_filter_chain(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
428
425
|
struct envoy_config_listener_v3_FilterChain* sub = (struct envoy_config_listener_v3_FilterChain*)envoy_config_listener_v3_Listener_default_filter_chain(msg);
|
@@ -434,8 +431,8 @@ UPB_INLINE struct envoy_config_listener_v3_FilterChain* envoy_config_listener_v3
|
|
434
431
|
return sub;
|
435
432
|
}
|
436
433
|
UPB_INLINE void envoy_config_listener_v3_Listener_set_bind_to_port(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) {
|
437
|
-
_upb_sethas(msg,
|
438
|
-
*UPB_PTR_AT(msg, UPB_SIZE(
|
434
|
+
_upb_sethas(msg, 15);
|
435
|
+
*UPB_PTR_AT(msg, UPB_SIZE(88, 160), struct google_protobuf_BoolValue*) = value;
|
439
436
|
}
|
440
437
|
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_bind_to_port(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
441
438
|
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_bind_to_port(msg);
|
@@ -446,6 +443,34 @@ UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_m
|
|
446
443
|
}
|
447
444
|
return sub;
|
448
445
|
}
|
446
|
+
UPB_INLINE void envoy_config_listener_v3_Listener_set_internal_listener(envoy_config_listener_v3_Listener *msg, envoy_config_listener_v3_Listener_InternalListenerConfig* value) {
|
447
|
+
UPB_WRITE_ONEOF(msg, envoy_config_listener_v3_Listener_InternalListenerConfig*, UPB_SIZE(112, 208), value, UPB_SIZE(116, 216), 27);
|
448
|
+
}
|
449
|
+
UPB_INLINE struct envoy_config_listener_v3_Listener_InternalListenerConfig* envoy_config_listener_v3_Listener_mutable_internal_listener(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
450
|
+
struct envoy_config_listener_v3_Listener_InternalListenerConfig* sub = (struct envoy_config_listener_v3_Listener_InternalListenerConfig*)envoy_config_listener_v3_Listener_internal_listener(msg);
|
451
|
+
if (sub == NULL) {
|
452
|
+
sub = (struct envoy_config_listener_v3_Listener_InternalListenerConfig*)_upb_msg_new(&envoy_config_listener_v3_Listener_InternalListenerConfig_msginit, arena);
|
453
|
+
if (!sub) return NULL;
|
454
|
+
envoy_config_listener_v3_Listener_set_internal_listener(msg, sub);
|
455
|
+
}
|
456
|
+
return sub;
|
457
|
+
}
|
458
|
+
UPB_INLINE void envoy_config_listener_v3_Listener_set_stat_prefix(envoy_config_listener_v3_Listener *msg, upb_strview value) {
|
459
|
+
*UPB_PTR_AT(msg, UPB_SIZE(24, 32), upb_strview) = value;
|
460
|
+
}
|
461
|
+
UPB_INLINE void envoy_config_listener_v3_Listener_set_enable_reuse_port(envoy_config_listener_v3_Listener *msg, struct google_protobuf_BoolValue* value) {
|
462
|
+
_upb_sethas(msg, 16);
|
463
|
+
*UPB_PTR_AT(msg, UPB_SIZE(92, 168), struct google_protobuf_BoolValue*) = value;
|
464
|
+
}
|
465
|
+
UPB_INLINE struct google_protobuf_BoolValue* envoy_config_listener_v3_Listener_mutable_enable_reuse_port(envoy_config_listener_v3_Listener *msg, upb_arena *arena) {
|
466
|
+
struct google_protobuf_BoolValue* sub = (struct google_protobuf_BoolValue*)envoy_config_listener_v3_Listener_enable_reuse_port(msg);
|
467
|
+
if (sub == NULL) {
|
468
|
+
sub = (struct google_protobuf_BoolValue*)_upb_msg_new(&google_protobuf_BoolValue_msginit, arena);
|
469
|
+
if (!sub) return NULL;
|
470
|
+
envoy_config_listener_v3_Listener_set_enable_reuse_port(msg, sub);
|
471
|
+
}
|
472
|
+
return sub;
|
473
|
+
}
|
449
474
|
|
450
475
|
/* envoy.config.listener.v3.Listener.DeprecatedV1 */
|
451
476
|
|
@@ -548,6 +573,28 @@ UPB_INLINE char *envoy_config_listener_v3_Listener_ConnectionBalanceConfig_Exact
|
|
548
573
|
|
549
574
|
|
550
575
|
|
576
|
+
/* envoy.config.listener.v3.Listener.InternalListenerConfig */
|
577
|
+
|
578
|
+
UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig *envoy_config_listener_v3_Listener_InternalListenerConfig_new(upb_arena *arena) {
|
579
|
+
return (envoy_config_listener_v3_Listener_InternalListenerConfig *)_upb_msg_new(&envoy_config_listener_v3_Listener_InternalListenerConfig_msginit, arena);
|
580
|
+
}
|
581
|
+
UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig *envoy_config_listener_v3_Listener_InternalListenerConfig_parse(const char *buf, size_t size,
|
582
|
+
upb_arena *arena) {
|
583
|
+
envoy_config_listener_v3_Listener_InternalListenerConfig *ret = envoy_config_listener_v3_Listener_InternalListenerConfig_new(arena);
|
584
|
+
return (ret && upb_decode(buf, size, ret, &envoy_config_listener_v3_Listener_InternalListenerConfig_msginit, arena)) ? ret : NULL;
|
585
|
+
}
|
586
|
+
UPB_INLINE envoy_config_listener_v3_Listener_InternalListenerConfig *envoy_config_listener_v3_Listener_InternalListenerConfig_parse_ex(const char *buf, size_t size,
|
587
|
+
upb_arena *arena, int options) {
|
588
|
+
envoy_config_listener_v3_Listener_InternalListenerConfig *ret = envoy_config_listener_v3_Listener_InternalListenerConfig_new(arena);
|
589
|
+
return (ret && _upb_decode(buf, size, ret, &envoy_config_listener_v3_Listener_InternalListenerConfig_msginit, arena, options))
|
590
|
+
? ret : NULL;
|
591
|
+
}
|
592
|
+
UPB_INLINE char *envoy_config_listener_v3_Listener_InternalListenerConfig_serialize(const envoy_config_listener_v3_Listener_InternalListenerConfig *msg, upb_arena *arena, size_t *len) {
|
593
|
+
return upb_encode(msg, &envoy_config_listener_v3_Listener_InternalListenerConfig_msginit, arena, len);
|
594
|
+
}
|
595
|
+
|
596
|
+
|
597
|
+
|
551
598
|
#ifdef __cplusplus
|
552
599
|
} /* extern "C" */
|
553
600
|
#endif
|