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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Cloud\Dataflow\V1beta3\StreamingStageLocation|null |
hasStreamingStageLocation
setStreamingStageLocation
The stream is part of another computation within the current streaming Dataflow job.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataflow\V1beta3\StreamingStageLocation
|
Returns | |
---|---|
Type | Description |
$this |
getPubsubLocation
The stream is a pubsub stream.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataflow\V1beta3\PubsubLocation|null |
hasPubsubLocation
setPubsubLocation
The stream is a pubsub stream.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataflow\V1beta3\PubsubLocation
|
Returns | |
---|---|
Type | Description |
$this |
getSideInputLocation
The stream is a streaming side input.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataflow\V1beta3\StreamingSideInputLocation|null |
hasSideInputLocation
setSideInputLocation
The stream is a streaming side input.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataflow\V1beta3\StreamingSideInputLocation
|
Returns | |
---|---|
Type | Description |
$this |
getCustomSourceLocation
The stream is a custom source.
Returns | |
---|---|
Type | Description |
Google\Cloud\Dataflow\V1beta3\CustomSourceLocation|null |
hasCustomSourceLocation
setCustomSourceLocation
The stream is a custom source.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Dataflow\V1beta3\CustomSourceLocation
|
Returns | |
---|---|
Type | Description |
$this |
getLocation
Returns | |
---|---|
Type | Description |
string |