• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/api/v2/core/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/api/v2/core/config_source.upb.h"
12 #include "envoy/api/v2/core/grpc_service.upb.h"
13 #include "google/protobuf/duration.upb.h"
14 #include "google/protobuf/wrappers.upb.h"
15 #include "envoy/annotations/deprecation.upb.h"
16 #include "udpa/annotations/migrate.upb.h"
17 #include "udpa/annotations/status.upb.h"
18 #include "validate/validate.upb.h"
19 
20 #include "upb/port_def.inc"
21 
22 static const upb_msglayout *const envoy_api_v2_core_ApiConfigSource_submsgs[4] = {
23   &envoy_api_v2_core_GrpcService_msginit,
24   &envoy_api_v2_core_RateLimitSettings_msginit,
25   &google_protobuf_Duration_msginit,
26 };
27 
28 static const upb_msglayout_field envoy_api_v2_core_ApiConfigSource__fields[8] = {
29   {1, UPB_SIZE(0, 0), 0, 0, 14, 1},
30   {2, UPB_SIZE(32, 48), 0, 0, 9, 3},
31   {3, UPB_SIZE(20, 24), 0, 2, 11, 1},
32   {4, UPB_SIZE(36, 56), 0, 0, 11, 3},
33   {5, UPB_SIZE(24, 32), 0, 2, 11, 1},
34   {6, UPB_SIZE(28, 40), 0, 1, 11, 1},
35   {7, UPB_SIZE(16, 16), 0, 0, 8, 1},
36   {8, UPB_SIZE(8, 8), 0, 0, 14, 1},
37 };
38 
39 const upb_msglayout envoy_api_v2_core_ApiConfigSource_msginit = {
40   &envoy_api_v2_core_ApiConfigSource_submsgs[0],
41   &envoy_api_v2_core_ApiConfigSource__fields[0],
42   UPB_SIZE(40, 64), 8, false,
43 };
44 
45 const upb_msglayout envoy_api_v2_core_AggregatedConfigSource_msginit = {
46   NULL,
47   NULL,
48   UPB_SIZE(0, 0), 0, false,
49 };
50 
51 const upb_msglayout envoy_api_v2_core_SelfConfigSource_msginit = {
52   NULL,
53   NULL,
54   UPB_SIZE(0, 0), 0, false,
55 };
56 
57 static const upb_msglayout *const envoy_api_v2_core_RateLimitSettings_submsgs[2] = {
58   &google_protobuf_DoubleValue_msginit,
59   &google_protobuf_UInt32Value_msginit,
60 };
61 
62 static const upb_msglayout_field envoy_api_v2_core_RateLimitSettings__fields[2] = {
63   {1, UPB_SIZE(0, 0), 0, 1, 11, 1},
64   {2, UPB_SIZE(4, 8), 0, 0, 11, 1},
65 };
66 
67 const upb_msglayout envoy_api_v2_core_RateLimitSettings_msginit = {
68   &envoy_api_v2_core_RateLimitSettings_submsgs[0],
69   &envoy_api_v2_core_RateLimitSettings__fields[0],
70   UPB_SIZE(8, 16), 2, false,
71 };
72 
73 static const upb_msglayout *const envoy_api_v2_core_ConfigSource_submsgs[4] = {
74   &envoy_api_v2_core_AggregatedConfigSource_msginit,
75   &envoy_api_v2_core_ApiConfigSource_msginit,
76   &envoy_api_v2_core_SelfConfigSource_msginit,
77   &google_protobuf_Duration_msginit,
78 };
79 
80 static const upb_msglayout_field envoy_api_v2_core_ConfigSource__fields[6] = {
81   {1, UPB_SIZE(12, 16), UPB_SIZE(-21, -33), 0, 9, 1},
82   {2, UPB_SIZE(12, 16), UPB_SIZE(-21, -33), 1, 11, 1},
83   {3, UPB_SIZE(12, 16), UPB_SIZE(-21, -33), 0, 11, 1},
84   {4, UPB_SIZE(8, 8), 0, 3, 11, 1},
85   {5, UPB_SIZE(12, 16), UPB_SIZE(-21, -33), 2, 11, 1},
86   {6, UPB_SIZE(0, 0), 0, 0, 14, 1},
87 };
88 
89 const upb_msglayout envoy_api_v2_core_ConfigSource_msginit = {
90   &envoy_api_v2_core_ConfigSource_submsgs[0],
91   &envoy_api_v2_core_ConfigSource__fields[0],
92   UPB_SIZE(24, 48), 6, false,
93 };
94 
95 #include "upb/port_undef.inc"
96 
97