def METHOD_NAME(self, request, _):
    """Get details of a model.
    Args:
        request (object): pb2 object of GetModelRequest
        _ (object): Not used
    Returns:
        object: pb2 object of ModelDetails
    """
    model = self.modeller.get_model(request.identifier)
    if model:
        created_at_str = self._get_model_created_at_str(model)
        return model_pb2.ModelDetails(name=model.name,
                                      handle=model.handle,
                                      status=model.state,
                                      createdAt=created_at_str,
                                      description=model.description,
                                      message=model.message,
                                      warnings=model.warnings)
    return model_pb2.ModelDetails()