• 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.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.upb.h"
12 #include "envoy/config/endpoint/v3/endpoint_components.upb.h"
13 #include "envoy/type/v3/percent.upb.h"
14 #include "google/api/annotations.upb.h"
15 #include "google/protobuf/duration.upb.h"
16 #include "google/protobuf/wrappers.upb.h"
17 #include "udpa/annotations/status.upb.h"
18 #include "udpa/annotations/versioning.upb.h"
19 #include "validate/validate.upb.h"
20 
21 #include "upb/port_def.inc"
22 
23 static const upb_msglayout *const envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[3] = {
24   &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msginit,
25   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msginit,
26   &envoy_config_endpoint_v3_LocalityLbEndpoints_msginit,
27 };
28 
29 static const upb_msglayout_field envoy_config_endpoint_v3_ClusterLoadAssignment__fields[4] = {
30   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
31   {2, UPB_SIZE(16, 32), 0, 2, 11, 3},
32   {4, UPB_SIZE(12, 24), 1, 1, 11, 1},
33   {5, UPB_SIZE(20, 40), 0, 0, 11, _UPB_LABEL_MAP},
34 };
35 
36 const upb_msglayout envoy_config_endpoint_v3_ClusterLoadAssignment_msginit = {
37   &envoy_config_endpoint_v3_ClusterLoadAssignment_submsgs[0],
38   &envoy_config_endpoint_v3_ClusterLoadAssignment__fields[0],
39   UPB_SIZE(24, 48), 4, false, 255,
40 };
41 
42 static const upb_msglayout *const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[3] = {
43   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msginit,
44   &google_protobuf_Duration_msginit,
45   &google_protobuf_UInt32Value_msginit,
46 };
47 
48 static const upb_msglayout_field envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[3] = {
49   {2, UPB_SIZE(12, 24), 0, 0, 11, 3},
50   {3, UPB_SIZE(4, 8), 1, 2, 11, 1},
51   {4, UPB_SIZE(8, 16), 2, 1, 11, 1},
52 };
53 
54 const upb_msglayout envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_msginit = {
55   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_submsgs[0],
56   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy__fields[0],
57   UPB_SIZE(16, 32), 3, false, 255,
58 };
59 
60 static const upb_msglayout *const envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[1] = {
61   &envoy_type_v3_FractionalPercent_msginit,
62 };
63 
64 static const upb_msglayout_field envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[2] = {
65   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
66   {2, UPB_SIZE(12, 24), 1, 0, 11, 1},
67 };
68 
69 const upb_msglayout envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_msginit = {
70   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload_submsgs[0],
71   &envoy_config_endpoint_v3_ClusterLoadAssignment_Policy_DropOverload__fields[0],
72   UPB_SIZE(16, 32), 2, false, 255,
73 };
74 
75 static const upb_msglayout *const envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[1] = {
76   &envoy_config_endpoint_v3_Endpoint_msginit,
77 };
78 
79 static const upb_msglayout_field envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[2] = {
80   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
81   {2, UPB_SIZE(8, 16), 0, 0, 11, 1},
82 };
83 
84 const upb_msglayout envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_msginit = {
85   &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry_submsgs[0],
86   &envoy_config_endpoint_v3_ClusterLoadAssignment_NamedEndpointsEntry__fields[0],
87   UPB_SIZE(16, 32), 2, false, 255,
88 };
89 
90 #include "upb/port_undef.inc"
91 
92