Annotation to define a class/interface as Restate Workflow. This triggers the code generation of the related Client class and the . When defining a class/interface as workflow, you must annotate one of its methods too as Workflow.