Using oneof type to simulate nullable valueoneof type allows you check whether the value of a property is set or not, essentialy emulating nullable type.