Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class KeyRangeLocation.
Location information for a specific key-range of a sharded computation.
Currently we only support UTF-8 character splits to simplify encoding into
JSON.
Generated from protobuf messagegoogle.dataflow.v1beta3.KeyRangeLocation
Namespace
Google \ Cloud \ Dataflow \ V1beta3
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ start
string
The start (inclusive) of the key range.
↳ end
string
The end (exclusive) of the key range.
↳ delivery_endpoint
string
The physical location of this range assignment to be used for streaming computation cross-worker message delivery.
↳ data_disk
string
The name of the data disk where data for this range is stored. This name is local to the Google Cloud Platform project and uniquely identifies the disk within that project, for example "myproject-1014-104817-4c2-harness-0-disk-1".
↳ deprecated_persistent_directory
string
DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.
getStart
The start (inclusive) of the key range.
Returns
Type
Description
string
setStart
The start (inclusive) of the key range.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getEnd
The end (exclusive) of the key range.
Returns
Type
Description
string
setEnd
The end (exclusive) of the key range.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDeliveryEndpoint
The physical location of this range assignment to be used for
streaming computation cross-worker message delivery.
Returns
Type
Description
string
setDeliveryEndpoint
The physical location of this range assignment to be used for
streaming computation cross-worker message delivery.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDataDisk
The name of the data disk where data for this range is stored.
This name is local to the Google Cloud Platform project and uniquely
identifies the disk within that project, for example
"myproject-1014-104817-4c2-harness-0-disk-1".
Returns
Type
Description
string
setDataDisk
The name of the data disk where data for this range is stored.
This name is local to the Google Cloud Platform project and uniquely
identifies the disk within that project, for example
"myproject-1014-104817-4c2-harness-0-disk-1".
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDeprecatedPersistentDirectory
DEPRECATED. The location of the persistent state for this range, as a
persistent directory in the worker local filesystem.
Returns
Type
Description
string
setDeprecatedPersistentDirectory
DEPRECATED. The location of the persistent state for this range, as a
persistent directory in the worker local filesystem.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Dataflow V1beta3 Client - Class KeyRangeLocation (0.8.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.2 (latest)](/php/docs/reference/cloud-dataflow/latest/V1beta3.KeyRangeLocation)\n- [0.8.1](/php/docs/reference/cloud-dataflow/0.8.1/V1beta3.KeyRangeLocation)\n- [0.7.1](/php/docs/reference/cloud-dataflow/0.7.1/V1beta3.KeyRangeLocation)\n- [0.6.6](/php/docs/reference/cloud-dataflow/0.6.6/V1beta3.KeyRangeLocation)\n- [0.5.1](/php/docs/reference/cloud-dataflow/0.5.1/V1beta3.KeyRangeLocation)\n- [0.4.1](/php/docs/reference/cloud-dataflow/0.4.1/V1beta3.KeyRangeLocation)\n- [0.3.10](/php/docs/reference/cloud-dataflow/0.3.10/V1beta3.KeyRangeLocation) \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 KeyRangeLocation.\n\nLocation information for a specific key-range of a sharded computation.\n\nCurrently we only support UTF-8 character splits to simplify encoding into\nJSON.\n\nGenerated from protobuf message `google.dataflow.v1beta3.KeyRangeLocation`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dataflow \\\\ V1beta3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getStart\n\nThe start (inclusive) of the key range.\n\n### setStart\n\nThe start (inclusive) of the key range.\n\n### getEnd\n\nThe end (exclusive) of the key range.\n\n### setEnd\n\nThe end (exclusive) of the key range.\n\n### getDeliveryEndpoint\n\nThe physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.\n\n### setDeliveryEndpoint\n\nThe physical location of this range assignment to be used for\nstreaming computation cross-worker message delivery.\n\n### getDataDisk\n\nThe name of the data disk where data for this range is stored.\n\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".\n\n### setDataDisk\n\nThe name of the data disk where data for this range is stored.\n\nThis name is local to the Google Cloud Platform project and uniquely\nidentifies the disk within that project, for example\n\"myproject-1014-104817-4c2-harness-0-disk-1\".\n\n### getDeprecatedPersistentDirectory\n\nDEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem.\n\n### setDeprecatedPersistentDirectory\n\nDEPRECATED. The location of the persistent state for this range, as a\npersistent directory in the worker local filesystem."]]