xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/xds/core/v3/resource_locator.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     xds/core/v3/resource_locator.proto
4  *
5  * Do not edit -- your changes will be discarded when the file is
6  * regenerated. */
7 
8 #include <stddef.h>
9 #include "upb/generated_code_support.h"
10 #include "xds/core/v3/resource_locator.upb_minitable.h"
11 #include "xds/annotations/v3/status.upb_minitable.h"
12 #include "xds/core/v3/context_params.upb_minitable.h"
13 #include "validate/validate.upb_minitable.h"
14 
15 // Must be last.
16 #include "upb/port/def.inc"
17 
18 static const upb_MiniTableSub xds_core_v3_ResourceLocator_submsgs[2] = {
19   {.UPB_PRIVATE(submsg) = &xds__core__v3__ContextParams_msg_init},
20   {.UPB_PRIVATE(submsg) = &xds__core__v3__ResourceLocator__Directive_msg_init},
21 };
22 
23 static const upb_MiniTableField xds_core_v3_ResourceLocator__fields[6] = {
24   {1, 8, 0, kUpb_NoSub, 5, (int)kUpb_FieldMode_Scalar | (int)kUpb_LabelFlags_IsAlternate | ((int)kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)},
25   {2, UPB_SIZE(24, 16), 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
26   {3, 32, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << 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(20, 72), -13, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
29   {6, UPB_SIZE(16, 64), 0, 1, 11, (int)kUpb_FieldMode_Array | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
30 };
31 
32 const upb_MiniTable xds__core__v3__ResourceLocator_msg_init = {
33   &xds_core_v3_ResourceLocator_submsgs[0],
34   &xds_core_v3_ResourceLocator__fields[0],
35   UPB_SIZE(48, 80), 6, kUpb_ExtMode_NonExtendable, 6, UPB_FASTTABLE_MASK(56), 0,
36   UPB_FASTTABLE_INIT({
37     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
38     {0x000800003f000008, &upb_psv4_1bt},
39     {0x001000003f000012, &upb_pss_1bt},
40     {0x002000003f00001a, &upb_pss_1bt},
41     {0x003000003f000022, &upb_pss_1bt},
42     {0x0048000c0500002a, &upb_pom_1bt_maxmaxb},
43     {0x004000003f010032, &upb_prm_1bt_max64b},
44     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
45   })
46 };
47 
48 static const upb_MiniTableSub xds_core_v3_ResourceLocator_Directive_submsgs[1] = {
49   {.UPB_PRIVATE(submsg) = &xds__core__v3__ResourceLocator_msg_init},
50 };
51 
52 static const upb_MiniTableField xds_core_v3_ResourceLocator_Directive__fields[2] = {
53   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
54   {2, UPB_SIZE(12, 16), -9, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
55 };
56 
57 const upb_MiniTable xds__core__v3__ResourceLocator__Directive_msg_init = {
58   &xds_core_v3_ResourceLocator_Directive_submsgs[0],
59   &xds_core_v3_ResourceLocator_Directive__fields[0],
60   UPB_SIZE(24, 32), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
61   UPB_FASTTABLE_INIT({
62     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
63     {0x001000080100000a, &upb_pom_1bt_max128b},
64     {0x0010000802000012, &upb_pos_1bt},
65     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
66   })
67 };
68 
69 static const upb_MiniTable *messages_layout[2] = {
70   &xds__core__v3__ResourceLocator_msg_init,
71   &xds__core__v3__ResourceLocator__Directive_msg_init,
72 };
73 
74 const upb_MiniTableFile xds_core_v3_resource_locator_proto_upb_file_layout = {
75   messages_layout,
76   NULL,
77   NULL,
78   2,
79   0,
80   0,
81 };
82 
83 #include "upb/port/undef.inc"
84 
85