| 1 |
/* This file was generated by upbc (the upb compiler) from the input |
| 2 |
* file: |
| 3 |
* |
| 4 |
* validate/validate.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/msg_internal.h" |
| 11 |
#include "validate/validate.upb.h" |
| 12 |
#include "google/protobuf/descriptor.upb.h" |
| 13 |
#include "google/protobuf/duration.upb.h" |
| 14 |
#include "google/protobuf/timestamp.upb.h" |
| 15 |
|
| 16 |
#include "upb/port_def.inc" |
| 17 |
|
| 18 |
static const upb_MiniTable_Sub validate_FieldRules_submsgs[22] = { |
| 19 |
{.submsg = &validate_FloatRules_msginit}, |
| 20 |
{.submsg = &validate_DoubleRules_msginit}, |
| 21 |
{.submsg = &validate_Int32Rules_msginit}, |
| 22 |
{.submsg = &validate_Int64Rules_msginit}, |
| 23 |
{.submsg = &validate_UInt32Rules_msginit}, |
| 24 |
{.submsg = &validate_UInt64Rules_msginit}, |
| 25 |
{.submsg = &validate_SInt32Rules_msginit}, |
| 26 |
{.submsg = &validate_SInt64Rules_msginit}, |
| 27 |
{.submsg = &validate_Fixed32Rules_msginit}, |
| 28 |
{.submsg = &validate_Fixed64Rules_msginit}, |
| 29 |
{.submsg = &validate_SFixed32Rules_msginit}, |
| 30 |
{.submsg = &validate_SFixed64Rules_msginit}, |
| 31 |
{.submsg = &validate_BoolRules_msginit}, |
| 32 |
{.submsg = &validate_StringRules_msginit}, |
| 33 |
{.submsg = &validate_BytesRules_msginit}, |
| 34 |
{.submsg = &validate_EnumRules_msginit}, |
| 35 |
{.submsg = &validate_MessageRules_msginit}, |
| 36 |
{.submsg = &validate_RepeatedRules_msginit}, |
| 37 |
{.submsg = &validate_MapRules_msginit}, |
| 38 |
{.submsg = &validate_AnyRules_msginit}, |
| 39 |
{.submsg = &validate_DurationRules_msginit}, |
| 40 |
{.submsg = &validate_TimestampRules_msginit}, |
| 41 |
}; |
| 42 |
|
| 43 |
static const upb_MiniTable_Field validate_FieldRules__fields[22] = { |
| 44 |
{1, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 45 |
{2, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 46 |
{3, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 47 |
{4, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 48 |
{5, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 49 |
{6, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 50 |
{7, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 6, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 51 |
{8, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 7, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 52 |
{9, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 8, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 53 |
{10, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 9, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 54 |
{11, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 10, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 55 |
{12, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 11, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 56 |
{13, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 12, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 57 |
{14, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 13, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 58 |
{15, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 14, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 59 |
{16, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 15, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 60 |
{17, UPB_SIZE(8, 8), UPB_SIZE(1, 1), 16, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 61 |
{18, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 17, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 62 |
{19, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 18, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 63 |
{20, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 19, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 64 |
{21, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 20, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 65 |
{22, UPB_SIZE(12, 16), UPB_SIZE(-5, -5), 21, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 66 |
}; |
| 67 |
|
| 68 |
const upb_MiniTable validate_FieldRules_msginit = { |
| 69 |
&validate_FieldRules_submsgs[0], |
| 70 |
&validate_FieldRules__fields[0], |
| 71 |
UPB_SIZE(16, 24), 22, kUpb_ExtMode_NonExtendable, 22, 255, 0, |
| 72 |
}; |
| 73 |
|
| 74 |
static const upb_MiniTable_Field validate_FloatRules__fields[8] = { |
| 75 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 76 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 77 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 78 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 79 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 2, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 80 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 2, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 81 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 2, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 82 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 83 |
}; |
| 84 |
|
| 85 |
const upb_MiniTable validate_FloatRules_msginit = { |
| 86 |
NULL, |
| 87 |
&validate_FloatRules__fields[0], |
| 88 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 89 |
}; |
| 90 |
|
| 91 |
static const upb_MiniTable_Field validate_DoubleRules__fields[8] = { |
| 92 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 93 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 94 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 95 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 96 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 1, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 97 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 1, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 98 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 1, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 99 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 100 |
}; |
| 101 |
|
| 102 |
const upb_MiniTable validate_DoubleRules_msginit = { |
| 103 |
NULL, |
| 104 |
&validate_DoubleRules__fields[0], |
| 105 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 106 |
}; |
| 107 |
|
| 108 |
static const upb_MiniTable_Field validate_Int32Rules__fields[8] = { |
| 109 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 110 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 111 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 112 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 113 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 114 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 115 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 116 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 117 |
}; |
| 118 |
|
| 119 |
const upb_MiniTable validate_Int32Rules_msginit = { |
| 120 |
NULL, |
| 121 |
&validate_Int32Rules__fields[0], |
| 122 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 123 |
}; |
| 124 |
|
| 125 |
static const upb_MiniTable_Field validate_Int64Rules__fields[8] = { |
| 126 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 127 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 128 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 129 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 130 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 3, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 131 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 3, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 132 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 3, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 133 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 134 |
}; |
| 135 |
|
| 136 |
const upb_MiniTable validate_Int64Rules_msginit = { |
| 137 |
NULL, |
| 138 |
&validate_Int64Rules__fields[0], |
| 139 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 140 |
}; |
| 141 |
|
| 142 |
static const upb_MiniTable_Field validate_UInt32Rules__fields[8] = { |
| 143 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 144 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 145 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 146 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 147 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 13, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 148 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 13, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 149 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 13, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 150 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 151 |
}; |
| 152 |
|
| 153 |
const upb_MiniTable validate_UInt32Rules_msginit = { |
| 154 |
NULL, |
| 155 |
&validate_UInt32Rules__fields[0], |
| 156 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 157 |
}; |
| 158 |
|
| 159 |
static const upb_MiniTable_Field validate_UInt64Rules__fields[8] = { |
| 160 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 161 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 162 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 163 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 164 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 165 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 4, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 166 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 4, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 167 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 168 |
}; |
| 169 |
|
| 170 |
const upb_MiniTable validate_UInt64Rules_msginit = { |
| 171 |
NULL, |
| 172 |
&validate_UInt64Rules__fields[0], |
| 173 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 174 |
}; |
| 175 |
|
| 176 |
static const upb_MiniTable_Field validate_SInt32Rules__fields[8] = { |
| 177 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 17, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 178 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 17, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 179 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 17, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 180 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 17, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 181 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 17, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 182 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 17, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 183 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 17, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 184 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 185 |
}; |
| 186 |
|
| 187 |
const upb_MiniTable validate_SInt32Rules_msginit = { |
| 188 |
NULL, |
| 189 |
&validate_SInt32Rules__fields[0], |
| 190 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 191 |
}; |
| 192 |
|
| 193 |
static const upb_MiniTable_Field validate_SInt64Rules__fields[8] = { |
| 194 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 18, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 195 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 18, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 196 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 18, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 197 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 18, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 198 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 18, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 199 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 18, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 200 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 18, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 201 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 202 |
}; |
| 203 |
|
| 204 |
const upb_MiniTable validate_SInt64Rules_msginit = { |
| 205 |
NULL, |
| 206 |
&validate_SInt64Rules__fields[0], |
| 207 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 208 |
}; |
| 209 |
|
| 210 |
static const upb_MiniTable_Field validate_Fixed32Rules__fields[8] = { |
| 211 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 7, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 212 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 7, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 213 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 7, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 214 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 7, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 215 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 7, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 216 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 7, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 217 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 7, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 218 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 219 |
}; |
| 220 |
|
| 221 |
const upb_MiniTable validate_Fixed32Rules_msginit = { |
| 222 |
NULL, |
| 223 |
&validate_Fixed32Rules__fields[0], |
| 224 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 225 |
}; |
| 226 |
|
| 227 |
static const upb_MiniTable_Field validate_Fixed64Rules__fields[8] = { |
| 228 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 6, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 229 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 6, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 230 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 6, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 231 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 6, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 232 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 6, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 233 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 6, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 234 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 6, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 235 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 236 |
}; |
| 237 |
|
| 238 |
const upb_MiniTable validate_Fixed64Rules_msginit = { |
| 239 |
NULL, |
| 240 |
&validate_Fixed64Rules__fields[0], |
| 241 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 242 |
}; |
| 243 |
|
| 244 |
static const upb_MiniTable_Field validate_SFixed32Rules__fields[8] = { |
| 245 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 15, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 246 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 15, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 247 |
{3, UPB_SIZE(12, 12), UPB_SIZE(3, 3), kUpb_NoSub, 15, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 248 |
{4, UPB_SIZE(16, 16), UPB_SIZE(4, 4), kUpb_NoSub, 15, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 249 |
{5, UPB_SIZE(20, 20), UPB_SIZE(5, 5), kUpb_NoSub, 15, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 250 |
{6, UPB_SIZE(28, 32), UPB_SIZE(0, 0), kUpb_NoSub, 15, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 251 |
{7, UPB_SIZE(32, 40), UPB_SIZE(0, 0), kUpb_NoSub, 15, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 252 |
{8, UPB_SIZE(24, 24), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 253 |
}; |
| 254 |
|
| 255 |
const upb_MiniTable validate_SFixed32Rules_msginit = { |
| 256 |
NULL, |
| 257 |
&validate_SFixed32Rules__fields[0], |
| 258 |
UPB_SIZE(40, 48), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 259 |
}; |
| 260 |
|
| 261 |
static const upb_MiniTable_Field validate_SFixed64Rules__fields[8] = { |
| 262 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 16, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 263 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 16, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 264 |
{3, UPB_SIZE(32, 40), UPB_SIZE(3, 3), kUpb_NoSub, 16, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 265 |
{4, UPB_SIZE(40, 48), UPB_SIZE(4, 4), kUpb_NoSub, 16, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 266 |
{5, UPB_SIZE(48, 56), UPB_SIZE(5, 5), kUpb_NoSub, 16, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 267 |
{6, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 16, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 268 |
{7, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 16, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 269 |
{8, UPB_SIZE(1, 1), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 270 |
}; |
| 271 |
|
| 272 |
const upb_MiniTable validate_SFixed64Rules_msginit = { |
| 273 |
NULL, |
| 274 |
&validate_SFixed64Rules__fields[0], |
| 275 |
UPB_SIZE(56, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 276 |
}; |
| 277 |
|
| 278 |
static const upb_MiniTable_Field validate_BoolRules__fields[1] = { |
| 279 |
{1, UPB_SIZE(1, 1), UPB_SIZE(1, 1), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 280 |
}; |
| 281 |
|
| 282 |
const upb_MiniTable validate_BoolRules_msginit = { |
| 283 |
NULL, |
| 284 |
&validate_BoolRules__fields[0], |
| 285 |
UPB_SIZE(8, 8), 1, kUpb_ExtMode_NonExtendable, 1, 255, 0, |
| 286 |
}; |
| 287 |
|
| 288 |
static const upb_MiniTable_Sub validate_StringRules_submsgs[1] = { |
| 289 |
{.subenum = &validate_KnownRegex_enuminit}, |
| 290 |
}; |
| 291 |
|
| 292 |
static const upb_MiniTable_Field validate_StringRules__fields[26] = { |
| 293 |
{1, UPB_SIZE(16, 16), UPB_SIZE(1, 1), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 294 |
{2, UPB_SIZE(72, 128), UPB_SIZE(2, 2), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 295 |
{3, UPB_SIZE(80, 136), UPB_SIZE(3, 3), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 296 |
{4, UPB_SIZE(88, 144), UPB_SIZE(4, 4), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 297 |
{5, UPB_SIZE(96, 152), UPB_SIZE(5, 5), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 298 |
{6, UPB_SIZE(24, 32), UPB_SIZE(6, 6), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 299 |
{7, UPB_SIZE(32, 48), UPB_SIZE(7, 7), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 300 |
{8, UPB_SIZE(40, 64), UPB_SIZE(8, 8), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 301 |
{9, UPB_SIZE(48, 80), UPB_SIZE(9, 9), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 302 |
{10, UPB_SIZE(56, 96), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 303 |
{11, UPB_SIZE(60, 104), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 304 |
{12, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 305 |
{13, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 306 |
{14, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 307 |
{15, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 308 |
{16, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 309 |
{17, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 310 |
{18, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 311 |
{19, UPB_SIZE(104, 160), UPB_SIZE(10, 10), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 312 |
{20, UPB_SIZE(112, 168), UPB_SIZE(11, 11), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 313 |
{21, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 314 |
{22, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 315 |
{23, UPB_SIZE(64, 112), UPB_SIZE(12, 12), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 316 |
{24, UPB_SIZE(12, 12), UPB_SIZE(-5, -5), 0, 14, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 317 |
{25, UPB_SIZE(8, 8), UPB_SIZE(13, 13), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 318 |
{26, UPB_SIZE(9, 9), UPB_SIZE(14, 14), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 319 |
}; |
| 320 |
|
| 321 |
const upb_MiniTable validate_StringRules_msginit = { |
| 322 |
&validate_StringRules_submsgs[0], |
| 323 |
&validate_StringRules__fields[0], |
| 324 |
UPB_SIZE(120, 176), 26, kUpb_ExtMode_NonExtendable, 26, 255, 0, |
| 325 |
}; |
| 326 |
|
| 327 |
static const upb_MiniTable_Field validate_BytesRules__fields[14] = { |
| 328 |
{1, UPB_SIZE(12, 16), UPB_SIZE(1, 1), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 329 |
{2, UPB_SIZE(64, 112), UPB_SIZE(2, 2), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 330 |
{3, UPB_SIZE(72, 120), UPB_SIZE(3, 3), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 331 |
{4, UPB_SIZE(20, 32), UPB_SIZE(4, 4), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 332 |
{5, UPB_SIZE(28, 48), UPB_SIZE(5, 5), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 333 |
{6, UPB_SIZE(36, 64), UPB_SIZE(6, 6), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 334 |
{7, UPB_SIZE(44, 80), UPB_SIZE(7, 7), kUpb_NoSub, 12, kUpb_FieldMode_Scalar | (kUpb_FieldRep_StringView << kUpb_FieldRep_Shift)}, |
| 335 |
{8, UPB_SIZE(52, 96), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 336 |
{9, UPB_SIZE(56, 104), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 337 |
{10, UPB_SIZE(2, 2), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 338 |
{11, UPB_SIZE(2, 2), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 339 |
{12, UPB_SIZE(2, 2), UPB_SIZE(-5, -5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 340 |
{13, UPB_SIZE(80, 128), UPB_SIZE(8, 8), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 341 |
{14, UPB_SIZE(8, 8), UPB_SIZE(9, 9), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 342 |
}; |
| 343 |
|
| 344 |
const upb_MiniTable validate_BytesRules_msginit = { |
| 345 |
NULL, |
| 346 |
&validate_BytesRules__fields[0], |
| 347 |
UPB_SIZE(88, 136), 14, kUpb_ExtMode_NonExtendable, 14, 255, 0, |
| 348 |
}; |
| 349 |
|
| 350 |
static const upb_MiniTable_Field validate_EnumRules__fields[4] = { |
| 351 |
{1, UPB_SIZE(4, 4), UPB_SIZE(1, 1), kUpb_NoSub, 5, kUpb_FieldMode_Scalar | (kUpb_FieldRep_4Byte << kUpb_FieldRep_Shift)}, |
| 352 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 353 |
{3, UPB_SIZE(12, 16), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 354 |
{4, UPB_SIZE(16, 24), UPB_SIZE(0, 0), kUpb_NoSub, 5, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 355 |
}; |
| 356 |
|
| 357 |
const upb_MiniTable validate_EnumRules_msginit = { |
| 358 |
NULL, |
| 359 |
&validate_EnumRules__fields[0], |
| 360 |
UPB_SIZE(24, 32), 4, kUpb_ExtMode_NonExtendable, 4, 255, 0, |
| 361 |
}; |
| 362 |
|
| 363 |
static const upb_MiniTable_Field validate_MessageRules__fields[2] = { |
| 364 |
{1, UPB_SIZE(1, 1), UPB_SIZE(1, 1), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 365 |
{2, UPB_SIZE(2, 2), UPB_SIZE(2, 2), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 366 |
}; |
| 367 |
|
| 368 |
const upb_MiniTable validate_MessageRules_msginit = { |
| 369 |
NULL, |
| 370 |
&validate_MessageRules__fields[0], |
| 371 |
UPB_SIZE(8, 8), 2, kUpb_ExtMode_NonExtendable, 2, 255, 0, |
| 372 |
}; |
| 373 |
|
| 374 |
static const upb_MiniTable_Sub validate_RepeatedRules_submsgs[1] = { |
| 375 |
{.submsg = &validate_FieldRules_msginit}, |
| 376 |
}; |
| 377 |
|
| 378 |
static const upb_MiniTable_Field validate_RepeatedRules__fields[5] = { |
| 379 |
{1, UPB_SIZE(8, 16), UPB_SIZE(1, 1), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 380 |
{2, UPB_SIZE(16, 24), UPB_SIZE(2, 2), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 381 |
{3, UPB_SIZE(1, 1), UPB_SIZE(3, 3), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 382 |
{4, UPB_SIZE(4, 8), UPB_SIZE(4, 4), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 383 |
{5, UPB_SIZE(2, 2), UPB_SIZE(5, 5), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 384 |
}; |
| 385 |
|
| 386 |
const upb_MiniTable validate_RepeatedRules_msginit = { |
| 387 |
&validate_RepeatedRules_submsgs[0], |
| 388 |
&validate_RepeatedRules__fields[0], |
| 389 |
UPB_SIZE(24, 32), 5, kUpb_ExtMode_NonExtendable, 5, 255, 0, |
| 390 |
}; |
| 391 |
|
| 392 |
static const upb_MiniTable_Sub validate_MapRules_submsgs[2] = { |
| 393 |
{.submsg = &validate_FieldRules_msginit}, |
| 394 |
{.submsg = &validate_FieldRules_msginit}, |
| 395 |
}; |
| 396 |
|
| 397 |
static const upb_MiniTable_Field validate_MapRules__fields[6] = { |
| 398 |
{1, UPB_SIZE(16, 24), UPB_SIZE(1, 1), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 399 |
{2, UPB_SIZE(24, 32), UPB_SIZE(2, 2), kUpb_NoSub, 4, kUpb_FieldMode_Scalar | (kUpb_FieldRep_8Byte << kUpb_FieldRep_Shift)}, |
| 400 |
{3, UPB_SIZE(1, 1), UPB_SIZE(3, 3), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 401 |
{4, UPB_SIZE(4, 8), UPB_SIZE(4, 4), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 402 |
{5, UPB_SIZE(8, 16), UPB_SIZE(5, 5), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 403 |
{6, UPB_SIZE(2, 2), UPB_SIZE(6, 6), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 404 |
}; |
| 405 |
|
| 406 |
const upb_MiniTable validate_MapRules_msginit = { |
| 407 |
&validate_MapRules_submsgs[0], |
| 408 |
&validate_MapRules__fields[0], |
| 409 |
UPB_SIZE(32, 40), 6, kUpb_ExtMode_NonExtendable, 6, 255, 0, |
| 410 |
}; |
| 411 |
|
| 412 |
static const upb_MiniTable_Field validate_AnyRules__fields[3] = { |
| 413 |
{1, UPB_SIZE(1, 1), UPB_SIZE(1, 1), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 414 |
{2, UPB_SIZE(4, 8), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 415 |
{3, UPB_SIZE(8, 16), UPB_SIZE(0, 0), kUpb_NoSub, 12, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 416 |
}; |
| 417 |
|
| 418 |
const upb_MiniTable validate_AnyRules_msginit = { |
| 419 |
NULL, |
| 420 |
&validate_AnyRules__fields[0], |
| 421 |
UPB_SIZE(16, 24), 3, kUpb_ExtMode_NonExtendable, 3, 255, 0, |
| 422 |
}; |
| 423 |
|
| 424 |
static const upb_MiniTable_Sub validate_DurationRules_submsgs[7] = { |
| 425 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 426 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 427 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 428 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 429 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 430 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 431 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 432 |
}; |
| 433 |
|
| 434 |
static const upb_MiniTable_Field validate_DurationRules__fields[8] = { |
| 435 |
{1, UPB_SIZE(1, 1), UPB_SIZE(1, 1), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 436 |
{2, UPB_SIZE(4, 8), UPB_SIZE(2, 2), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 437 |
{3, UPB_SIZE(8, 16), UPB_SIZE(3, 3), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 438 |
{4, UPB_SIZE(12, 24), UPB_SIZE(4, 4), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 439 |
{5, UPB_SIZE(16, 32), UPB_SIZE(5, 5), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 440 |
{6, UPB_SIZE(20, 40), UPB_SIZE(6, 6), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 441 |
{7, UPB_SIZE(24, 48), UPB_SIZE(0, 0), 5, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 442 |
{8, UPB_SIZE(28, 56), UPB_SIZE(0, 0), 6, 11, kUpb_FieldMode_Array | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 443 |
}; |
| 444 |
|
| 445 |
const upb_MiniTable validate_DurationRules_msginit = { |
| 446 |
&validate_DurationRules_submsgs[0], |
| 447 |
&validate_DurationRules__fields[0], |
| 448 |
UPB_SIZE(32, 64), 8, kUpb_ExtMode_NonExtendable, 8, 255, 0, |
| 449 |
}; |
| 450 |
|
| 451 |
static const upb_MiniTable_Sub validate_TimestampRules_submsgs[6] = { |
| 452 |
{.submsg = &google_protobuf_Timestamp_msginit}, |
| 453 |
{.submsg = &google_protobuf_Timestamp_msginit}, |
| 454 |
{.submsg = &google_protobuf_Timestamp_msginit}, |
| 455 |
{.submsg = &google_protobuf_Timestamp_msginit}, |
| 456 |
{.submsg = &google_protobuf_Timestamp_msginit}, |
| 457 |
{.submsg = &google_protobuf_Duration_msginit}, |
| 458 |
}; |
| 459 |
|
| 460 |
static const upb_MiniTable_Field validate_TimestampRules__fields[9] = { |
| 461 |
{1, UPB_SIZE(2, 2), UPB_SIZE(1, 1), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 462 |
{2, UPB_SIZE(8, 8), UPB_SIZE(2, 2), 0, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 463 |
{3, UPB_SIZE(12, 16), UPB_SIZE(3, 3), 1, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 464 |
{4, UPB_SIZE(16, 24), UPB_SIZE(4, 4), 2, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 465 |
{5, UPB_SIZE(20, 32), UPB_SIZE(5, 5), 3, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 466 |
{6, UPB_SIZE(24, 40), UPB_SIZE(6, 6), 4, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 467 |
{7, UPB_SIZE(3, 3), UPB_SIZE(7, 7), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 468 |
{8, UPB_SIZE(4, 4), UPB_SIZE(8, 8), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 469 |
{9, UPB_SIZE(28, 48), UPB_SIZE(9, 9), 5, 11, kUpb_FieldMode_Scalar | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 470 |
}; |
| 471 |
|
| 472 |
const upb_MiniTable validate_TimestampRules_msginit = { |
| 473 |
&validate_TimestampRules_submsgs[0], |
| 474 |
&validate_TimestampRules__fields[0], |
| 475 |
UPB_SIZE(32, 56), 9, kUpb_ExtMode_NonExtendable, 9, 255, 0, |
| 476 |
}; |
| 477 |
|
| 478 |
static const upb_MiniTable *messages_layout[23] = { |
| 479 |
&validate_FieldRules_msginit, |
| 480 |
&validate_FloatRules_msginit, |
| 481 |
&validate_DoubleRules_msginit, |
| 482 |
&validate_Int32Rules_msginit, |
| 483 |
&validate_Int64Rules_msginit, |
| 484 |
&validate_UInt32Rules_msginit, |
| 485 |
&validate_UInt64Rules_msginit, |
| 486 |
&validate_SInt32Rules_msginit, |
| 487 |
&validate_SInt64Rules_msginit, |
| 488 |
&validate_Fixed32Rules_msginit, |
| 489 |
&validate_Fixed64Rules_msginit, |
| 490 |
&validate_SFixed32Rules_msginit, |
| 491 |
&validate_SFixed64Rules_msginit, |
| 492 |
&validate_BoolRules_msginit, |
| 493 |
&validate_StringRules_msginit, |
| 494 |
&validate_BytesRules_msginit, |
| 495 |
&validate_EnumRules_msginit, |
| 496 |
&validate_MessageRules_msginit, |
| 497 |
&validate_RepeatedRules_msginit, |
| 498 |
&validate_MapRules_msginit, |
| 499 |
&validate_AnyRules_msginit, |
| 500 |
&validate_DurationRules_msginit, |
| 501 |
&validate_TimestampRules_msginit, |
| 502 |
}; |
| 503 |
|
| 504 |
extern const upb_MiniTable google_protobuf_FieldOptions_msginit; |
| 505 |
extern const upb_MiniTable google_protobuf_MessageOptions_msginit; |
| 506 |
extern const upb_MiniTable google_protobuf_OneofOptions_msginit; |
| 507 |
extern const upb_MiniTable validate_FieldRules_msginit; |
| 508 |
const upb_MiniTable_Extension validate_disabled_ext = { |
| 509 |
{1071, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 510 |
&google_protobuf_MessageOptions_msginit, |
| 511 |
{.submsg = NULL}, |
| 512 |
|
| 513 |
}; |
| 514 |
const upb_MiniTable_Extension validate_ignored_ext = { |
| 515 |
{1072, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 516 |
&google_protobuf_MessageOptions_msginit, |
| 517 |
{.submsg = NULL}, |
| 518 |
|
| 519 |
}; |
| 520 |
const upb_MiniTable_Extension validate_required_ext = { |
| 521 |
{1071, UPB_SIZE(0, 0), UPB_SIZE(0, 0), kUpb_NoSub, 8, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_1Byte << kUpb_FieldRep_Shift)}, |
| 522 |
&google_protobuf_OneofOptions_msginit, |
| 523 |
{.submsg = NULL}, |
| 524 |
|
| 525 |
}; |
| 526 |
const upb_MiniTable_Extension validate_rules_ext = { |
| 527 |
{1071, UPB_SIZE(0, 0), UPB_SIZE(0, 0), 0, 11, kUpb_FieldMode_Scalar | kUpb_LabelFlags_IsExtension | (kUpb_FieldRep_Pointer << kUpb_FieldRep_Shift)}, |
| 528 |
&google_protobuf_FieldOptions_msginit, |
| 529 |
{.submsg = &validate_FieldRules_msginit}, |
| 530 |
|
| 531 |
}; |
| 532 |
|
| 533 |
static const upb_MiniTable_Extension *extensions_layout[4] = { |
| 534 |
&validate_disabled_ext, |
| 535 |
&validate_ignored_ext, |
| 536 |
&validate_required_ext, |
| 537 |
&validate_rules_ext, |
| 538 |
}; |
| 539 |
|
| 540 |
const upb_MiniTable_Enum validate_KnownRegex_enuminit = { |
| 541 |
NULL, |
| 542 |
0x7ULL, |
| 543 |
0, |
| 544 |
}; |
| 545 |
|
| 546 |
static const upb_MiniTable_Enum *enums_layout[1] = { |
| 547 |
&validate_KnownRegex_enuminit, |
| 548 |
}; |
| 549 |
|
| 550 |
const upb_MiniTable_File validate_validate_proto_upb_file_layout = { |
| 551 |
messages_layout, |
| 552 |
enums_layout, |
| 553 |
extensions_layout, |
| 554 |
23, |
| 555 |
1, |
| 556 |
4, |
| 557 |
}; |
| 558 |
|
| 559 |
#include "upb/port_undef.inc" |
| 560 |
|