1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/api/v2/core/grpc_service.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/grpc_service.upb.h" 12 #include "envoy/api/v2/core/base.upb.h" 13 #include "google/protobuf/any.upb.h" 14 #include "google/protobuf/duration.upb.h" 15 #include "google/protobuf/empty.upb.h" 16 #include "google/protobuf/struct.upb.h" 17 #include "udpa/annotations/migrate.upb.h" 18 #include "udpa/annotations/sensitive.upb.h" 19 #include "udpa/annotations/status.upb.h" 20 #include "validate/validate.upb.h" 21 22 #include "upb/port_def.inc" 23 24 static const upb_msglayout *const envoy_api_v2_core_GrpcService_submsgs[4] = { 25 &envoy_api_v2_core_GrpcService_EnvoyGrpc_msginit, 26 &envoy_api_v2_core_GrpcService_GoogleGrpc_msginit, 27 &envoy_api_v2_core_HeaderValue_msginit, 28 &google_protobuf_Duration_msginit, 29 }; 30 31 static const upb_msglayout_field envoy_api_v2_core_GrpcService__fields[4] = { 32 {1, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 33 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 34 {3, UPB_SIZE(0, 0), 0, 3, 11, 1}, 35 {5, UPB_SIZE(4, 8), 0, 2, 11, 3}, 36 }; 37 38 const upb_msglayout envoy_api_v2_core_GrpcService_msginit = { 39 &envoy_api_v2_core_GrpcService_submsgs[0], 40 &envoy_api_v2_core_GrpcService__fields[0], 41 UPB_SIZE(16, 32), 4, false, 42 }; 43 44 static const upb_msglayout_field envoy_api_v2_core_GrpcService_EnvoyGrpc__fields[1] = { 45 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 46 }; 47 48 const upb_msglayout envoy_api_v2_core_GrpcService_EnvoyGrpc_msginit = { 49 NULL, 50 &envoy_api_v2_core_GrpcService_EnvoyGrpc__fields[0], 51 UPB_SIZE(8, 16), 1, false, 52 }; 53 54 static const upb_msglayout *const envoy_api_v2_core_GrpcService_GoogleGrpc_submsgs[3] = { 55 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_msginit, 56 &envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials_msginit, 57 &google_protobuf_Struct_msginit, 58 }; 59 60 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc__fields[6] = { 61 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 62 {2, UPB_SIZE(24, 48), 0, 1, 11, 1}, 63 {3, UPB_SIZE(32, 64), 0, 0, 11, 3}, 64 {4, UPB_SIZE(8, 16), 0, 0, 9, 1}, 65 {5, UPB_SIZE(16, 32), 0, 0, 9, 1}, 66 {6, UPB_SIZE(28, 56), 0, 2, 11, 1}, 67 }; 68 69 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_msginit = { 70 &envoy_api_v2_core_GrpcService_GoogleGrpc_submsgs[0], 71 &envoy_api_v2_core_GrpcService_GoogleGrpc__fields[0], 72 UPB_SIZE(40, 80), 6, false, 73 }; 74 75 static const upb_msglayout *const envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials_submsgs[3] = { 76 &envoy_api_v2_core_DataSource_msginit, 77 }; 78 79 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__fields[3] = { 80 {1, UPB_SIZE(0, 0), 0, 0, 11, 1}, 81 {2, UPB_SIZE(4, 8), 0, 0, 11, 1}, 82 {3, UPB_SIZE(8, 16), 0, 0, 11, 1}, 83 }; 84 85 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials_msginit = { 86 &envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials_submsgs[0], 87 &envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials__fields[0], 88 UPB_SIZE(12, 24), 3, false, 89 }; 90 91 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials_msginit = { 92 NULL, 93 NULL, 94 UPB_SIZE(0, 0), 0, false, 95 }; 96 97 static const upb_msglayout *const envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[3] = { 98 &envoy_api_v2_core_GrpcService_GoogleGrpc_GoogleLocalCredentials_msginit, 99 &envoy_api_v2_core_GrpcService_GoogleGrpc_SslCredentials_msginit, 100 &google_protobuf_Empty_msginit, 101 }; 102 103 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__fields[3] = { 104 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1}, 105 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1}, 106 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 107 }; 108 109 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials_msginit = { 110 &envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials_submsgs[0], 111 &envoy_api_v2_core_GrpcService_GoogleGrpc_ChannelCredentials__fields[0], 112 UPB_SIZE(8, 16), 3, false, 113 }; 114 115 static const upb_msglayout *const envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_submsgs[5] = { 116 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msginit, 117 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msginit, 118 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msginit, 119 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService_msginit, 120 &google_protobuf_Empty_msginit, 121 }; 122 123 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__fields[7] = { 124 {1, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 125 {2, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 4, 11, 1}, 126 {3, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 9, 1}, 127 {4, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 2, 11, 1}, 128 {5, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 0, 11, 1}, 129 {6, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 1, 11, 1}, 130 {7, UPB_SIZE(0, 0), UPB_SIZE(-9, -17), 3, 11, 1}, 131 }; 132 133 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_msginit = { 134 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_submsgs[0], 135 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials__fields[0], 136 UPB_SIZE(16, 32), 7, false, 137 }; 138 139 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[2] = { 140 {1, UPB_SIZE(8, 8), 0, 0, 9, 1}, 141 {2, UPB_SIZE(0, 0), 0, 0, 4, 1}, 142 }; 143 144 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials_msginit = { 145 NULL, 146 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_ServiceAccountJWTAccessCredentials__fields[0], 147 UPB_SIZE(16, 32), 2, false, 148 }; 149 150 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[2] = { 151 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 152 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 153 }; 154 155 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials_msginit = { 156 NULL, 157 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_GoogleIAMCredentials__fields[0], 158 UPB_SIZE(16, 32), 2, false, 159 }; 160 161 static const upb_msglayout *const envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[2] = { 162 &google_protobuf_Any_msginit, 163 &google_protobuf_Struct_msginit, 164 }; 165 166 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[3] = { 167 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 168 {2, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 1, 11, 1}, 169 {3, UPB_SIZE(8, 16), UPB_SIZE(-13, -25), 0, 11, 1}, 170 }; 171 172 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_msginit = { 173 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin_submsgs[0], 174 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_MetadataCredentialsFromPlugin__fields[0], 175 UPB_SIZE(16, 32), 3, false, 176 }; 177 178 static const upb_msglayout_field envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[9] = { 179 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 180 {2, UPB_SIZE(8, 16), 0, 0, 9, 1}, 181 {3, UPB_SIZE(16, 32), 0, 0, 9, 1}, 182 {4, UPB_SIZE(24, 48), 0, 0, 9, 1}, 183 {5, UPB_SIZE(32, 64), 0, 0, 9, 1}, 184 {6, UPB_SIZE(40, 80), 0, 0, 9, 1}, 185 {7, UPB_SIZE(48, 96), 0, 0, 9, 1}, 186 {8, UPB_SIZE(56, 112), 0, 0, 9, 1}, 187 {9, UPB_SIZE(64, 128), 0, 0, 9, 1}, 188 }; 189 190 const upb_msglayout envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService_msginit = { 191 NULL, 192 &envoy_api_v2_core_GrpcService_GoogleGrpc_CallCredentials_StsService__fields[0], 193 UPB_SIZE(72, 144), 9, false, 194 }; 195 196 #include "upb/port_undef.inc" 197 198