• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upbc (the upb compiler) from the input
2  * file:
3  *
4  *     envoy/service/discovery/v3/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/service/discovery/v3/discovery.upb.h"
12 #include "envoy/config/core/v3/base.upb.h"
13 #include "google/protobuf/any.upb.h"
14 #include "google/rpc/status.upb.h"
15 #include "udpa/core/v1/resource_locator.upb.h"
16 #include "udpa/core/v1/resource_name.upb.h"
17 #include "udpa/annotations/migrate.upb.h"
18 #include "udpa/annotations/status.upb.h"
19 #include "udpa/annotations/versioning.upb.h"
20 
21 #include "upb/port_def.inc"
22 
23 static const upb_msglayout *const envoy_service_discovery_v3_DiscoveryRequest_submsgs[2] = {
24   &envoy_config_core_v3_Node_msginit,
25   &google_rpc_Status_msginit,
26 };
27 
28 static const upb_msglayout_field envoy_service_discovery_v3_DiscoveryRequest__fields[6] = {
29   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
30   {2, UPB_SIZE(28, 56), 1, 0, 11, 1},
31   {3, UPB_SIZE(36, 72), 0, 0, 9, 3},
32   {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
33   {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
34   {6, UPB_SIZE(32, 64), 2, 1, 11, 1},
35 };
36 
37 const upb_msglayout envoy_service_discovery_v3_DiscoveryRequest_msginit = {
38   &envoy_service_discovery_v3_DiscoveryRequest_submsgs[0],
39   &envoy_service_discovery_v3_DiscoveryRequest__fields[0],
40   UPB_SIZE(40, 80), 6, false, 255,
41 };
42 
43 static const upb_msglayout *const envoy_service_discovery_v3_DiscoveryResponse_submsgs[2] = {
44   &envoy_config_core_v3_ControlPlane_msginit,
45   &google_protobuf_Any_msginit,
46 };
47 
48 static const upb_msglayout_field envoy_service_discovery_v3_DiscoveryResponse__fields[6] = {
49   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
50   {2, UPB_SIZE(32, 64), 0, 1, 11, 3},
51   {3, UPB_SIZE(1, 1), 0, 0, 8, 1},
52   {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
53   {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
54   {6, UPB_SIZE(28, 56), 1, 0, 11, 1},
55 };
56 
57 const upb_msglayout envoy_service_discovery_v3_DiscoveryResponse_msginit = {
58   &envoy_service_discovery_v3_DiscoveryResponse_submsgs[0],
59   &envoy_service_discovery_v3_DiscoveryResponse__fields[0],
60   UPB_SIZE(40, 80), 6, false, 255,
61 };
62 
63 static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[4] = {
64   &envoy_config_core_v3_Node_msginit,
65   &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit,
66   &google_rpc_Status_msginit,
67   &udpa_core_v1_ResourceLocator_msginit,
68 };
69 
70 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[9] = {
71   {1, UPB_SIZE(20, 40), 1, 0, 11, 1},
72   {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
73   {3, UPB_SIZE(28, 56), 0, 0, 9, 3},
74   {4, UPB_SIZE(32, 64), 0, 0, 9, 3},
75   {5, UPB_SIZE(36, 72), 0, 1, 11, _UPB_LABEL_MAP},
76   {6, UPB_SIZE(12, 24), 0, 0, 9, 1},
77   {7, UPB_SIZE(24, 48), 2, 2, 11, 1},
78   {8, UPB_SIZE(40, 80), 0, 3, 11, 3},
79   {9, UPB_SIZE(44, 88), 0, 3, 11, 3},
80 };
81 
82 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_msginit = {
83   &envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[0],
84   &envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[0],
85   UPB_SIZE(48, 96), 9, false, 255,
86 };
87 
88 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = {
89   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
90   {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
91 };
92 
93 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit = {
94   NULL,
95   &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0],
96   UPB_SIZE(16, 32), 2, false, 255,
97 };
98 
99 static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[2] = {
100   &envoy_service_discovery_v3_Resource_msginit,
101   &udpa_core_v1_ResourceName_msginit,
102 };
103 
104 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[6] = {
105   {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
106   {2, UPB_SIZE(24, 48), 0, 0, 11, 3},
107   {4, UPB_SIZE(8, 16), 0, 0, 9, 1},
108   {5, UPB_SIZE(16, 32), 0, 0, 9, 1},
109   {6, UPB_SIZE(28, 56), 0, 0, 9, 3},
110   {7, UPB_SIZE(32, 64), 0, 1, 11, 3},
111 };
112 
113 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryResponse_msginit = {
114   &envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[0],
115   &envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[0],
116   UPB_SIZE(40, 80), 6, false, 255,
117 };
118 
119 static const upb_msglayout *const envoy_service_discovery_v3_Resource_submsgs[2] = {
120   &google_protobuf_Any_msginit,
121   &udpa_core_v1_ResourceName_msginit,
122 };
123 
124 static const upb_msglayout_field envoy_service_discovery_v3_Resource__fields[5] = {
125   {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
126   {2, UPB_SIZE(20, 40), 1, 0, 11, 1},
127   {3, UPB_SIZE(12, 24), 0, 0, 9, 1},
128   {4, UPB_SIZE(28, 56), 0, 0, 9, 3},
129   {5, UPB_SIZE(24, 48), 2, 1, 11, 1},
130 };
131 
132 const upb_msglayout envoy_service_discovery_v3_Resource_msginit = {
133   &envoy_service_discovery_v3_Resource_submsgs[0],
134   &envoy_service_discovery_v3_Resource__fields[0],
135   UPB_SIZE(32, 64), 5, false, 255,
136 };
137 
138 #include "upb/port_undef.inc"
139 
140