Google Cloud Dataflow V1beta3 Client - Class StreamLocation (0.3.10)

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

Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.

Generated from protobuf message google.dataflow.v1beta3.StreamLocation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ streaming_stage_location Google\Cloud\Dataflow\V1beta3\StreamingStageLocation

The stream is part of another computation within the current streaming Dataflow job.

↳ pubsub_location Google\Cloud\Dataflow\V1beta3\PubsubLocation

The stream is a pubsub stream.

↳ side_input_location Google\Cloud\Dataflow\V1beta3\StreamingSideInputLocation

The stream is a streaming side input.

↳ custom_source_location Google\Cloud\Dataflow\V1beta3\CustomSourceLocation

The stream is a custom source.

getStreamingStageLocation

The stream is part of another computation within the current streaming Dataflow job.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\StreamingStageLocation|null

hasStreamingStageLocation

setStreamingStageLocation

The stream is part of another computation within the current streaming Dataflow job.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\StreamingStageLocation
Returns
TypeDescription
$this

getPubsubLocation

The stream is a pubsub stream.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\PubsubLocation|null

hasPubsubLocation

setPubsubLocation

The stream is a pubsub stream.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\PubsubLocation
Returns
TypeDescription
$this

getSideInputLocation

The stream is a streaming side input.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\StreamingSideInputLocation|null

hasSideInputLocation

setSideInputLocation

The stream is a streaming side input.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\StreamingSideInputLocation
Returns
TypeDescription
$this

getCustomSourceLocation

The stream is a custom source.

Returns
TypeDescription
Google\Cloud\Dataflow\V1beta3\CustomSourceLocation|null

hasCustomSourceLocation

setCustomSourceLocation

The stream is a custom source.

Parameter
NameDescription
var Google\Cloud\Dataflow\V1beta3\CustomSourceLocation
Returns
TypeDescription
$this

getLocation

Returns
TypeDescription
string