1 /* This file was generated by upbc (the upb compiler) from the input 2 * file: 3 * 4 * envoy/type/http/v3/path_transformation.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/collections/array_internal.h" 11 #include "upb/message/internal.h" 12 #include "upb/mini_table/enum_internal.h" 13 #include "envoy/type/http/v3/path_transformation.upb.h" 14 #include "udpa/annotations/status.upb.h" 15 #include "validate/validate.upb.h" 16 17 // Must be last. 18 #include "upb/port/def.inc" 19 20 static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_submsgs[1] = { 21 {.submsg = &envoy_type_http_v3_PathTransformation_Operation_msg_init}, 22 }; 23 24 static const upb_MiniTableField envoy_type_http_v3_PathTransformation__fields[1] = { 25 {1, 0, 0, 0, 11, kUpb_FieldMode_Array | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 26 }; 27 28 const upb_MiniTable envoy_type_http_v3_PathTransformation_msg_init = { 29 &envoy_type_http_v3_PathTransformation_submsgs[0], 30 &envoy_type_http_v3_PathTransformation__fields[0], 31 8, 1, kUpb_ExtMode_NonExtendable, 1, UPB_FASTTABLE_MASK(8), 0, 32 UPB_FASTTABLE_INIT({ 33 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 34 {0x000000003f00000a, &upb_prm_1bt_max64b}, 35 }) 36 }; 37 38 static const upb_MiniTableSub envoy_type_http_v3_PathTransformation_Operation_submsgs[2] = { 39 {.submsg = &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init}, 40 {.submsg = &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init}, 41 }; 42 43 static const upb_MiniTableField envoy_type_http_v3_PathTransformation_Operation__fields[2] = { 44 {2, UPB_SIZE(4, 8), -1, 0, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 45 {3, UPB_SIZE(4, 8), -1, 1, 11, kUpb_FieldMode_Scalar | (UPB_SIZE(kUpb_FieldRep_4Byte, kUpb_FieldRep_8Byte) << kUpb_FieldRep_Shift)}, 46 }; 47 48 const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_msg_init = { 49 &envoy_type_http_v3_PathTransformation_Operation_submsgs[0], 50 &envoy_type_http_v3_PathTransformation_Operation__fields[0], 51 UPB_SIZE(8, 16), 2, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(24), 0, 52 UPB_FASTTABLE_INIT({ 53 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 54 {0x0000000000000000, &_upb_FastDecoder_DecodeGeneric}, 55 {0x0008000002000012, &upb_pom_1bt_max64b}, 56 {0x000800000301001a, &upb_pom_1bt_max64b}, 57 }) 58 }; 59 60 const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init = { 61 NULL, 62 NULL, 63 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, 64 }; 65 66 const upb_MiniTable envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init = { 67 NULL, 68 NULL, 69 0, 0, kUpb_ExtMode_NonExtendable, 0, UPB_FASTTABLE_MASK(255), 0, 70 }; 71 72 static const upb_MiniTable *messages_layout[4] = { 73 &envoy_type_http_v3_PathTransformation_msg_init, 74 &envoy_type_http_v3_PathTransformation_Operation_msg_init, 75 &envoy_type_http_v3_PathTransformation_Operation_NormalizePathRFC3986_msg_init, 76 &envoy_type_http_v3_PathTransformation_Operation_MergeSlashes_msg_init, 77 }; 78 79 const upb_MiniTableFile envoy_type_http_v3_path_transformation_proto_upb_file_layout = { 80 messages_layout, 81 NULL, 82 NULL, 83 4, 84 0, 85 0, 86 }; 87 88 #include "upb/port/undef.inc" 89 90