MinPairs specifies that this field must have the specified number of KVs at a minimum
MaxPairs specifies that this field must have the specified number of KVs at a maximum
NoSparse specifies values in this field cannot be unset. This only applies to map's with message value types.
Keys specifies the constraints to be applied to each key in the field.
Values specifies the constraints to be applied to the value of each key in the field. Message values will still have their validations evaluated unless skip is specified here.
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty
Keys specifies the constraints to be applied to each key in the field.
MaxPairs specifies that this field must have the specified number of KVs at a maximum
MinPairs specifies that this field must have the specified number of KVs at a minimum
NoSparse specifies values in this field cannot be unset.
NoSparse specifies values in this field cannot be unset. This only applies to map's with message value types.
Values specifies the constraints to be applied to the value of each key in the field.
Values specifies the constraints to be applied to the value of each key in the field. Message values will still have their validations evaluated unless skip is specified here.
(Since version 0.6.0) Use toPMessage
(Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue
MapRules describe the constraints applied to
map
valuesMinPairs specifies that this field must have the specified number of KVs at a minimum
MaxPairs specifies that this field must have the specified number of KVs at a maximum
NoSparse specifies values in this field cannot be unset. This only applies to map's with message value types.
Keys specifies the constraints to be applied to each key in the field.
Values specifies the constraints to be applied to the value of each key in the field. Message values will still have their validations evaluated unless skip is specified here.
IgnoreEmpty specifies that the validation rules of this field should be evaluated only if the field is not empty