@inverted-tech/fragments 0.12.4 → 0.12.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,7 @@ export type MessageRules = Message<"buf.validate.MessageRules"> & {
97
97
  * // The field `foo` must be greater than 42.
98
98
  * option (buf.validate.message).cel = {
99
99
  * id: "my_message.value",
100
- * message: "value must be greater than 42",
100
+ * message: "must be greater than 42",
101
101
  * expression: "this.foo > 42",
102
102
  * };
103
103
  * optional int32 foo = 1;
@@ -247,7 +247,7 @@ export type FieldRules = Message<"buf.validate.FieldRules"> & {
247
247
  * // The field `value` must be greater than 42.
248
248
  * optional int32 value = 1 [(buf.validate.field).cel = {
249
249
  * id: "my_message.value",
250
- * message: "value must be greater than 42",
250
+ * message: "must be greater than 42",
251
251
  * expression: "this > 42",
252
252
  * }];
253
253
  * }
@@ -502,7 +502,7 @@ export type PredefinedRules = Message<"buf.validate.PredefinedRules"> & {
502
502
  * // The field `value` must be greater than 42.
503
503
  * optional int32 value = 1 [(buf.validate.predefined).cel = {
504
504
  * id: "my_message.value",
505
- * message: "value must be greater than 42",
505
+ * message: "must be greater than 42",
506
506
  * expression: "this > 42",
507
507
  * }];
508
508
  * }
@@ -549,7 +549,7 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
549
549
  *
550
550
  * ```proto
551
551
  * message MyFloat {
552
- * // value must be less than 10.0
552
+ * // must be less than 10.0
553
553
  * float value = 1 [(buf.validate.field).float.lt = 10.0];
554
554
  * }
555
555
  * ```
@@ -566,7 +566,7 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
566
566
  *
567
567
  * ```proto
568
568
  * message MyFloat {
569
- * // value must be less than or equal to 10.0
569
+ * // must be less than or equal to 10.0
570
570
  * float value = 1 [(buf.validate.field).float.lte = 10.0];
571
571
  * }
572
572
  * ```
@@ -592,13 +592,13 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
592
592
  *
593
593
  * ```proto
594
594
  * message MyFloat {
595
- * // value must be greater than 5.0 [float.gt]
595
+ * // must be greater than 5.0 [float.gt]
596
596
  * float value = 1 [(buf.validate.field).float.gt = 5.0];
597
597
  *
598
- * // value must be greater than 5 and less than 10.0 [float.gt_lt]
598
+ * // must be greater than 5 and less than 10.0 [float.gt_lt]
599
599
  * float other_value = 2 [(buf.validate.field).float = { gt: 5.0, lt: 10.0 }];
600
600
  *
601
- * // value must be greater than 10 or less than 5.0 [float.gt_lt_exclusive]
601
+ * // must be greater than 10 or less than 5.0 [float.gt_lt_exclusive]
602
602
  * float another_value = 3 [(buf.validate.field).float = { gt: 10.0, lt: 5.0 }];
603
603
  * }
604
604
  * ```
@@ -617,13 +617,13 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
617
617
  *
618
618
  * ```proto
619
619
  * message MyFloat {
620
- * // value must be greater than or equal to 5.0 [float.gte]
620
+ * // must be greater than or equal to 5.0 [float.gte]
621
621
  * float value = 1 [(buf.validate.field).float.gte = 5.0];
622
622
  *
623
- * // value must be greater than or equal to 5.0 and less than 10.0 [float.gte_lt]
623
+ * // must be greater than or equal to 5.0 and less than 10.0 [float.gte_lt]
624
624
  * float other_value = 2 [(buf.validate.field).float = { gte: 5.0, lt: 10.0 }];
625
625
  *
626
- * // value must be greater than or equal to 10.0 or less than 5.0 [float.gte_lt_exclusive]
626
+ * // must be greater than or equal to 10.0 or less than 5.0 [float.gte_lt_exclusive]
627
627
  * float another_value = 3 [(buf.validate.field).float = { gte: 10.0, lt: 5.0 }];
628
628
  * }
629
629
  * ```
@@ -643,7 +643,7 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
643
643
  *
644
644
  * ```proto
645
645
  * message MyFloat {
646
- * // value must be in list [1.0, 2.0, 3.0]
646
+ * // must be in list [1.0, 2.0, 3.0]
647
647
  * float value = 1 [(buf.validate.field).float = { in: [1.0, 2.0, 3.0] }];
648
648
  * }
649
649
  * ```
@@ -652,7 +652,7 @@ export type FloatRules = Message<"buf.validate.FloatRules"> & {
652
652
  */
653
653
  in: number[];
654
654
  /**
655
- * `in` requires the field value to not be equal to any of the specified
655
+ * `not_in` requires the field value to not be equal to any of the specified
656
656
  * values. If the field value is one of the specified values, an error
657
657
  * message is generated.
658
658
  *
@@ -728,7 +728,7 @@ export type DoubleRules = Message<"buf.validate.DoubleRules"> & {
728
728
  *
729
729
  * ```proto
730
730
  * message MyDouble {
731
- * // value must be less than 10.0
731
+ * // must be less than 10.0
732
732
  * double value = 1 [(buf.validate.field).double.lt = 10.0];
733
733
  * }
734
734
  * ```
@@ -745,7 +745,7 @@ export type DoubleRules = Message<"buf.validate.DoubleRules"> & {
745
745
  *
746
746
  * ```proto
747
747
  * message MyDouble {
748
- * // value must be less than or equal to 10.0
748
+ * // must be less than or equal to 10.0
749
749
  * double value = 1 [(buf.validate.field).double.lte = 10.0];
750
750
  * }
751
751
  * ```
@@ -771,13 +771,13 @@ export type DoubleRules = Message<"buf.validate.DoubleRules"> & {
771
771
  *
772
772
  * ```proto
773
773
  * message MyDouble {
774
- * // value must be greater than 5.0 [double.gt]
774
+ * // must be greater than 5.0 [double.gt]
775
775
  * double value = 1 [(buf.validate.field).double.gt = 5.0];
776
776
  *
777
- * // value must be greater than 5 and less than 10.0 [double.gt_lt]
777
+ * // must be greater than 5 and less than 10.0 [double.gt_lt]
778
778
  * double other_value = 2 [(buf.validate.field).double = { gt: 5.0, lt: 10.0 }];
779
779
  *
780
- * // value must be greater than 10 or less than 5.0 [double.gt_lt_exclusive]
780
+ * // must be greater than 10 or less than 5.0 [double.gt_lt_exclusive]
781
781
  * double another_value = 3 [(buf.validate.field).double = { gt: 10.0, lt: 5.0 }];
782
782
  * }
783
783
  * ```
@@ -796,13 +796,13 @@ export type DoubleRules = Message<"buf.validate.DoubleRules"> & {
796
796
  *
797
797
  * ```proto
798
798
  * message MyDouble {
799
- * // value must be greater than or equal to 5.0 [double.gte]
799
+ * // must be greater than or equal to 5.0 [double.gte]
800
800
  * double value = 1 [(buf.validate.field).double.gte = 5.0];
801
801
  *
802
- * // value must be greater than or equal to 5.0 and less than 10.0 [double.gte_lt]
802
+ * // must be greater than or equal to 5.0 and less than 10.0 [double.gte_lt]
803
803
  * double other_value = 2 [(buf.validate.field).double = { gte: 5.0, lt: 10.0 }];
804
804
  *
805
- * // value must be greater than or equal to 10.0 or less than 5.0 [double.gte_lt_exclusive]
805
+ * // must be greater than or equal to 10.0 or less than 5.0 [double.gte_lt_exclusive]
806
806
  * double another_value = 3 [(buf.validate.field).double = { gte: 10.0, lt: 5.0 }];
807
807
  * }
808
808
  * ```
@@ -822,7 +822,7 @@ export type DoubleRules = Message<"buf.validate.DoubleRules"> & {
822
822
  *
823
823
  * ```proto
824
824
  * message MyDouble {
825
- * // value must be in list [1.0, 2.0, 3.0]
825
+ * // must be in list [1.0, 2.0, 3.0]
826
826
  * double value = 1 [(buf.validate.field).double = { in: [1.0, 2.0, 3.0] }];
827
827
  * }
828
828
  * ```
@@ -907,7 +907,7 @@ export type Int32Rules = Message<"buf.validate.Int32Rules"> & {
907
907
  *
908
908
  * ```proto
909
909
  * message MyInt32 {
910
- * // value must be less than 10
910
+ * // must be less than 10
911
911
  * int32 value = 1 [(buf.validate.field).int32.lt = 10];
912
912
  * }
913
913
  * ```
@@ -924,7 +924,7 @@ export type Int32Rules = Message<"buf.validate.Int32Rules"> & {
924
924
  *
925
925
  * ```proto
926
926
  * message MyInt32 {
927
- * // value must be less than or equal to 10
927
+ * // must be less than or equal to 10
928
928
  * int32 value = 1 [(buf.validate.field).int32.lte = 10];
929
929
  * }
930
930
  * ```
@@ -950,13 +950,13 @@ export type Int32Rules = Message<"buf.validate.Int32Rules"> & {
950
950
  *
951
951
  * ```proto
952
952
  * message MyInt32 {
953
- * // value must be greater than 5 [int32.gt]
953
+ * // must be greater than 5 [int32.gt]
954
954
  * int32 value = 1 [(buf.validate.field).int32.gt = 5];
955
955
  *
956
- * // value must be greater than 5 and less than 10 [int32.gt_lt]
956
+ * // must be greater than 5 and less than 10 [int32.gt_lt]
957
957
  * int32 other_value = 2 [(buf.validate.field).int32 = { gt: 5, lt: 10 }];
958
958
  *
959
- * // value must be greater than 10 or less than 5 [int32.gt_lt_exclusive]
959
+ * // must be greater than 10 or less than 5 [int32.gt_lt_exclusive]
960
960
  * int32 another_value = 3 [(buf.validate.field).int32 = { gt: 10, lt: 5 }];
961
961
  * }
962
962
  * ```
@@ -975,13 +975,13 @@ export type Int32Rules = Message<"buf.validate.Int32Rules"> & {
975
975
  *
976
976
  * ```proto
977
977
  * message MyInt32 {
978
- * // value must be greater than or equal to 5 [int32.gte]
978
+ * // must be greater than or equal to 5 [int32.gte]
979
979
  * int32 value = 1 [(buf.validate.field).int32.gte = 5];
980
980
  *
981
- * // value must be greater than or equal to 5 and less than 10 [int32.gte_lt]
981
+ * // must be greater than or equal to 5 and less than 10 [int32.gte_lt]
982
982
  * int32 other_value = 2 [(buf.validate.field).int32 = { gte: 5, lt: 10 }];
983
983
  *
984
- * // value must be greater than or equal to 10 or less than 5 [int32.gte_lt_exclusive]
984
+ * // must be greater than or equal to 10 or less than 5 [int32.gte_lt_exclusive]
985
985
  * int32 another_value = 3 [(buf.validate.field).int32 = { gte: 10, lt: 5 }];
986
986
  * }
987
987
  * ```
@@ -1001,7 +1001,7 @@ export type Int32Rules = Message<"buf.validate.Int32Rules"> & {
1001
1001
  *
1002
1002
  * ```proto
1003
1003
  * message MyInt32 {
1004
- * // value must be in list [1, 2, 3]
1004
+ * // must be in list [1, 2, 3]
1005
1005
  * int32 value = 1 [(buf.validate.field).int32 = { in: [1, 2, 3] }];
1006
1006
  * }
1007
1007
  * ```
@@ -1079,7 +1079,7 @@ export type Int64Rules = Message<"buf.validate.Int64Rules"> & {
1079
1079
  *
1080
1080
  * ```proto
1081
1081
  * message MyInt64 {
1082
- * // value must be less than 10
1082
+ * // must be less than 10
1083
1083
  * int64 value = 1 [(buf.validate.field).int64.lt = 10];
1084
1084
  * }
1085
1085
  * ```
@@ -1096,7 +1096,7 @@ export type Int64Rules = Message<"buf.validate.Int64Rules"> & {
1096
1096
  *
1097
1097
  * ```proto
1098
1098
  * message MyInt64 {
1099
- * // value must be less than or equal to 10
1099
+ * // must be less than or equal to 10
1100
1100
  * int64 value = 1 [(buf.validate.field).int64.lte = 10];
1101
1101
  * }
1102
1102
  * ```
@@ -1122,13 +1122,13 @@ export type Int64Rules = Message<"buf.validate.Int64Rules"> & {
1122
1122
  *
1123
1123
  * ```proto
1124
1124
  * message MyInt64 {
1125
- * // value must be greater than 5 [int64.gt]
1125
+ * // must be greater than 5 [int64.gt]
1126
1126
  * int64 value = 1 [(buf.validate.field).int64.gt = 5];
1127
1127
  *
1128
- * // value must be greater than 5 and less than 10 [int64.gt_lt]
1128
+ * // must be greater than 5 and less than 10 [int64.gt_lt]
1129
1129
  * int64 other_value = 2 [(buf.validate.field).int64 = { gt: 5, lt: 10 }];
1130
1130
  *
1131
- * // value must be greater than 10 or less than 5 [int64.gt_lt_exclusive]
1131
+ * // must be greater than 10 or less than 5 [int64.gt_lt_exclusive]
1132
1132
  * int64 another_value = 3 [(buf.validate.field).int64 = { gt: 10, lt: 5 }];
1133
1133
  * }
1134
1134
  * ```
@@ -1147,13 +1147,13 @@ export type Int64Rules = Message<"buf.validate.Int64Rules"> & {
1147
1147
  *
1148
1148
  * ```proto
1149
1149
  * message MyInt64 {
1150
- * // value must be greater than or equal to 5 [int64.gte]
1150
+ * // must be greater than or equal to 5 [int64.gte]
1151
1151
  * int64 value = 1 [(buf.validate.field).int64.gte = 5];
1152
1152
  *
1153
- * // value must be greater than or equal to 5 and less than 10 [int64.gte_lt]
1153
+ * // must be greater than or equal to 5 and less than 10 [int64.gte_lt]
1154
1154
  * int64 other_value = 2 [(buf.validate.field).int64 = { gte: 5, lt: 10 }];
1155
1155
  *
1156
- * // value must be greater than or equal to 10 or less than 5 [int64.gte_lt_exclusive]
1156
+ * // must be greater than or equal to 10 or less than 5 [int64.gte_lt_exclusive]
1157
1157
  * int64 another_value = 3 [(buf.validate.field).int64 = { gte: 10, lt: 5 }];
1158
1158
  * }
1159
1159
  * ```
@@ -1173,7 +1173,7 @@ export type Int64Rules = Message<"buf.validate.Int64Rules"> & {
1173
1173
  *
1174
1174
  * ```proto
1175
1175
  * message MyInt64 {
1176
- * // value must be in list [1, 2, 3]
1176
+ * // must be in list [1, 2, 3]
1177
1177
  * int64 value = 1 [(buf.validate.field).int64 = { in: [1, 2, 3] }];
1178
1178
  * }
1179
1179
  * ```
@@ -1251,7 +1251,7 @@ export type UInt32Rules = Message<"buf.validate.UInt32Rules"> & {
1251
1251
  *
1252
1252
  * ```proto
1253
1253
  * message MyUInt32 {
1254
- * // value must be less than 10
1254
+ * // must be less than 10
1255
1255
  * uint32 value = 1 [(buf.validate.field).uint32.lt = 10];
1256
1256
  * }
1257
1257
  * ```
@@ -1268,7 +1268,7 @@ export type UInt32Rules = Message<"buf.validate.UInt32Rules"> & {
1268
1268
  *
1269
1269
  * ```proto
1270
1270
  * message MyUInt32 {
1271
- * // value must be less than or equal to 10
1271
+ * // must be less than or equal to 10
1272
1272
  * uint32 value = 1 [(buf.validate.field).uint32.lte = 10];
1273
1273
  * }
1274
1274
  * ```
@@ -1294,13 +1294,13 @@ export type UInt32Rules = Message<"buf.validate.UInt32Rules"> & {
1294
1294
  *
1295
1295
  * ```proto
1296
1296
  * message MyUInt32 {
1297
- * // value must be greater than 5 [uint32.gt]
1297
+ * // must be greater than 5 [uint32.gt]
1298
1298
  * uint32 value = 1 [(buf.validate.field).uint32.gt = 5];
1299
1299
  *
1300
- * // value must be greater than 5 and less than 10 [uint32.gt_lt]
1300
+ * // must be greater than 5 and less than 10 [uint32.gt_lt]
1301
1301
  * uint32 other_value = 2 [(buf.validate.field).uint32 = { gt: 5, lt: 10 }];
1302
1302
  *
1303
- * // value must be greater than 10 or less than 5 [uint32.gt_lt_exclusive]
1303
+ * // must be greater than 10 or less than 5 [uint32.gt_lt_exclusive]
1304
1304
  * uint32 another_value = 3 [(buf.validate.field).uint32 = { gt: 10, lt: 5 }];
1305
1305
  * }
1306
1306
  * ```
@@ -1319,13 +1319,13 @@ export type UInt32Rules = Message<"buf.validate.UInt32Rules"> & {
1319
1319
  *
1320
1320
  * ```proto
1321
1321
  * message MyUInt32 {
1322
- * // value must be greater than or equal to 5 [uint32.gte]
1322
+ * // must be greater than or equal to 5 [uint32.gte]
1323
1323
  * uint32 value = 1 [(buf.validate.field).uint32.gte = 5];
1324
1324
  *
1325
- * // value must be greater than or equal to 5 and less than 10 [uint32.gte_lt]
1325
+ * // must be greater than or equal to 5 and less than 10 [uint32.gte_lt]
1326
1326
  * uint32 other_value = 2 [(buf.validate.field).uint32 = { gte: 5, lt: 10 }];
1327
1327
  *
1328
- * // value must be greater than or equal to 10 or less than 5 [uint32.gte_lt_exclusive]
1328
+ * // must be greater than or equal to 10 or less than 5 [uint32.gte_lt_exclusive]
1329
1329
  * uint32 another_value = 3 [(buf.validate.field).uint32 = { gte: 10, lt: 5 }];
1330
1330
  * }
1331
1331
  * ```
@@ -1345,7 +1345,7 @@ export type UInt32Rules = Message<"buf.validate.UInt32Rules"> & {
1345
1345
  *
1346
1346
  * ```proto
1347
1347
  * message MyUInt32 {
1348
- * // value must be in list [1, 2, 3]
1348
+ * // must be in list [1, 2, 3]
1349
1349
  * uint32 value = 1 [(buf.validate.field).uint32 = { in: [1, 2, 3] }];
1350
1350
  * }
1351
1351
  * ```
@@ -1423,7 +1423,7 @@ export type UInt64Rules = Message<"buf.validate.UInt64Rules"> & {
1423
1423
  *
1424
1424
  * ```proto
1425
1425
  * message MyUInt64 {
1426
- * // value must be less than 10
1426
+ * // must be less than 10
1427
1427
  * uint64 value = 1 [(buf.validate.field).uint64.lt = 10];
1428
1428
  * }
1429
1429
  * ```
@@ -1440,7 +1440,7 @@ export type UInt64Rules = Message<"buf.validate.UInt64Rules"> & {
1440
1440
  *
1441
1441
  * ```proto
1442
1442
  * message MyUInt64 {
1443
- * // value must be less than or equal to 10
1443
+ * // must be less than or equal to 10
1444
1444
  * uint64 value = 1 [(buf.validate.field).uint64.lte = 10];
1445
1445
  * }
1446
1446
  * ```
@@ -1466,13 +1466,13 @@ export type UInt64Rules = Message<"buf.validate.UInt64Rules"> & {
1466
1466
  *
1467
1467
  * ```proto
1468
1468
  * message MyUInt64 {
1469
- * // value must be greater than 5 [uint64.gt]
1469
+ * // must be greater than 5 [uint64.gt]
1470
1470
  * uint64 value = 1 [(buf.validate.field).uint64.gt = 5];
1471
1471
  *
1472
- * // value must be greater than 5 and less than 10 [uint64.gt_lt]
1472
+ * // must be greater than 5 and less than 10 [uint64.gt_lt]
1473
1473
  * uint64 other_value = 2 [(buf.validate.field).uint64 = { gt: 5, lt: 10 }];
1474
1474
  *
1475
- * // value must be greater than 10 or less than 5 [uint64.gt_lt_exclusive]
1475
+ * // must be greater than 10 or less than 5 [uint64.gt_lt_exclusive]
1476
1476
  * uint64 another_value = 3 [(buf.validate.field).uint64 = { gt: 10, lt: 5 }];
1477
1477
  * }
1478
1478
  * ```
@@ -1491,13 +1491,13 @@ export type UInt64Rules = Message<"buf.validate.UInt64Rules"> & {
1491
1491
  *
1492
1492
  * ```proto
1493
1493
  * message MyUInt64 {
1494
- * // value must be greater than or equal to 5 [uint64.gte]
1494
+ * // must be greater than or equal to 5 [uint64.gte]
1495
1495
  * uint64 value = 1 [(buf.validate.field).uint64.gte = 5];
1496
1496
  *
1497
- * // value must be greater than or equal to 5 and less than 10 [uint64.gte_lt]
1497
+ * // must be greater than or equal to 5 and less than 10 [uint64.gte_lt]
1498
1498
  * uint64 other_value = 2 [(buf.validate.field).uint64 = { gte: 5, lt: 10 }];
1499
1499
  *
1500
- * // value must be greater than or equal to 10 or less than 5 [uint64.gte_lt_exclusive]
1500
+ * // must be greater than or equal to 10 or less than 5 [uint64.gte_lt_exclusive]
1501
1501
  * uint64 another_value = 3 [(buf.validate.field).uint64 = { gte: 10, lt: 5 }];
1502
1502
  * }
1503
1503
  * ```
@@ -1517,7 +1517,7 @@ export type UInt64Rules = Message<"buf.validate.UInt64Rules"> & {
1517
1517
  *
1518
1518
  * ```proto
1519
1519
  * message MyUInt64 {
1520
- * // value must be in list [1, 2, 3]
1520
+ * // must be in list [1, 2, 3]
1521
1521
  * uint64 value = 1 [(buf.validate.field).uint64 = { in: [1, 2, 3] }];
1522
1522
  * }
1523
1523
  * ```
@@ -1594,7 +1594,7 @@ export type SInt32Rules = Message<"buf.validate.SInt32Rules"> & {
1594
1594
  *
1595
1595
  * ```proto
1596
1596
  * message MySInt32 {
1597
- * // value must be less than 10
1597
+ * // must be less than 10
1598
1598
  * sint32 value = 1 [(buf.validate.field).sint32.lt = 10];
1599
1599
  * }
1600
1600
  * ```
@@ -1611,7 +1611,7 @@ export type SInt32Rules = Message<"buf.validate.SInt32Rules"> & {
1611
1611
  *
1612
1612
  * ```proto
1613
1613
  * message MySInt32 {
1614
- * // value must be less than or equal to 10
1614
+ * // must be less than or equal to 10
1615
1615
  * sint32 value = 1 [(buf.validate.field).sint32.lte = 10];
1616
1616
  * }
1617
1617
  * ```
@@ -1637,13 +1637,13 @@ export type SInt32Rules = Message<"buf.validate.SInt32Rules"> & {
1637
1637
  *
1638
1638
  * ```proto
1639
1639
  * message MySInt32 {
1640
- * // value must be greater than 5 [sint32.gt]
1640
+ * // must be greater than 5 [sint32.gt]
1641
1641
  * sint32 value = 1 [(buf.validate.field).sint32.gt = 5];
1642
1642
  *
1643
- * // value must be greater than 5 and less than 10 [sint32.gt_lt]
1643
+ * // must be greater than 5 and less than 10 [sint32.gt_lt]
1644
1644
  * sint32 other_value = 2 [(buf.validate.field).sint32 = { gt: 5, lt: 10 }];
1645
1645
  *
1646
- * // value must be greater than 10 or less than 5 [sint32.gt_lt_exclusive]
1646
+ * // must be greater than 10 or less than 5 [sint32.gt_lt_exclusive]
1647
1647
  * sint32 another_value = 3 [(buf.validate.field).sint32 = { gt: 10, lt: 5 }];
1648
1648
  * }
1649
1649
  * ```
@@ -1662,13 +1662,13 @@ export type SInt32Rules = Message<"buf.validate.SInt32Rules"> & {
1662
1662
  *
1663
1663
  * ```proto
1664
1664
  * message MySInt32 {
1665
- * // value must be greater than or equal to 5 [sint32.gte]
1665
+ * // must be greater than or equal to 5 [sint32.gte]
1666
1666
  * sint32 value = 1 [(buf.validate.field).sint32.gte = 5];
1667
1667
  *
1668
- * // value must be greater than or equal to 5 and less than 10 [sint32.gte_lt]
1668
+ * // must be greater than or equal to 5 and less than 10 [sint32.gte_lt]
1669
1669
  * sint32 other_value = 2 [(buf.validate.field).sint32 = { gte: 5, lt: 10 }];
1670
1670
  *
1671
- * // value must be greater than or equal to 10 or less than 5 [sint32.gte_lt_exclusive]
1671
+ * // must be greater than or equal to 10 or less than 5 [sint32.gte_lt_exclusive]
1672
1672
  * sint32 another_value = 3 [(buf.validate.field).sint32 = { gte: 10, lt: 5 }];
1673
1673
  * }
1674
1674
  * ```
@@ -1688,7 +1688,7 @@ export type SInt32Rules = Message<"buf.validate.SInt32Rules"> & {
1688
1688
  *
1689
1689
  * ```proto
1690
1690
  * message MySInt32 {
1691
- * // value must be in list [1, 2, 3]
1691
+ * // must be in list [1, 2, 3]
1692
1692
  * sint32 value = 1 [(buf.validate.field).sint32 = { in: [1, 2, 3] }];
1693
1693
  * }
1694
1694
  * ```
@@ -1765,7 +1765,7 @@ export type SInt64Rules = Message<"buf.validate.SInt64Rules"> & {
1765
1765
  *
1766
1766
  * ```proto
1767
1767
  * message MySInt64 {
1768
- * // value must be less than 10
1768
+ * // must be less than 10
1769
1769
  * sint64 value = 1 [(buf.validate.field).sint64.lt = 10];
1770
1770
  * }
1771
1771
  * ```
@@ -1782,7 +1782,7 @@ export type SInt64Rules = Message<"buf.validate.SInt64Rules"> & {
1782
1782
  *
1783
1783
  * ```proto
1784
1784
  * message MySInt64 {
1785
- * // value must be less than or equal to 10
1785
+ * // must be less than or equal to 10
1786
1786
  * sint64 value = 1 [(buf.validate.field).sint64.lte = 10];
1787
1787
  * }
1788
1788
  * ```
@@ -1808,13 +1808,13 @@ export type SInt64Rules = Message<"buf.validate.SInt64Rules"> & {
1808
1808
  *
1809
1809
  * ```proto
1810
1810
  * message MySInt64 {
1811
- * // value must be greater than 5 [sint64.gt]
1811
+ * // must be greater than 5 [sint64.gt]
1812
1812
  * sint64 value = 1 [(buf.validate.field).sint64.gt = 5];
1813
1813
  *
1814
- * // value must be greater than 5 and less than 10 [sint64.gt_lt]
1814
+ * // must be greater than 5 and less than 10 [sint64.gt_lt]
1815
1815
  * sint64 other_value = 2 [(buf.validate.field).sint64 = { gt: 5, lt: 10 }];
1816
1816
  *
1817
- * // value must be greater than 10 or less than 5 [sint64.gt_lt_exclusive]
1817
+ * // must be greater than 10 or less than 5 [sint64.gt_lt_exclusive]
1818
1818
  * sint64 another_value = 3 [(buf.validate.field).sint64 = { gt: 10, lt: 5 }];
1819
1819
  * }
1820
1820
  * ```
@@ -1833,13 +1833,13 @@ export type SInt64Rules = Message<"buf.validate.SInt64Rules"> & {
1833
1833
  *
1834
1834
  * ```proto
1835
1835
  * message MySInt64 {
1836
- * // value must be greater than or equal to 5 [sint64.gte]
1836
+ * // must be greater than or equal to 5 [sint64.gte]
1837
1837
  * sint64 value = 1 [(buf.validate.field).sint64.gte = 5];
1838
1838
  *
1839
- * // value must be greater than or equal to 5 and less than 10 [sint64.gte_lt]
1839
+ * // must be greater than or equal to 5 and less than 10 [sint64.gte_lt]
1840
1840
  * sint64 other_value = 2 [(buf.validate.field).sint64 = { gte: 5, lt: 10 }];
1841
1841
  *
1842
- * // value must be greater than or equal to 10 or less than 5 [sint64.gte_lt_exclusive]
1842
+ * // must be greater than or equal to 10 or less than 5 [sint64.gte_lt_exclusive]
1843
1843
  * sint64 another_value = 3 [(buf.validate.field).sint64 = { gte: 10, lt: 5 }];
1844
1844
  * }
1845
1845
  * ```
@@ -1859,7 +1859,7 @@ export type SInt64Rules = Message<"buf.validate.SInt64Rules"> & {
1859
1859
  *
1860
1860
  * ```proto
1861
1861
  * message MySInt64 {
1862
- * // value must be in list [1, 2, 3]
1862
+ * // must be in list [1, 2, 3]
1863
1863
  * sint64 value = 1 [(buf.validate.field).sint64 = { in: [1, 2, 3] }];
1864
1864
  * }
1865
1865
  * ```
@@ -1936,7 +1936,7 @@ export type Fixed32Rules = Message<"buf.validate.Fixed32Rules"> & {
1936
1936
  *
1937
1937
  * ```proto
1938
1938
  * message MyFixed32 {
1939
- * // value must be less than 10
1939
+ * // must be less than 10
1940
1940
  * fixed32 value = 1 [(buf.validate.field).fixed32.lt = 10];
1941
1941
  * }
1942
1942
  * ```
@@ -1953,7 +1953,7 @@ export type Fixed32Rules = Message<"buf.validate.Fixed32Rules"> & {
1953
1953
  *
1954
1954
  * ```proto
1955
1955
  * message MyFixed32 {
1956
- * // value must be less than or equal to 10
1956
+ * // must be less than or equal to 10
1957
1957
  * fixed32 value = 1 [(buf.validate.field).fixed32.lte = 10];
1958
1958
  * }
1959
1959
  * ```
@@ -1979,13 +1979,13 @@ export type Fixed32Rules = Message<"buf.validate.Fixed32Rules"> & {
1979
1979
  *
1980
1980
  * ```proto
1981
1981
  * message MyFixed32 {
1982
- * // value must be greater than 5 [fixed32.gt]
1982
+ * // must be greater than 5 [fixed32.gt]
1983
1983
  * fixed32 value = 1 [(buf.validate.field).fixed32.gt = 5];
1984
1984
  *
1985
- * // value must be greater than 5 and less than 10 [fixed32.gt_lt]
1985
+ * // must be greater than 5 and less than 10 [fixed32.gt_lt]
1986
1986
  * fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gt: 5, lt: 10 }];
1987
1987
  *
1988
- * // value must be greater than 10 or less than 5 [fixed32.gt_lt_exclusive]
1988
+ * // must be greater than 10 or less than 5 [fixed32.gt_lt_exclusive]
1989
1989
  * fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gt: 10, lt: 5 }];
1990
1990
  * }
1991
1991
  * ```
@@ -2004,13 +2004,13 @@ export type Fixed32Rules = Message<"buf.validate.Fixed32Rules"> & {
2004
2004
  *
2005
2005
  * ```proto
2006
2006
  * message MyFixed32 {
2007
- * // value must be greater than or equal to 5 [fixed32.gte]
2007
+ * // must be greater than or equal to 5 [fixed32.gte]
2008
2008
  * fixed32 value = 1 [(buf.validate.field).fixed32.gte = 5];
2009
2009
  *
2010
- * // value must be greater than or equal to 5 and less than 10 [fixed32.gte_lt]
2010
+ * // must be greater than or equal to 5 and less than 10 [fixed32.gte_lt]
2011
2011
  * fixed32 other_value = 2 [(buf.validate.field).fixed32 = { gte: 5, lt: 10 }];
2012
2012
  *
2013
- * // value must be greater than or equal to 10 or less than 5 [fixed32.gte_lt_exclusive]
2013
+ * // must be greater than or equal to 10 or less than 5 [fixed32.gte_lt_exclusive]
2014
2014
  * fixed32 another_value = 3 [(buf.validate.field).fixed32 = { gte: 10, lt: 5 }];
2015
2015
  * }
2016
2016
  * ```
@@ -2030,7 +2030,7 @@ export type Fixed32Rules = Message<"buf.validate.Fixed32Rules"> & {
2030
2030
  *
2031
2031
  * ```proto
2032
2032
  * message MyFixed32 {
2033
- * // value must be in list [1, 2, 3]
2033
+ * // must be in list [1, 2, 3]
2034
2034
  * fixed32 value = 1 [(buf.validate.field).fixed32 = { in: [1, 2, 3] }];
2035
2035
  * }
2036
2036
  * ```
@@ -2107,7 +2107,7 @@ export type Fixed64Rules = Message<"buf.validate.Fixed64Rules"> & {
2107
2107
  *
2108
2108
  * ```proto
2109
2109
  * message MyFixed64 {
2110
- * // value must be less than 10
2110
+ * // must be less than 10
2111
2111
  * fixed64 value = 1 [(buf.validate.field).fixed64.lt = 10];
2112
2112
  * }
2113
2113
  * ```
@@ -2124,7 +2124,7 @@ export type Fixed64Rules = Message<"buf.validate.Fixed64Rules"> & {
2124
2124
  *
2125
2125
  * ```proto
2126
2126
  * message MyFixed64 {
2127
- * // value must be less than or equal to 10
2127
+ * // must be less than or equal to 10
2128
2128
  * fixed64 value = 1 [(buf.validate.field).fixed64.lte = 10];
2129
2129
  * }
2130
2130
  * ```
@@ -2150,13 +2150,13 @@ export type Fixed64Rules = Message<"buf.validate.Fixed64Rules"> & {
2150
2150
  *
2151
2151
  * ```proto
2152
2152
  * message MyFixed64 {
2153
- * // value must be greater than 5 [fixed64.gt]
2153
+ * // must be greater than 5 [fixed64.gt]
2154
2154
  * fixed64 value = 1 [(buf.validate.field).fixed64.gt = 5];
2155
2155
  *
2156
- * // value must be greater than 5 and less than 10 [fixed64.gt_lt]
2156
+ * // must be greater than 5 and less than 10 [fixed64.gt_lt]
2157
2157
  * fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gt: 5, lt: 10 }];
2158
2158
  *
2159
- * // value must be greater than 10 or less than 5 [fixed64.gt_lt_exclusive]
2159
+ * // must be greater than 10 or less than 5 [fixed64.gt_lt_exclusive]
2160
2160
  * fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gt: 10, lt: 5 }];
2161
2161
  * }
2162
2162
  * ```
@@ -2175,13 +2175,13 @@ export type Fixed64Rules = Message<"buf.validate.Fixed64Rules"> & {
2175
2175
  *
2176
2176
  * ```proto
2177
2177
  * message MyFixed64 {
2178
- * // value must be greater than or equal to 5 [fixed64.gte]
2178
+ * // must be greater than or equal to 5 [fixed64.gte]
2179
2179
  * fixed64 value = 1 [(buf.validate.field).fixed64.gte = 5];
2180
2180
  *
2181
- * // value must be greater than or equal to 5 and less than 10 [fixed64.gte_lt]
2181
+ * // must be greater than or equal to 5 and less than 10 [fixed64.gte_lt]
2182
2182
  * fixed64 other_value = 2 [(buf.validate.field).fixed64 = { gte: 5, lt: 10 }];
2183
2183
  *
2184
- * // value must be greater than or equal to 10 or less than 5 [fixed64.gte_lt_exclusive]
2184
+ * // must be greater than or equal to 10 or less than 5 [fixed64.gte_lt_exclusive]
2185
2185
  * fixed64 another_value = 3 [(buf.validate.field).fixed64 = { gte: 10, lt: 5 }];
2186
2186
  * }
2187
2187
  * ```
@@ -2201,7 +2201,7 @@ export type Fixed64Rules = Message<"buf.validate.Fixed64Rules"> & {
2201
2201
  *
2202
2202
  * ```proto
2203
2203
  * message MyFixed64 {
2204
- * // value must be in list [1, 2, 3]
2204
+ * // must be in list [1, 2, 3]
2205
2205
  * fixed64 value = 1 [(buf.validate.field).fixed64 = { in: [1, 2, 3] }];
2206
2206
  * }
2207
2207
  * ```
@@ -2278,7 +2278,7 @@ export type SFixed32Rules = Message<"buf.validate.SFixed32Rules"> & {
2278
2278
  *
2279
2279
  * ```proto
2280
2280
  * message MySFixed32 {
2281
- * // value must be less than 10
2281
+ * // must be less than 10
2282
2282
  * sfixed32 value = 1 [(buf.validate.field).sfixed32.lt = 10];
2283
2283
  * }
2284
2284
  * ```
@@ -2295,7 +2295,7 @@ export type SFixed32Rules = Message<"buf.validate.SFixed32Rules"> & {
2295
2295
  *
2296
2296
  * ```proto
2297
2297
  * message MySFixed32 {
2298
- * // value must be less than or equal to 10
2298
+ * // must be less than or equal to 10
2299
2299
  * sfixed32 value = 1 [(buf.validate.field).sfixed32.lte = 10];
2300
2300
  * }
2301
2301
  * ```
@@ -2321,13 +2321,13 @@ export type SFixed32Rules = Message<"buf.validate.SFixed32Rules"> & {
2321
2321
  *
2322
2322
  * ```proto
2323
2323
  * message MySFixed32 {
2324
- * // value must be greater than 5 [sfixed32.gt]
2324
+ * // must be greater than 5 [sfixed32.gt]
2325
2325
  * sfixed32 value = 1 [(buf.validate.field).sfixed32.gt = 5];
2326
2326
  *
2327
- * // value must be greater than 5 and less than 10 [sfixed32.gt_lt]
2327
+ * // must be greater than 5 and less than 10 [sfixed32.gt_lt]
2328
2328
  * sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gt: 5, lt: 10 }];
2329
2329
  *
2330
- * // value must be greater than 10 or less than 5 [sfixed32.gt_lt_exclusive]
2330
+ * // must be greater than 10 or less than 5 [sfixed32.gt_lt_exclusive]
2331
2331
  * sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gt: 10, lt: 5 }];
2332
2332
  * }
2333
2333
  * ```
@@ -2346,13 +2346,13 @@ export type SFixed32Rules = Message<"buf.validate.SFixed32Rules"> & {
2346
2346
  *
2347
2347
  * ```proto
2348
2348
  * message MySFixed32 {
2349
- * // value must be greater than or equal to 5 [sfixed32.gte]
2349
+ * // must be greater than or equal to 5 [sfixed32.gte]
2350
2350
  * sfixed32 value = 1 [(buf.validate.field).sfixed32.gte = 5];
2351
2351
  *
2352
- * // value must be greater than or equal to 5 and less than 10 [sfixed32.gte_lt]
2352
+ * // must be greater than or equal to 5 and less than 10 [sfixed32.gte_lt]
2353
2353
  * sfixed32 other_value = 2 [(buf.validate.field).sfixed32 = { gte: 5, lt: 10 }];
2354
2354
  *
2355
- * // value must be greater than or equal to 10 or less than 5 [sfixed32.gte_lt_exclusive]
2355
+ * // must be greater than or equal to 10 or less than 5 [sfixed32.gte_lt_exclusive]
2356
2356
  * sfixed32 another_value = 3 [(buf.validate.field).sfixed32 = { gte: 10, lt: 5 }];
2357
2357
  * }
2358
2358
  * ```
@@ -2372,7 +2372,7 @@ export type SFixed32Rules = Message<"buf.validate.SFixed32Rules"> & {
2372
2372
  *
2373
2373
  * ```proto
2374
2374
  * message MySFixed32 {
2375
- * // value must be in list [1, 2, 3]
2375
+ * // must be in list [1, 2, 3]
2376
2376
  * sfixed32 value = 1 [(buf.validate.field).sfixed32 = { in: [1, 2, 3] }];
2377
2377
  * }
2378
2378
  * ```
@@ -2449,7 +2449,7 @@ export type SFixed64Rules = Message<"buf.validate.SFixed64Rules"> & {
2449
2449
  *
2450
2450
  * ```proto
2451
2451
  * message MySFixed64 {
2452
- * // value must be less than 10
2452
+ * // must be less than 10
2453
2453
  * sfixed64 value = 1 [(buf.validate.field).sfixed64.lt = 10];
2454
2454
  * }
2455
2455
  * ```
@@ -2466,7 +2466,7 @@ export type SFixed64Rules = Message<"buf.validate.SFixed64Rules"> & {
2466
2466
  *
2467
2467
  * ```proto
2468
2468
  * message MySFixed64 {
2469
- * // value must be less than or equal to 10
2469
+ * // must be less than or equal to 10
2470
2470
  * sfixed64 value = 1 [(buf.validate.field).sfixed64.lte = 10];
2471
2471
  * }
2472
2472
  * ```
@@ -2492,13 +2492,13 @@ export type SFixed64Rules = Message<"buf.validate.SFixed64Rules"> & {
2492
2492
  *
2493
2493
  * ```proto
2494
2494
  * message MySFixed64 {
2495
- * // value must be greater than 5 [sfixed64.gt]
2495
+ * // must be greater than 5 [sfixed64.gt]
2496
2496
  * sfixed64 value = 1 [(buf.validate.field).sfixed64.gt = 5];
2497
2497
  *
2498
- * // value must be greater than 5 and less than 10 [sfixed64.gt_lt]
2498
+ * // must be greater than 5 and less than 10 [sfixed64.gt_lt]
2499
2499
  * sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gt: 5, lt: 10 }];
2500
2500
  *
2501
- * // value must be greater than 10 or less than 5 [sfixed64.gt_lt_exclusive]
2501
+ * // must be greater than 10 or less than 5 [sfixed64.gt_lt_exclusive]
2502
2502
  * sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gt: 10, lt: 5 }];
2503
2503
  * }
2504
2504
  * ```
@@ -2517,13 +2517,13 @@ export type SFixed64Rules = Message<"buf.validate.SFixed64Rules"> & {
2517
2517
  *
2518
2518
  * ```proto
2519
2519
  * message MySFixed64 {
2520
- * // value must be greater than or equal to 5 [sfixed64.gte]
2520
+ * // must be greater than or equal to 5 [sfixed64.gte]
2521
2521
  * sfixed64 value = 1 [(buf.validate.field).sfixed64.gte = 5];
2522
2522
  *
2523
- * // value must be greater than or equal to 5 and less than 10 [sfixed64.gte_lt]
2523
+ * // must be greater than or equal to 5 and less than 10 [sfixed64.gte_lt]
2524
2524
  * sfixed64 other_value = 2 [(buf.validate.field).sfixed64 = { gte: 5, lt: 10 }];
2525
2525
  *
2526
- * // value must be greater than or equal to 10 or less than 5 [sfixed64.gte_lt_exclusive]
2526
+ * // must be greater than or equal to 10 or less than 5 [sfixed64.gte_lt_exclusive]
2527
2527
  * sfixed64 another_value = 3 [(buf.validate.field).sfixed64 = { gte: 10, lt: 5 }];
2528
2528
  * }
2529
2529
  * ```
@@ -2543,7 +2543,7 @@ export type SFixed64Rules = Message<"buf.validate.SFixed64Rules"> & {
2543
2543
  *
2544
2544
  * ```proto
2545
2545
  * message MySFixed64 {
2546
- * // value must be in list [1, 2, 3]
2546
+ * // must be in list [1, 2, 3]
2547
2547
  * sfixed64 value = 1 [(buf.validate.field).sfixed64 = { in: [1, 2, 3] }];
2548
2548
  * }
2549
2549
  * ```
@@ -2832,7 +2832,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2832
2832
  *
2833
2833
  * ```proto
2834
2834
  * message MyString {
2835
- * // value must be in list ["apple", "banana"]
2835
+ * // must be in list ["apple", "banana"]
2836
2836
  * string value = 1 [(buf.validate.field).string.in = "apple", (buf.validate.field).string.in = "banana"];
2837
2837
  * }
2838
2838
  * ```
@@ -2874,7 +2874,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2874
2874
  *
2875
2875
  * ```proto
2876
2876
  * message MyString {
2877
- * // value must be a valid email address
2877
+ * // must be a valid email address
2878
2878
  * string value = 1 [(buf.validate.field).string.email = true];
2879
2879
  * }
2880
2880
  * ```
@@ -2900,7 +2900,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2900
2900
  *
2901
2901
  * ```proto
2902
2902
  * message MyString {
2903
- * // value must be a valid hostname
2903
+ * // must be a valid hostname
2904
2904
  * string value = 1 [(buf.validate.field).string.hostname = true];
2905
2905
  * }
2906
2906
  * ```
@@ -2925,7 +2925,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2925
2925
  *
2926
2926
  * ```proto
2927
2927
  * message MyString {
2928
- * // value must be a valid IP address
2928
+ * // must be a valid IP address
2929
2929
  * string value = 1 [(buf.validate.field).string.ip = true];
2930
2930
  * }
2931
2931
  * ```
@@ -2942,7 +2942,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2942
2942
  *
2943
2943
  * ```proto
2944
2944
  * message MyString {
2945
- * // value must be a valid IPv4 address
2945
+ * // must be a valid IPv4 address
2946
2946
  * string value = 1 [(buf.validate.field).string.ipv4 = true];
2947
2947
  * }
2948
2948
  * ```
@@ -2959,7 +2959,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2959
2959
  *
2960
2960
  * ```proto
2961
2961
  * message MyString {
2962
- * // value must be a valid IPv6 address
2962
+ * // must be a valid IPv6 address
2963
2963
  * string value = 1 [(buf.validate.field).string.ipv6 = true];
2964
2964
  * }
2965
2965
  * ```
@@ -2980,7 +2980,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
2980
2980
  *
2981
2981
  * ```proto
2982
2982
  * message MyString {
2983
- * // value must be a valid URI
2983
+ * // must be a valid URI
2984
2984
  * string value = 1 [(buf.validate.field).string.uri = true];
2985
2985
  * }
2986
2986
  * ```
@@ -3004,7 +3004,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3004
3004
  *
3005
3005
  * ```proto
3006
3006
  * message MyString {
3007
- * // value must be a valid URI Reference
3007
+ * // must be a valid URI Reference
3008
3008
  * string value = 1 [(buf.validate.field).string.uri_ref = true];
3009
3009
  * }
3010
3010
  * ```
@@ -3022,7 +3022,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3022
3022
  *
3023
3023
  * ```proto
3024
3024
  * message MyString {
3025
- * // value must be a valid hostname, or ip address
3025
+ * // must be a valid hostname, or ip address
3026
3026
  * string value = 1 [(buf.validate.field).string.address = true];
3027
3027
  * }
3028
3028
  * ```
@@ -3039,7 +3039,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3039
3039
  *
3040
3040
  * ```proto
3041
3041
  * message MyString {
3042
- * // value must be a valid UUID
3042
+ * // must be a valid UUID
3043
3043
  * string value = 1 [(buf.validate.field).string.uuid = true];
3044
3044
  * }
3045
3045
  * ```
@@ -3057,7 +3057,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3057
3057
  *
3058
3058
  * ```proto
3059
3059
  * message MyString {
3060
- * // value must be a valid trimmed UUID
3060
+ * // must be a valid trimmed UUID
3061
3061
  * string value = 1 [(buf.validate.field).string.tuuid = true];
3062
3062
  * }
3063
3063
  * ```
@@ -3075,7 +3075,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3075
3075
  *
3076
3076
  * ```proto
3077
3077
  * message MyString {
3078
- * // value must be a valid IP with prefix length
3078
+ * // must be a valid IP with prefix length
3079
3079
  * string value = 1 [(buf.validate.field).string.ip_with_prefixlen = true];
3080
3080
  * }
3081
3081
  * ```
@@ -3093,7 +3093,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3093
3093
  *
3094
3094
  * ```proto
3095
3095
  * message MyString {
3096
- * // value must be a valid IPv4 address with prefix length
3096
+ * // must be a valid IPv4 address with prefix length
3097
3097
  * string value = 1 [(buf.validate.field).string.ipv4_with_prefixlen = true];
3098
3098
  * }
3099
3099
  * ```
@@ -3111,7 +3111,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3111
3111
  *
3112
3112
  * ```proto
3113
3113
  * message MyString {
3114
- * // value must be a valid IPv6 address prefix length
3114
+ * // must be a valid IPv6 address prefix length
3115
3115
  * string value = 1 [(buf.validate.field).string.ipv6_with_prefixlen = true];
3116
3116
  * }
3117
3117
  * ```
@@ -3134,7 +3134,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3134
3134
  *
3135
3135
  * ```proto
3136
3136
  * message MyString {
3137
- * // value must be a valid IP prefix
3137
+ * // must be a valid IP prefix
3138
3138
  * string value = 1 [(buf.validate.field).string.ip_prefix = true];
3139
3139
  * }
3140
3140
  * ```
@@ -3157,7 +3157,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3157
3157
  *
3158
3158
  * ```proto
3159
3159
  * message MyString {
3160
- * // value must be a valid IPv4 prefix
3160
+ * // must be a valid IPv4 prefix
3161
3161
  * string value = 1 [(buf.validate.field).string.ipv4_prefix = true];
3162
3162
  * }
3163
3163
  * ```
@@ -3180,7 +3180,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3180
3180
  *
3181
3181
  * ```proto
3182
3182
  * message MyString {
3183
- * // value must be a valid IPv6 prefix
3183
+ * // must be a valid IPv6 prefix
3184
3184
  * string value = 1 [(buf.validate.field).string.ipv6_prefix = true];
3185
3185
  * }
3186
3186
  * ```
@@ -3191,7 +3191,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3191
3191
  case: "ipv6Prefix";
3192
3192
  } | {
3193
3193
  /**
3194
- * `host_and_port` specifies that the field value must be valid host/port
3194
+ * `host_and_port` specifies that the field value must be a valid host/port
3195
3195
  * pair—for example, "example.com:8080".
3196
3196
  *
3197
3197
  * The host can be one of:
@@ -3214,7 +3214,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3214
3214
  *
3215
3215
  * ```proto
3216
3216
  * message MyString {
3217
- * // value must be a valid ULID
3217
+ * // must be a valid ULID
3218
3218
  * string value = 1 [(buf.validate.field).string.ulid = true];
3219
3219
  * }
3220
3220
  * ```
@@ -3223,6 +3223,68 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3223
3223
  */
3224
3224
  value: boolean;
3225
3225
  case: "ulid";
3226
+ } | {
3227
+ /**
3228
+ * `protobuf_fqn` specifies that the field value must be a valid fully-qualified
3229
+ * Protobuf name as defined by the [Protobuf Language Specification](https://protobuf.com/docs/language-spec).
3230
+ *
3231
+ * A fully-qualified Protobuf name is a dot-separated list of Protobuf identifiers,
3232
+ * where each identifier starts with a letter or underscore and is followed by zero or
3233
+ * more letters, underscores, or digits.
3234
+ *
3235
+ * Examples: "buf.validate", "google.protobuf.Timestamp", "my_package.MyMessage".
3236
+ *
3237
+ * Note: historically, fully-qualified Protobuf names were represented with a leading
3238
+ * dot (for example, ".buf.validate.StringRules"). Modern Protobuf does not use the
3239
+ * leading dot, and most fully-qualified names are represented without it. Use
3240
+ * `protobuf_dot_fqn` if a leading dot is required.
3241
+ *
3242
+ * If the field value isn't a valid fully-qualified Protobuf name, an error message
3243
+ * will be generated.
3244
+ *
3245
+ * ```proto
3246
+ * message MyString {
3247
+ * // value must be a valid fully-qualified Protobuf name
3248
+ * string value = 1 [(buf.validate.field).string.protobuf_fqn = true];
3249
+ * }
3250
+ * ```
3251
+ *
3252
+ * @generated from field: bool protobuf_fqn = 37;
3253
+ */
3254
+ value: boolean;
3255
+ case: "protobufFqn";
3256
+ } | {
3257
+ /**
3258
+ * `protobuf_dot_fqn` specifies that the field value must be a valid fully-qualified
3259
+ * Protobuf name with a leading dot, as defined by the
3260
+ * [Protobuf Language Specification](https://protobuf.com/docs/language-spec).
3261
+ *
3262
+ * A fully-qualified Protobuf name with a leading dot is a dot followed by a
3263
+ * dot-separated list of Protobuf identifiers, where each identifier starts with a
3264
+ * letter or underscore and is followed by zero or more letters, underscores, or
3265
+ * digits.
3266
+ *
3267
+ * Examples: ".buf.validate", ".google.protobuf.Timestamp", ".my_package.MyMessage".
3268
+ *
3269
+ * Note: this is the historical representation of fully-qualified Protobuf names,
3270
+ * where a leading dot denotes an absolute reference. Modern Protobuf does not use
3271
+ * the leading dot, and most fully-qualified names are represented without it. Most
3272
+ * users will want to use `protobuf_fqn` instead.
3273
+ *
3274
+ * If the field value isn't a valid fully-qualified Protobuf name with a leading dot,
3275
+ * an error message will be generated.
3276
+ *
3277
+ * ```proto
3278
+ * message MyString {
3279
+ * // value must be a valid fully-qualified Protobuf name with a leading dot
3280
+ * string value = 1 [(buf.validate.field).string.protobuf_dot_fqn = true];
3281
+ * }
3282
+ * ```
3283
+ *
3284
+ * @generated from field: bool protobuf_dot_fqn = 38;
3285
+ */
3286
+ value: boolean;
3287
+ case: "protobufDotFqn";
3226
3288
  } | {
3227
3289
  /**
3228
3290
  * `well_known_regex` specifies a common well-known pattern
@@ -3231,7 +3293,7 @@ export type StringRules = Message<"buf.validate.StringRules"> & {
3231
3293
  *
3232
3294
  * ```proto
3233
3295
  * message MyString {
3234
- * // value must be a valid HTTP header value
3296
+ * // must be a valid HTTP header value
3235
3297
  * string value = 1 [(buf.validate.field).string.well_known_regex = KNOWN_REGEX_HTTP_HEADER_VALUE];
3236
3298
  * }
3237
3299
  * ```
@@ -3307,7 +3369,7 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3307
3369
  *
3308
3370
  * ```proto
3309
3371
  * message MyBytes {
3310
- * // value must be "\x01\x02\x03\x04"
3372
+ * // must be "\x01\x02\x03\x04"
3311
3373
  * bytes value = 1 [(buf.validate.field).bytes.const = "\x01\x02\x03\x04"];
3312
3374
  * }
3313
3375
  * ```
@@ -3351,7 +3413,7 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3351
3413
  *
3352
3414
  * ```proto
3353
3415
  * message MyBytes {
3354
- * // value must be at most 6 bytes.
3416
+ * // must be at most 6 bytes.
3355
3417
  * optional bytes value = 1 [(buf.validate.field).bytes.max_len = 6];
3356
3418
  * }
3357
3419
  * ```
@@ -3465,7 +3527,7 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3465
3527
  *
3466
3528
  * ```proto
3467
3529
  * message MyBytes {
3468
- * // value must be a valid IP address
3530
+ * // must be a valid IP address
3469
3531
  * optional bytes value = 1 [(buf.validate.field).bytes.ip = true];
3470
3532
  * }
3471
3533
  * ```
@@ -3481,7 +3543,7 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3481
3543
  *
3482
3544
  * ```proto
3483
3545
  * message MyBytes {
3484
- * // value must be a valid IPv4 address
3546
+ * // must be a valid IPv4 address
3485
3547
  * optional bytes value = 1 [(buf.validate.field).bytes.ipv4 = true];
3486
3548
  * }
3487
3549
  * ```
@@ -3496,7 +3558,7 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3496
3558
  * If the field value doesn't meet this rule, an error message is generated.
3497
3559
  * ```proto
3498
3560
  * message MyBytes {
3499
- * // value must be a valid IPv6 address
3561
+ * // must be a valid IPv6 address
3500
3562
  * optional bytes value = 1 [(buf.validate.field).bytes.ipv6 = true];
3501
3563
  * }
3502
3564
  * ```
@@ -3507,15 +3569,14 @@ export type BytesRules = Message<"buf.validate.BytesRules"> & {
3507
3569
  case: "ipv6";
3508
3570
  } | {
3509
3571
  /**
3510
- * `uuid` ensures that the field `value` encodes the 128-bit UUID data as
3511
- * defined by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2).
3512
- * The field must contain exactly 16 bytes
3513
- * representing the UUID. If the field value isn't a valid UUID, an error
3514
- * message will be generated.
3572
+ * `uuid` ensures that the field value encodes 128-bit UUID data as defined
3573
+ * by [RFC 4122](https://datatracker.ietf.org/doc/html/rfc4122#section-4.1.2).
3574
+ * The field must contain exactly 16 bytes representing the UUID. If the
3575
+ * field value isn't a valid UUID, an error message will be generated.
3515
3576
  *
3516
3577
  * ```proto
3517
3578
  * message MyBytes {
3518
- * // value must be a valid UUID
3579
+ * // must be a valid UUID
3519
3580
  * optional bytes value = 1 [(buf.validate.field).bytes.uuid = true];
3520
3581
  * }
3521
3582
  * ```
@@ -3853,7 +3914,7 @@ export type AnyRules = Message<"buf.validate.AnyRules"> & {
3853
3914
  */
3854
3915
  in: string[];
3855
3916
  /**
3856
- * requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
3917
+ * `not_in` requires the field's type_url to be not equal to any of the specified values. If it matches any of the specified values, an error message is generated.
3857
3918
  *
3858
3919
  * ```proto
3859
3920
  * message MyAny {
@@ -3905,7 +3966,7 @@ export type DurationRules = Message<"buf.validate.DurationRules"> & {
3905
3966
  *
3906
3967
  * ```proto
3907
3968
  * message MyDuration {
3908
- * // value must be less than 5s
3969
+ * // must be less than 5s
3909
3970
  * google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = "5s"];
3910
3971
  * }
3911
3972
  * ```
@@ -3922,7 +3983,7 @@ export type DurationRules = Message<"buf.validate.DurationRules"> & {
3922
3983
  *
3923
3984
  * ```proto
3924
3985
  * message MyDuration {
3925
- * // value must be less than or equal to 10s
3986
+ * // must be less than or equal to 10s
3926
3987
  * google.protobuf.Duration value = 1 [(buf.validate.field).duration.lte = "10s"];
3927
3988
  * }
3928
3989
  * ```
@@ -3999,7 +4060,7 @@ export type DurationRules = Message<"buf.validate.DurationRules"> & {
3999
4060
  *
4000
4061
  * ```proto
4001
4062
  * message MyDuration {
4002
- * // value must be in list [1s, 2s, 3s]
4063
+ * // must be in list [1s, 2s, 3s]
4003
4064
  * google.protobuf.Duration value = 1 [(buf.validate.field).duration.in = ["1s", "2s", "3s"]];
4004
4065
  * }
4005
4066
  * ```
@@ -4154,12 +4215,12 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4154
4215
  */
4155
4216
  lessThan: {
4156
4217
  /**
4157
- * requires the duration field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
4218
+ * `lt` requires the timestamp field value to be less than the specified value (field < value). If the field value doesn't meet the required conditions, an error message is generated.
4158
4219
  *
4159
4220
  * ```proto
4160
- * message MyDuration {
4161
- * // duration must be less than 'P3D' [duration.lt]
4162
- * google.protobuf.Duration value = 1 [(buf.validate.field).duration.lt = { seconds: 259200 }];
4221
+ * message MyTimestamp {
4222
+ * // timestamp must be less than '2023-01-01T00:00:00Z' [timestamp.lt]
4223
+ * google.protobuf.Timestamp value = 1 [(buf.validate.field).timestamp.lt = { seconds: 1672444800 }];
4163
4224
  * }
4164
4225
  * ```
4165
4226
  *
@@ -4169,7 +4230,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4169
4230
  case: "lt";
4170
4231
  } | {
4171
4232
  /**
4172
- * requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
4233
+ * `lte` requires the timestamp field value to be less than or equal to the specified value (field <= value). If the field value doesn't meet the required conditions, an error message is generated.
4173
4234
  *
4174
4235
  * ```proto
4175
4236
  * message MyTimestamp {
@@ -4188,7 +4249,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4188
4249
  *
4189
4250
  * ```proto
4190
4251
  * message MyTimestamp {
4191
- * // value must be less than now
4252
+ * // must be less than now
4192
4253
  * google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.lt_now = true];
4193
4254
  * }
4194
4255
  * ```
@@ -4260,7 +4321,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4260
4321
  *
4261
4322
  * ```proto
4262
4323
  * message MyTimestamp {
4263
- * // value must be greater than now
4324
+ * // must be greater than now
4264
4325
  * google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.gt_now = true];
4265
4326
  * }
4266
4327
  * ```
@@ -4278,7 +4339,7 @@ export type TimestampRules = Message<"buf.validate.TimestampRules"> & {
4278
4339
  *
4279
4340
  * ```proto
4280
4341
  * message MyTimestamp {
4281
- * // value must be within 1 hour of now
4342
+ * // must be within 1 hour of now
4282
4343
  * google.protobuf.Timestamp created_at = 1 [(buf.validate.field).timestamp.within = {seconds: 3600}];
4283
4344
  * }
4284
4345
  * ```
@@ -4751,7 +4812,7 @@ export declare const field: GenExtension<FieldOptions, FieldRules>;
4751
4812
  * extend buf.validate.Int32Rules {
4752
4813
  * bool is_zero [(buf.validate.predefined).cel = {
4753
4814
  * id: "int32.is_zero",
4754
- * message: "value must be zero",
4815
+ * message: "must be zero",
4755
4816
  * expression: "!rule || this == 0",
4756
4817
  * }];
4757
4818
  * }