xref: /aosp_15_r20/external/grpc-grpc/src/core/ext/upb-gen/envoy/type/v3/hash_policy.upb_minitable.c (revision cc02d7e222339f7a4f6ba5f422e6413f4bd931f2)
1 /* This file was generated by upb_generator from the input file:
2  *
3  *     envoy/type/v3/hash_policy.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 "envoy/type/v3/hash_policy.upb_minitable.h"
11 #include "udpa/annotations/status.upb_minitable.h"
12 #include "udpa/annotations/versioning.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 envoy_type_v3_HashPolicy_submsgs[2] = {
19   {.UPB_PRIVATE(submsg) = &envoy__type__v3__HashPolicy__SourceIp_msg_init},
20   {.UPB_PRIVATE(submsg) = &envoy__type__v3__HashPolicy__FilterState_msg_init},
21 };
22 
23 static const upb_MiniTableField envoy_type_v3_HashPolicy__fields[2] = {
24   {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
25   {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)},
26 };
27 
28 const upb_MiniTable envoy__type__v3__HashPolicy_msg_init = {
29   &envoy_type_v3_HashPolicy_submsgs[0],
30   &envoy_type_v3_HashPolicy__fields[0],
31   UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0,
32   UPB_FASTTABLE_INIT({
33     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
34     {0x001000080100000a, &upb_pom_1bt_max64b},
35     {0x0010000802010012, &upb_pom_1bt_max64b},
36     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
37   })
38 };
39 
40 const upb_MiniTable envoy__type__v3__HashPolicy__SourceIp_msg_init = {
41   NULL,
42   NULL,
43   8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0,
44 };
45 
46 static const upb_MiniTableField envoy_type_v3_HashPolicy_FilterState__fields[1] = {
47   {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)},
48 };
49 
50 const upb_MiniTable envoy__type__v3__HashPolicy__FilterState_msg_init = {
51   NULL,
52   &envoy_type_v3_HashPolicy_FilterState__fields[0],
53   UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0,
54   UPB_FASTTABLE_INIT({
55     {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric},
56     {0x000800003f00000a, &upb_pss_1bt},
57   })
58 };
59 
60 static const upb_MiniTable *messages_layout[3] = {
61   &envoy__type__v3__HashPolicy_msg_init,
62   &envoy__type__v3__HashPolicy__SourceIp_msg_init,
63   &envoy__type__v3__HashPolicy__FilterState_msg_init,
64 };
65 
66 const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout = {
67   messages_layout,
68   NULL,
69   NULL,
70   3,
71   0,
72   0,
73 };
74 
75 #include "upb/port/undef.inc"
76 
77