// from a WorkflowService request using field paths declared in the
// temporal.api.protometa.v1.request_header proto annotation.
func workflowServiceRequestRoutingKey(req any) namespace.RoutingKey {
routing_key_extractor_gen.go
switch r := req.(type) {
case *workflowservice.CreateScheduleRequest:
return namespace.RoutingKey{ID: r.GetScheduleId()}