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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class HotKeyInfo (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.HotKeyDebuggingInfo.HotKeyInfo)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.HotKeyDebuggingInfo.HotKeyInfo) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class HotKeyInfo.\n\nInformation about a hot key.\n\nGenerated from protobuf message `google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3 \\\\ HotKeyDebuggingInfo\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getHotKeyAge\n\nThe age of the hot key measured from when it was first detected.\n\n### hasHotKeyAge\n\n### clearHotKeyAge\n\n### setHotKeyAge\n\nThe age of the hot key measured from when it was first detected.\n\n### getKey\n\nA detected hot key that is causing limited parallelism. This field will\nbe populated only if the following flag is set to true:\n\"--enable_hot_key_logging\".\n\n### setKey\n\nA detected hot key that is causing limited parallelism. This field will\nbe populated only if the following flag is set to true:\n\"--enable_hot_key_logging\".\n\n### getKeyTruncated\n\nIf true, then the above key is truncated and cannot be deserialized. This\noccurs if the key above is populated and the key size is \\\u003e5MB.\n\n### setKeyTruncated\n\nIf true, then the above key is truncated and cannot be deserialized. This\noccurs if the key above is populated and the key size is \\\u003e5MB."]]