fromModelAvailabilityToProto