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 * NO CHECKED-IN PROTOBUF GENCODE */ 8 9 #include <stddef.h> 10 #include "upb/generated_code_support.h" 11 #include "envoy/type/v3/hash_policy.upb_minitable.h" 12 #include "udpa/annotations/status.upb_minitable.h" 13 #include "udpa/annotations/versioning.upb_minitable.h" 14 #include "validate/validate.upb_minitable.h" 15 16 // Must be last. 17 #include "upb/port/def.inc" 18 19 extern const struct upb_MiniTable UPB_PRIVATE(_kUpb_MiniTable_StaticallyTreeShaken); 20 static const upb_MiniTableSubInternal envoy_type_v3_HashPolicy__submsgs[2] = { 21 {.UPB_PRIVATE(submsg) = &envoy__type__v3__HashPolicy__SourceIp_msg_init_ptr}, 22 {.UPB_PRIVATE(submsg) = &envoy__type__v3__HashPolicy__FilterState_msg_init_ptr}, 23 }; 24 25 static const upb_MiniTableField envoy_type_v3_HashPolicy__fields[2] = { 26 {1, UPB_SIZE(12, 16), -9, 0, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 27 {2, UPB_SIZE(12, 16), -9, 1, 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 28 }; 29 30 const upb_MiniTable envoy__type__v3__HashPolicy_msg_init = { 31 &envoy_type_v3_HashPolicy__submsgs[0], 32 &envoy_type_v3_HashPolicy__fields[0], 33 UPB_SIZE(16, 24), 2, kUpb_ExtMode_NonExtendable, 2, UPB_FASTTABLE_MASK(24), 0, 34 #ifdef UPB_TRACING_ENABLED 35 "envoy.type.v3.HashPolicy", 36 #endif 37 UPB_FASTTABLE_INIT({ 38 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 39 {0x001000080100000a, &upb_pom_1bt_max64b}, 40 {0x0010000802010012, &upb_pom_1bt_max64b}, 41 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 42 }) 43 }; 44 45 const upb_MiniTable* envoy__type__v3__HashPolicy_msg_init_ptr = &envoy__type__v3__HashPolicy_msg_init; 46 const upb_MiniTable envoy__type__v3__HashPolicy__SourceIp_msg_init = { 47 NULL, 48 NULL, 49 8, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, 50 #ifdef UPB_TRACING_ENABLED 51 "envoy.type.v3.HashPolicy.SourceIp", 52 #endif 53 }; 54 55 const upb_MiniTable* envoy__type__v3__HashPolicy__SourceIp_msg_init_ptr = &envoy__type__v3__HashPolicy__SourceIp_msg_init; 56 static const upb_MiniTableField envoy_type_v3_HashPolicy_FilterState__fields[1] = { 57 {1, 8, 0, kUpb_NoSub, 9, (int)kUpb_FieldMode_Scalar | ((int)kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, 58 }; 59 60 const upb_MiniTable envoy__type__v3__HashPolicy__FilterState_msg_init = { 61 NULL, 62 &envoy_type_v3_HashPolicy_FilterState__fields[0], 63 UPB_SIZE(16, 24), 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 64 #ifdef UPB_TRACING_ENABLED 65 "envoy.type.v3.HashPolicy.FilterState", 66 #endif 67 UPB_FASTTABLE_INIT({ 68 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 69 {0x000800003f00000a, &upb_pss_1bt}, 70 }) 71 }; 72 73 const upb_MiniTable* envoy__type__v3__HashPolicy__FilterState_msg_init_ptr = &envoy__type__v3__HashPolicy__FilterState_msg_init; 74 static const upb_MiniTable *messages_layout[3] = { 75 &envoy__type__v3__HashPolicy_msg_init, 76 &envoy__type__v3__HashPolicy__SourceIp_msg_init, 77 &envoy__type__v3__HashPolicy__FilterState_msg_init, 78 }; 79 80 const upb_MiniTableFile envoy_type_v3_hash_policy_proto_upb_file_layout = { 81 messages_layout, 82 NULL, 83 NULL, 84 3, 85 0, 86 0, 87 }; 88 89 #include "upb/port/undef.inc" 90 91