1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * src/proto/grpc/lb/v1/load_balancer.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 "src/proto/grpc/lb/v1/load_balancer.upb.h" 12 #include "google/protobuf/duration.upb.h" 13 #include "google/protobuf/timestamp.upb.h" 14 15 #include "upb/port_def.inc" 16 17 static const upb_msglayout *const grpc_lb_v1_LoadBalanceRequest_submsgs[2] = { 18 &grpc_lb_v1_ClientStats_msginit, 19 &grpc_lb_v1_InitialLoadBalanceRequest_msginit, 20 }; 21 22 static const upb_msglayout_field grpc_lb_v1_LoadBalanceRequest__fields[2] = { 23 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1}, 24 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 25 }; 26 27 const upb_msglayout grpc_lb_v1_LoadBalanceRequest_msginit = { 28 &grpc_lb_v1_LoadBalanceRequest_submsgs[0], 29 &grpc_lb_v1_LoadBalanceRequest__fields[0], 30 UPB_SIZE(8, 16), 2, false, 255, 31 }; 32 33 static const upb_msglayout_field grpc_lb_v1_InitialLoadBalanceRequest__fields[1] = { 34 {1, UPB_SIZE(0, 0), 0, 0, 9, 1}, 35 }; 36 37 const upb_msglayout grpc_lb_v1_InitialLoadBalanceRequest_msginit = { 38 NULL, 39 &grpc_lb_v1_InitialLoadBalanceRequest__fields[0], 40 UPB_SIZE(8, 16), 1, false, 255, 41 }; 42 43 static const upb_msglayout_field grpc_lb_v1_ClientStatsPerToken__fields[2] = { 44 {1, UPB_SIZE(8, 8), 0, 0, 9, 1}, 45 {2, UPB_SIZE(0, 0), 0, 0, 3, 1}, 46 }; 47 48 const upb_msglayout grpc_lb_v1_ClientStatsPerToken_msginit = { 49 NULL, 50 &grpc_lb_v1_ClientStatsPerToken__fields[0], 51 UPB_SIZE(16, 32), 2, false, 255, 52 }; 53 54 static const upb_msglayout *const grpc_lb_v1_ClientStats_submsgs[2] = { 55 &google_protobuf_Timestamp_msginit, 56 &grpc_lb_v1_ClientStatsPerToken_msginit, 57 }; 58 59 static const upb_msglayout_field grpc_lb_v1_ClientStats__fields[6] = { 60 {1, UPB_SIZE(40, 40), 1, 0, 11, 1}, 61 {2, UPB_SIZE(8, 8), 0, 0, 3, 1}, 62 {3, UPB_SIZE(16, 16), 0, 0, 3, 1}, 63 {6, UPB_SIZE(24, 24), 0, 0, 3, 1}, 64 {7, UPB_SIZE(32, 32), 0, 0, 3, 1}, 65 {8, UPB_SIZE(44, 48), 0, 1, 11, 3}, 66 }; 67 68 const upb_msglayout grpc_lb_v1_ClientStats_msginit = { 69 &grpc_lb_v1_ClientStats_submsgs[0], 70 &grpc_lb_v1_ClientStats__fields[0], 71 UPB_SIZE(48, 56), 6, false, 255, 72 }; 73 74 static const upb_msglayout *const grpc_lb_v1_LoadBalanceResponse_submsgs[3] = { 75 &grpc_lb_v1_FallbackResponse_msginit, 76 &grpc_lb_v1_InitialLoadBalanceResponse_msginit, 77 &grpc_lb_v1_ServerList_msginit, 78 }; 79 80 static const upb_msglayout_field grpc_lb_v1_LoadBalanceResponse__fields[3] = { 81 {1, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 1, 11, 1}, 82 {2, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 2, 11, 1}, 83 {3, UPB_SIZE(0, 0), UPB_SIZE(-5, -9), 0, 11, 1}, 84 }; 85 86 const upb_msglayout grpc_lb_v1_LoadBalanceResponse_msginit = { 87 &grpc_lb_v1_LoadBalanceResponse_submsgs[0], 88 &grpc_lb_v1_LoadBalanceResponse__fields[0], 89 UPB_SIZE(8, 16), 3, false, 255, 90 }; 91 92 static const upb_msglayout *const grpc_lb_v1_InitialLoadBalanceResponse_submsgs[1] = { 93 &google_protobuf_Duration_msginit, 94 }; 95 96 static const upb_msglayout_field grpc_lb_v1_InitialLoadBalanceResponse__fields[2] = { 97 {1, UPB_SIZE(4, 8), 0, 0, 9, 1}, 98 {2, UPB_SIZE(12, 24), 1, 0, 11, 1}, 99 }; 100 101 const upb_msglayout grpc_lb_v1_InitialLoadBalanceResponse_msginit = { 102 &grpc_lb_v1_InitialLoadBalanceResponse_submsgs[0], 103 &grpc_lb_v1_InitialLoadBalanceResponse__fields[0], 104 UPB_SIZE(16, 32), 2, false, 255, 105 }; 106 107 static const upb_msglayout *const grpc_lb_v1_ServerList_submsgs[1] = { 108 &grpc_lb_v1_Server_msginit, 109 }; 110 111 static const upb_msglayout_field grpc_lb_v1_ServerList__fields[1] = { 112 {1, UPB_SIZE(0, 0), 0, 0, 11, 3}, 113 }; 114 115 const upb_msglayout grpc_lb_v1_ServerList_msginit = { 116 &grpc_lb_v1_ServerList_submsgs[0], 117 &grpc_lb_v1_ServerList__fields[0], 118 UPB_SIZE(8, 8), 1, false, 255, 119 }; 120 121 static const upb_msglayout_field grpc_lb_v1_Server__fields[4] = { 122 {1, UPB_SIZE(8, 8), 0, 0, 12, 1}, 123 {2, UPB_SIZE(0, 0), 0, 0, 5, 1}, 124 {3, UPB_SIZE(16, 24), 0, 0, 9, 1}, 125 {4, UPB_SIZE(4, 4), 0, 0, 8, 1}, 126 }; 127 128 const upb_msglayout grpc_lb_v1_Server_msginit = { 129 NULL, 130 &grpc_lb_v1_Server__fields[0], 131 UPB_SIZE(24, 48), 4, false, 255, 132 }; 133 134 const upb_msglayout grpc_lb_v1_FallbackResponse_msginit = { 135 NULL, 136 NULL, 137 UPB_SIZE(0, 0), 0, false, 255, 138 }; 139 140 #include "upb/port_undef.inc" 141 142