0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class FileMetadataSection.

File metadata section.

Generated from protobuf message `google.backstory.FileMetadataSection`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the section. |
| `↳ entropy` | `float` Entropy of the section. |
| `↳ raw_size_bytes` | `int|string` Raw file size in bytes. |
| `↳ virtual_size_bytes` | `int|string` Virtual file size in bytes. |
| `↳ md5_hex` | `string` MD5 hex of the file. |

### getName

Name of the section.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Name of the section.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getEntropy

Entropy of the section.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setEntropy

Entropy of the section.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getRawSizeBytes

Raw file size in bytes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setRawSizeBytes

Raw file size in bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getVirtualSizeBytes

Virtual file size in bytes.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setVirtualSizeBytes

Virtual file size in bytes.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getMd5Hex

MD5 hex of the file.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setMd5Hex

MD5 hex of the file.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |