code: public TaskDef getTaskDef(String taskType) {
          Preconditions.checkArgument(StringUtils.isNotBlank(taskType), "Task type cannot be blank");
          return protoMapper.fromProto(
                  stub.getTask(MetadataServicePb.GetTaskRequest.newBuilder()
                          .setTaskType(taskType)
                          .build()
                  ).getTask()
          );
      }
docs: Retrieve the task definition of a given task type
  
  @param taskType type of task for which to retrieve the definition
  @return Task Definition for the given task type