Sorry i missed this one before - but in our Java API I believe we use guava's Optional. Look at the `JavaUtils` class there is a converter there.