• 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/core/v3/config_source.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/config_source.upb.h"
12 #include "envoy/config/core/v3/grpc_service.upb.h"
13 #include "google/protobuf/duration.upb.h"
14 #include "google/protobuf/wrappers.upb.h"
15 #include "udpa/core/v1/authority.upb.h"
16 #include "envoy/annotations/deprecation.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_core_v3_ApiConfigSource_submsgs[3] = {
24   &envoy_config_core_v3_GrpcService_msginit,
25   &envoy_config_core_v3_RateLimitSettings_msginit,
26   &google_protobuf_Duration_msginit,
27 };
28 
29 static const upb_msglayout_field envoy_config_core_v3_ApiConfigSource__fields[8] = {
30   {1, UPB_SIZE(4, 4), 0, 0, 14, 1},
31   {2, UPB_SIZE(28, 40), 0, 0, 9, 3},
32   {3, UPB_SIZE(16, 16), 1, 2, 11, 1},
33   {4, UPB_SIZE(32, 48), 0, 0, 11, 3},
34   {5, UPB_SIZE(20, 24), 2, 2, 11, 1},
35   {6, UPB_SIZE(24, 32), 3, 1, 11, 1},
36   {7, UPB_SIZE(12, 12), 0, 0, 8, 1},
37   {8, UPB_SIZE(8, 8), 0, 0, 14, 1},
38 };
39 
40 const upb_msglayout envoy_config_core_v3_ApiConfigSource_msginit = {
41   &envoy_config_core_v3_ApiConfigSource_submsgs[0],
42   &envoy_config_core_v3_ApiConfigSource__fields[0],
43   UPB_SIZE(40, 56), 8, false, 255,
44 };
45 
46 const upb_msglayout envoy_config_core_v3_AggregatedConfigSource_msginit = {
47   NULL,
48   NULL,
49   UPB_SIZE(0, 0), 0, false, 255,
50 };
51 
52 static const upb_msglayout_field envoy_config_core_v3_SelfConfigSource__fields[1] = {
53   {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
54 };
55 
56 const upb_msglayout envoy_config_core_v3_SelfConfigSource_msginit = {
57   NULL,
58   &envoy_config_core_v3_SelfConfigSource__fields[0],
59   UPB_SIZE(8, 8), 1, false, 255,
60 };
61 
62 static const upb_msglayout *const envoy_config_core_v3_RateLimitSettings_submsgs[2] = {
63   &google_protobuf_DoubleValue_msginit,
64   &google_protobuf_UInt32Value_msginit,
65 };
66 
67 static const upb_msglayout_field envoy_config_core_v3_RateLimitSettings__fields[2] = {
68   {1, UPB_SIZE(4, 8), 1, 1, 11, 1},
69   {2, UPB_SIZE(8, 16), 2, 0, 11, 1},
70 };
71 
72 const upb_msglayout envoy_config_core_v3_RateLimitSettings_msginit = {
73   &envoy_config_core_v3_RateLimitSettings_submsgs[0],
74   &envoy_config_core_v3_RateLimitSettings__fields[0],
75   UPB_SIZE(16, 24), 2, false, 255,
76 };
77 
78 static const upb_msglayout *const envoy_config_core_v3_ConfigSource_submsgs[5] = {
79   &envoy_config_core_v3_AggregatedConfigSource_msginit,
80   &envoy_config_core_v3_ApiConfigSource_msginit,
81   &envoy_config_core_v3_SelfConfigSource_msginit,
82   &google_protobuf_Duration_msginit,
83   &udpa_core_v1_Authority_msginit,
84 };
85 
86 static const upb_msglayout_field envoy_config_core_v3_ConfigSource__fields[7] = {
87   {1, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 0, 9, 1},
88   {2, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 1, 11, 1},
89   {3, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 0, 11, 1},
90   {4, UPB_SIZE(8, 8), 1, 3, 11, 1},
91   {5, UPB_SIZE(16, 24), UPB_SIZE(-25, -41), 2, 11, 1},
92   {6, UPB_SIZE(4, 4), 0, 0, 14, 1},
93   {7, UPB_SIZE(12, 16), 0, 4, 11, 3},
94 };
95 
96 const upb_msglayout envoy_config_core_v3_ConfigSource_msginit = {
97   &envoy_config_core_v3_ConfigSource_submsgs[0],
98   &envoy_config_core_v3_ConfigSource__fields[0],
99   UPB_SIZE(32, 48), 7, false, 255,
100 };
101 
102 #include "upb/port_undef.inc"
103 
104