Agriculture Victoria has confirmed Japanese encephalitis has been detected in a Goulburn Valley pig herd.