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/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" 18 19 #include "upb/port_def.inc" 20 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, 24 }; 25 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}, 33 }; 34 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, 39 }; 40 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, 44 }; 45 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}, 53 }; 54 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, 59 }; 60 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, 65 }; 66 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}, 75 }; 76 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, 81 }; 82 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}, 86 }; 87 88 const upb_msglayout envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry_msginit = { 89 NULL, 90 &envoy_service_discovery_v3_DeltaDiscoveryRequest_InitialResourceVersionsEntry__fields[0], 91 UPB_SIZE(16, 32), 2, false, 255, 92 }; 93 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, 97 }; 98 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}, 106 }; 107 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, 112 }; 113 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, 118 }; 119 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}, 127 }; 128 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, 133 }; 134 135 static const upb_msglayout_field envoy_service_discovery_v3_Resource_CacheControl__fields[1] = { 136 {1, UPB_SIZE(0, 0), 0, 0, 8, 1}, 137 }; 138 139 const upb_msglayout envoy_service_discovery_v3_Resource_CacheControl_msginit = { 140 NULL, 141 &envoy_service_discovery_v3_Resource_CacheControl__fields[0], 142 UPB_SIZE(8, 8), 1, false, 255, 143 }; 144 145 #include "upb/port_undef.inc" 146 147