• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     src/proto/grpc/gcp/altscontext.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated.
7  * NO CHECKED-IN PROTOBUF GENCODE */
8 
9 #include <stddef.h>
10 #include "upb/generated_code_support.h"
11 #include "src/proto/grpc/gcp/altscontext.upb_minitable.h"
12 #include "src/proto/grpc/gcp/transport_security_common.upb_minitable.h"
13 
14 // Must be last.
15 #include "upb/port/def.inc"
16 
17 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken);
18 static const upb_MiniTableSubInternal grpc_gcp_AltsContext__submsgs[2] = {
19   {.UPB_PRIVATE(submsg) = &grpc__gcp__RpcProtocolVersions_msg_init_ptr},
20   {.UPB_PRIVATE(submsg) = &grpc__gcp__AltsContext__PeerAttributesEntry_msg_init_ptr},
21 };
22 
23 static const upb_MiniTableField grpc_gcp_AltsContext__fields[7] = {
24   {1, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
25   {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
26   {3, 12, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
27   {4, UPB_SIZE(40, 48), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
28   {5, UPB_SIZE(48, 64), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
29   {6, UPB_SIZE(16, 80), 64, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
30   {7, UPB_SIZE(20, 88), 0, 1, 11, (int)kUpb_FieldMode_Map | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
31 };
32 
33 const upb_MiniTable grpc__gcp__AltsContext_msg_init = {
34   &grpc_gcp_AltsContext__submsgs[0],
35   &grpc_gcp_AltsContext__fields[0],
36   UPB_SIZE(56, 96), 7, kUpb_ExtMode_NonExtendable, 7, UPB_FASTTABLE_MASK(56), 0,
37 #ifdef UPB_TRACING_ENABLED
38   "grpc.gcp.AltsContext",
39 #endif
40   UPB_FASTTABLE_INIT({
41     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
42     {0x001000003f00000a, &upb_pss_1bt},
43     {0x002000003f000012, &upb_pss_1bt},
44     {0x000c00003f000018, &upb_psv4_1bt},
45     {0x003000003f000022, &upb_pss_1bt},
46     {0x004000003f00002a, &upb_pss_1bt},
47     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
48     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
49   })
50 };
51 
52 const upb_MiniTable* grpc__gcp__AltsContext_msg_init_ptr = &grpc__gcp__AltsContext_msg_init;
53 static const upb_MiniTableField grpc_gcp_AltsContext_PeerAttributesEntry__fields[2] = {
54   {1, 16, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
55   {2, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
56 };
57 
58 const upb_MiniTable grpc__gcp__AltsContext__PeerAttributesEntry_msg_init = {
59   NULL,
60   &grpc_gcp_AltsContext_PeerAttributesEntry__fields[0],
61   48, 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
62 #ifdef UPB_TRACING_ENABLED
63   "grpc.gcp.AltsContext.PeerAttributesEntry",
64 #endif
65   UPB_FASTTABLE_INIT({
66     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
67     {0x001000003f00000a, &upb_pss_1bt},
68     {0x002000003f000012, &upb_pss_1bt},
69     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
70   })
71 };
72 
73 const upb_MiniTable* grpc__gcp__AltsContext__PeerAttributesEntry_msg_init_ptr = &grpc__gcp__AltsContext__PeerAttributesEntry_msg_init;
74 static const upb_MiniTable *messages_layout[2] = {
75   &grpc__gcp__AltsContext_msg_init,
76   &grpc__gcp__AltsContext__PeerAttributesEntry_msg_init,
77 };
78 
79 const upb_MiniTableFile src_proto_grpc_gcp_altscontext_proto_upb_file_layout = {
80   messages_layout,
81   NULL,
82   NULL,
83   2,
84   0,
85   0,
86 };
87 
88 #include "upb/port/undef.inc"
89 
90