Google Cloud Dataflow V1beta3 Client - Class KeyRangeLocation (0.4.1)

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 message google.dataflow.v1beta3.KeyRangeLocation

Namespace

Google \ Cloud \ Dataflow \ V1beta3

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setStart

The start (inclusive) of the key range.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEnd

The end (exclusive) of the key range.

Returns
TypeDescription
string

setEnd

The end (exclusive) of the key range.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDeliveryEndpoint

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

Returns
TypeDescription
string

setDeliveryEndpoint

The physical location of this range assignment to be used for streaming computation cross-worker message delivery.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getDeprecatedPersistentDirectory

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

Returns
TypeDescription
string

setDeprecatedPersistentDirectory

DEPRECATED. The location of the persistent state for this range, as a persistent directory in the worker local filesystem.

Parameter
NameDescription
var string
Returns
TypeDescription
$this