• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/config/endpoint/v3/endpoint_components.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/endpoint/v3/endpoint_components.upb.h"
12 #include "envoy/config/core/v3/address.upb.h"
13 #include "envoy/config/core/v3/base.upb.h"
14 #include "envoy/config/core/v3/health_check.upb.h"
15 #include "google/protobuf/wrappers.upb.h"
16 #include "udpa/annotations/status.upb.h"
17 #include "udpa/annotations/versioning.upb.h"
18 #include "validate/validate.upb.h"
19 
20 #include "upb/port_def.inc"
21 
22 static const upb_msglayout *const envoy_config_endpoint_v3_Endpoint_submsgs[2] = {
23   &envoy_config_core_v3_Address_msginit,
24   &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msginit,
25 };
26 
27 static const upb_msglayout_field envoy_config_endpoint_v3_Endpoint__fields[3] = {
28   {1, UPB_SIZE(12, 24), 1, 0, 11, 1},
29   {2, UPB_SIZE(16, 32), 2, 1, 11, 1},
30   {3, UPB_SIZE(4, 8), 0, 0, 9, 1},
31 };
32 
33 const upb_msglayout envoy_config_endpoint_v3_Endpoint_msginit = {
34   &envoy_config_endpoint_v3_Endpoint_submsgs[0],
35   &envoy_config_endpoint_v3_Endpoint__fields[0],
36   UPB_SIZE(24, 48), 3, false, 255,
37 };
38 
39 static const upb_msglayout_field envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[2] = {
40   {1, UPB_SIZE(0, 0), 0, 0, 13, 1},
41   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
42 };
43 
44 const upb_msglayout envoy_config_endpoint_v3_Endpoint_HealthCheckConfig_msginit = {
45   NULL,
46   &envoy_config_endpoint_v3_Endpoint_HealthCheckConfig__fields[0],
47   UPB_SIZE(16, 32), 2, false, 255,
48 };
49 
50 static const upb_msglayout *const envoy_config_endpoint_v3_LbEndpoint_submsgs[3] = {
51   &envoy_config_core_v3_Metadata_msginit,
52   &envoy_config_endpoint_v3_Endpoint_msginit,
53   &google_protobuf_UInt32Value_msginit,
54 };
55 
56 static const upb_msglayout_field envoy_config_endpoint_v3_LbEndpoint__fields[5] = {
57   {1, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 1, 11, 1},
58   {2, UPB_SIZE(4, 4), 0, 0, 14, 1},
59   {3, UPB_SIZE(8, 8), 1, 0, 11, 1},
60   {4, UPB_SIZE(12, 16), 2, 2, 11, 1},
61   {5, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 0, 9, 1},
62 };
63 
64 const upb_msglayout envoy_config_endpoint_v3_LbEndpoint_msginit = {
65   &envoy_config_endpoint_v3_LbEndpoint_submsgs[0],
66   &envoy_config_endpoint_v3_LbEndpoint__fields[0],
67   UPB_SIZE(32, 48), 5, false, 255,
68 };
69 
70 static const upb_msglayout *const envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[3] = {
71   &envoy_config_core_v3_Locality_msginit,
72   &envoy_config_endpoint_v3_LbEndpoint_msginit,
73   &google_protobuf_UInt32Value_msginit,
74 };
75 
76 static const upb_msglayout_field envoy_config_endpoint_v3_LocalityLbEndpoints__fields[5] = {
77   {1, UPB_SIZE(8, 8), 1, 0, 11, 1},
78   {2, UPB_SIZE(20, 32), 0, 1, 11, 3},
79   {3, UPB_SIZE(12, 16), 2, 2, 11, 1},
80   {5, UPB_SIZE(4, 4), 0, 0, 13, 1},
81   {6, UPB_SIZE(16, 24), 3, 2, 11, 1},
82 };
83 
84 const upb_msglayout envoy_config_endpoint_v3_LocalityLbEndpoints_msginit = {
85   &envoy_config_endpoint_v3_LocalityLbEndpoints_submsgs[0],
86   &envoy_config_endpoint_v3_LocalityLbEndpoints__fields[0],
87   UPB_SIZE(24, 40), 5, false, 255,
88 };
89 
90 #include "upb/port_undef.inc"
91 
92