• 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/discovery.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/discovery.upb.h"
12 #include "envoy/api/v2/core/base.upb.h"
13 #include "google/protobuf/any.upb.h"
14 #include "google/rpc/status.upb.h"
15 #include "udpa/annotations/migrate.upb.h"
16 #include "udpa/annotations/status.upb.h"
17 
18 #include "upb/port_def.inc"
19 
20 static const upb_msglayout *const envoy_api_v2_DiscoveryRequest_submsgs[2] = {
21   &envoy_api_v2_core_Node_msginit,
22   &google_rpc_Status_msginit,
23 };
24 
25 static const upb_msglayout_field envoy_api_v2_DiscoveryRequest__fields[6] = {
26   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
27   {2, UPB_SIZE(24, 48), 0, 0, 11, 1},
28   {3, UPB_SIZE(32, 64), 0, 0, 9, 3},
29   {4, UPB_SIZE(8, 16), 0, 0, 9, 1},
30   {5, UPB_SIZE(16, 32), 0, 0, 9, 1},
31   {6, UPB_SIZE(28, 56), 0, 1, 11, 1},
32 };
33 
34 const upb_msglayout envoy_api_v2_DiscoveryRequest_msginit = {
35   &envoy_api_v2_DiscoveryRequest_submsgs[0],
36   &envoy_api_v2_DiscoveryRequest__fields[0],
37   UPB_SIZE(40, 80), 6, false,
38 };
39 
40 static const upb_msglayout *const envoy_api_v2_DiscoveryResponse_submsgs[2] = {
41   &envoy_api_v2_core_ControlPlane_msginit,
42   &google_protobuf_Any_msginit,
43 };
44 
45 static const upb_msglayout_field envoy_api_v2_DiscoveryResponse__fields[6] = {
46   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
47   {2, UPB_SIZE(32, 64), 0, 1, 11, 3},
48   {3, UPB_SIZE(0, 0), 0, 0, 8, 1},
49   {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
50   {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
51   {6, UPB_SIZE(28, 56), 0, 0, 11, 1},
52 };
53 
54 const upb_msglayout envoy_api_v2_DiscoveryResponse_msginit = {
55   &envoy_api_v2_DiscoveryResponse_submsgs[0],
56   &envoy_api_v2_DiscoveryResponse__fields[0],
57   UPB_SIZE(40, 80), 6, false,
58 };
59 
60 static const upb_msglayout *const envoy_api_v2_DeltaDiscoveryRequest_submsgs[3] = {
61   &envoy_api_v2_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit,
62   &envoy_api_v2_core_Node_msginit,
63   &google_rpc_Status_msginit,
64 };
65 
66 static const upb_msglayout_field envoy_api_v2_DeltaDiscoveryRequest__fields[7] = {
67   {1, UPB_SIZE(16, 32), 0, 1, 11, 1},
68   {2, UPB_SIZE(0, 0), 0, 0, 9, 1},
69   {3, UPB_SIZE(24, 48), 0, 0, 9, 3},
70   {4, UPB_SIZE(28, 56), 0, 0, 9, 3},
71   {5, UPB_SIZE(32, 64), 0, 0, 11, _UPB_LABEL_MAP},
72   {6, UPB_SIZE(8, 16), 0, 0, 9, 1},
73   {7, UPB_SIZE(20, 40), 0, 2, 11, 1},
74 };
75 
76 const upb_msglayout envoy_api_v2_DeltaDiscoveryRequest_msginit = {
77   &envoy_api_v2_DeltaDiscoveryRequest_submsgs[0],
78   &envoy_api_v2_DeltaDiscoveryRequest__fields[0],
79   UPB_SIZE(40, 80), 7, false,
80 };
81 
82 static const upb_msglayout_field envoy_api_v2_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = {
83   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
84   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
85 };
86 
87 const upb_msglayout envoy_api_v2_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit = {
88   NULL,
89   &envoy_api_v2_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0],
90   UPB_SIZE(16, 32), 2, false,
91 };
92 
93 static const upb_msglayout *const envoy_api_v2_DeltaDiscoveryResponse_submsgs[1] = {
94   &envoy_api_v2_Resource_msginit,
95 };
96 
97 static const upb_msglayout_field envoy_api_v2_DeltaDiscoveryResponse__fields[5] = {
98   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
99   {2, UPB_SIZE(24, 48), 0, 0, 11, 3},
100   {4, UPB_SIZE(8, 16), 0, 0, 9, 1},
101   {5, UPB_SIZE(16, 32), 0, 0, 9, 1},
102   {6, UPB_SIZE(28, 56), 0, 0, 9, 3},
103 };
104 
105 const upb_msglayout envoy_api_v2_DeltaDiscoveryResponse_msginit = {
106   &envoy_api_v2_DeltaDiscoveryResponse_submsgs[0],
107   &envoy_api_v2_DeltaDiscoveryResponse__fields[0],
108   UPB_SIZE(32, 64), 5, false,
109 };
110 
111 static const upb_msglayout *const envoy_api_v2_Resource_submsgs[1] = {
112   &google_protobuf_Any_msginit,
113 };
114 
115 static const upb_msglayout_field envoy_api_v2_Resource__fields[4] = {
116   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
117   {2, UPB_SIZE(16, 32), 0, 0, 11, 1},
118   {3, UPB_SIZE(8, 16), 0, 0, 9, 1},
119   {4, UPB_SIZE(20, 40), 0, 0, 9, 3},
120 };
121 
122 const upb_msglayout envoy_api_v2_Resource_msginit = {
123   &envoy_api_v2_Resource_submsgs[0],
124   &envoy_api_v2_Resource__fields[0],
125   UPB_SIZE(24, 48), 4, false,
126 };
127 
128 #include "upb/port_undef.inc"
129 
130