1 /* This file was generated by upbc (the upb compiler) from the input
4 * envoy/service/discovery/v3/discovery.proto
6 * Do not edit -- your changes will be discarded when the file is
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/protobuf/duration.upb.h"
15 #include "google/rpc/status.upb.h"
16 #include "udpa/annotations/status.upb.h"
17 #include "udpa/annotations/versioning.upb.h"
19 #include "upb/port_def.inc"
21 static const upb_msglayout *const envoy_service_discovery_v3_DiscoveryRequest_submsgs[2] = {
22 &envoy_config_core_v3_Node_msginit,
23 &google_rpc_Status_msginit,
26 static const upb_msglayout_field envoy_service_discovery_v3_DiscoveryRequest__fields[6] = {
27 {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
28 {2, UPB_SIZE(28, 56), 1, 0, 11, 1},
29 {3, UPB_SIZE(36, 72), 0, 0, 9, 3},
30 {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
31 {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
32 {6, UPB_SIZE(32, 64), 2, 1, 11, 1},
35 const upb_msglayout envoy_service_discovery_v3_DiscoveryRequest_msginit = {
36 &envoy_service_discovery_v3_DiscoveryRequest_submsgs[0],
37 &envoy_service_discovery_v3_DiscoveryRequest__fields[0],
38 UPB_SIZE(40, 80), 6, false, 255,
41 static const upb_msglayout *const envoy_service_discovery_v3_DiscoveryResponse_submsgs[2] = {
42 &envoy_config_core_v3_ControlPlane_msginit,
43 &google_protobuf_Any_msginit,
46 static const upb_msglayout_field envoy_service_discovery_v3_DiscoveryResponse__fields[6] = {
47 {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
48 {2, UPB_SIZE(32, 64), 0, 1, 11, 3},
49 {3, UPB_SIZE(1, 1), 0, 0, 8, 1},
50 {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
51 {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
52 {6, UPB_SIZE(28, 56), 1, 0, 11, 1},
55 const upb_msglayout envoy_service_discovery_v3_DiscoveryResponse_msginit = {
56 &envoy_service_discovery_v3_DiscoveryResponse_submsgs[0],
57 &envoy_service_discovery_v3_DiscoveryResponse__fields[0],
58 UPB_SIZE(40, 80), 6, false, 255,
61 static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[3] = {
62 &envoy_config_core_v3_Node_msginit,
63 &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit,
64 &google_rpc_Status_msginit,
67 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[7] = {
68 {1, UPB_SIZE(20, 40), 1, 0, 11, 1},
69 {2, UPB_SIZE(4, 8), 0, 0, 9, 1},
70 {3, UPB_SIZE(28, 56), 0, 0, 9, 3},
71 {4, UPB_SIZE(32, 64), 0, 0, 9, 3},
72 {5, UPB_SIZE(36, 72), 0, 1, 11, _UPB_LABEL_MAP},
73 {6, UPB_SIZE(12, 24), 0, 0, 9, 1},
74 {7, UPB_SIZE(24, 48), 2, 2, 11, 1},
77 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_msginit = {
78 &envoy_service_discovery_v3_DeltaDiscoveryRequest_submsgs[0],
79 &envoy_service_discovery_v3_DeltaDiscoveryRequest__fields[0],
80 UPB_SIZE(40, 80), 7, false, 255,
83 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[2] = {
84 {1, UPB_SIZE(0, 0), 0, 0, 9, 1},
85 {2, UPB_SIZE(8, 16), 0, 0, 9, 1},
88 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit = {
90 &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0],
91 UPB_SIZE(16, 32), 2, false, 255,
94 static const upb_msglayout *const envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[2] = {
95 &envoy_config_core_v3_ControlPlane_msginit,
96 &envoy_service_discovery_v3_Resource_msginit,
99 static const upb_msglayout_field envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[6] = {
100 {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
101 {2, UPB_SIZE(32, 64), 0, 1, 11, 3},
102 {4, UPB_SIZE(12, 24), 0, 0, 9, 1},
103 {5, UPB_SIZE(20, 40), 0, 0, 9, 1},
104 {6, UPB_SIZE(36, 72), 0, 0, 9, 3},
105 {7, UPB_SIZE(28, 56), 1, 0, 11, 1},
108 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryResponse_msginit = {
109 &envoy_service_discovery_v3_DeltaDiscoveryResponse_submsgs[0],
110 &envoy_service_discovery_v3_DeltaDiscoveryResponse__fields[0],
111 UPB_SIZE(40, 80), 6, false, 255,
114 static const upb_msglayout *const envoy_service_discovery_v3_Resource_submsgs[3] = {
115 &envoy_service_discovery_v3_Resource_CacheControl_msginit,
116 &google_protobuf_Any_msginit,
117 &google_protobuf_Duration_msginit,
120 static const upb_msglayout_field envoy_service_discovery_v3_Resource__fields[6] = {
121 {1, UPB_SIZE(4, 8), 0, 0, 9, 1},
122 {2, UPB_SIZE(20, 40), 1, 1, 11, 1},
123 {3, UPB_SIZE(12, 24), 0, 0, 9, 1},
124 {4, UPB_SIZE(32, 64), 0, 0, 9, 3},
125 {6, UPB_SIZE(24, 48), 2, 2, 11, 1},
126 {7, UPB_SIZE(28, 56), 3, 0, 11, 1},
129 const upb_msglayout envoy_service_discovery_v3_Resource_msginit = {
130 &envoy_service_discovery_v3_Resource_submsgs[0],
131 &envoy_service_discovery_v3_Resource__fields[0],
132 UPB_SIZE(40, 80), 6, false, 255,
135 static const upb_msglayout_field envoy_service_discovery_v3_Resource_CacheControl__fields[1] = {
136 {1, UPB_SIZE(0, 0), 0, 0, 8, 1},
139 const upb_msglayout envoy_service_discovery_v3_Resource_CacheControl_msginit = {
141 &envoy_service_discovery_v3_Resource_CacheControl__fields[0],
142 UPB_SIZE(8, 8), 1, false, 255,
145 #include "upb/port_undef.inc"