# ObjFileVer

Location: [gRPC API](https://developer.m-files.com/APIs/gRPC-API/index.md) > [Reference](https://developer.m-files.com/APIs/gRPC-API/Reference/index.md) > [Messages](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/index.md)

HTML version: https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjFileVer/

Identifies one version of a file of an object.

- **Full name:** `MFiles.ObjFileVer`
- **Proto file:** [`mfiles/structs.proto`](https://developer.m-files.com/APIs/gRPC-API/downloads/proto/mfiles/structs.proto)

<a id="fields"></a>

## Fields

| Field | Type | Number | Description |
|---|---|---|---|
| <a id="f-obj_id"></a>`obj_id` | [`ObjID`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.ObjID/index.md) | 1 | The object that owns the file. |
| <a id="f-file_ver"></a>`file_ver` | [`FileVer`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FileVer/index.md) | 2 | The specific file version, as in `File.file_ver`. |

<a id="used-by-methods"></a>

## Used by methods

- [IRPCDocumentOperationsFileIOInternal.GetFileOutline](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCDocumentOperationsFileIOInternal/GetFileOutline/index.md): Gets the size and MD5 checksum of a file version.
- [IRPCIndexingDataSource.DownloadFile_BeginForFIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource/DownloadFile_BeginForFIX/index.md): Begins downloading a file for file data indexing.
- [IRPCIndexingDataSource2.GetTextContentForFileForIX](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCIndexingDataSource2/GetTextContentForFileForIX/index.md): Gets the text that the server extracts from a file version for indexing, in the response.
- [IRPCObjectOperations.DownloadFile_Begin](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/DownloadFile_Begin/index.md): Opens a download session for a file version and returns its ID, the content size and, on request, its MD5 checksum.
- [IRPCObjectOperations.FindFileDuplicates](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/FindFileDuplicates/index.md): Finds files in the vault with the same content as the given file version.
- [IRPCObjectOperations.GetComparisonUrlOfUploadedFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetComparisonUrlOfUploadedFile/index.md): Gets a URL of a page that shows the differences between a document file in the vault and a stateless upload identified by its `file_ref`.
- [IRPCObjectOperations.GetDocumentComparisonUrl](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetDocumentComparisonUrl/index.md): Gets a URL of a page that shows the differences between two document files in the vault.
- [IRPCObjectOperations.GetDocumentComparisonWithTempFileUrl](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetDocumentComparisonWithTempFileUrl/index.md): Gets a URL of a page that shows the differences between a document file in the vault and an uploaded temporary file.
- [IRPCObjectOperations.GetFileSize](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetFileSize/index.md): Gets the size of a specific file version in bytes.
- [IRPCObjectOperations.GetTextContentForFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetTextContentForFile/index.md): Gets the plain text content of a file version.
- [IRPCObjectOperations.GetTextContentForFileWithFormat](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/GetTextContentForFileWithFormat/index.md): Gets the text content of a file version as plain text or Markdown, and reports which format was produced.
- [IRPCObjectOperations.HasFileDuplicates](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/HasFileDuplicates/index.md): Tells whether a file with the given content (checksum) already exists in the vault.
- [IRPCObjectOperations.PrepareFile](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/PrepareFile/index.md): Prepares a PDF rendition of a file version and reports its size, extension and timestamp.
- [IRPCObjectOperations.UploadExistingFiles](https://developer.m-files.com/APIs/gRPC-API/Reference/MFiles.IRPCObjectOperations/UploadExistingFiles/index.md): Copies existing file versions into new uploads, for example to create a new object with a copy of a file.

<a id="used-by-messages"></a>

## Used by messages

- [`FileInfoForFIX`](https://developer.m-files.com/APIs/gRPC-API/Reference/Messages/MFiles.FileInfoForFIX/index.md): File info for file data indexing.
