requirePreferencesPbExtension
Validates that this Path ends with .preferences_pb, throwing IllegalArgumentException otherwise.
Validates that this Path ends with .preferences_pb, throwing IllegalArgumentException otherwise.