0.11.3 (latest) 0.10.0 0.9.3 0.8.2 0.7.1 0.6.6 0.5.1 0.4.1 0.3.10

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class HotKeyInfo.

Information about a hot key.

Generated from protobuf message `google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo`

## Namespace

Google \\ Cloud \\ Dataflow \\ V1beta3 \\ HotKeyDebuggingInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ hot_key_age` | `Google\Protobuf\Duration` The age of the hot key measured from when it was first detected. |
| `↳ key` | `string` A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging". |
| `↳ key_truncated` | `bool` If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is \>5MB. |

### getHotKeyAge

The age of the hot key measured from when it was first detected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\Duration|null` |   |

### hasHotKeyAge

### clearHotKeyAge

### setHotKeyAge

The age of the hot key measured from when it was first detected.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\Duration` |

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

### getKey

A detected hot key that is causing limited parallelism. This field will
be populated only if the following flag is set to true:
"--enable_hot_key_logging".

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

### setKey

A detected hot key that is causing limited parallelism. This field will
be populated only if the following flag is set to true:
"--enable_hot_key_logging".

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

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

### getKeyTruncated

If true, then the above key is truncated and cannot be deserialized. This
occurs if the key above is populated and the key size is \>5MB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setKeyTruncated

If true, then the above key is truncated and cannot be deserialized. This
occurs if the key above is populated and the key size is \>5MB.

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

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