Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class StageSummary.
Information about a particular execution stage of a job.
Generated from protobuf message google.dataflow.v1beta3.StageSummary
Namespace
Google \ Cloud \ Dataflow \ V1beta3Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ stage_id |
string
ID of this stage |
↳ state |
int
State of this stage. |
↳ start_time |
Google\Protobuf\Timestamp
Start time of this stage. |
↳ end_time |
Google\Protobuf\Timestamp
End time of this stage. If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time. |
↳ progress |
ProgressTimeseries
Progress for this stage. Only applicable to Batch jobs. |
↳ metrics |
array<MetricUpdate>
Metrics for this stage. |
getStageId
ID of this stage
Returns | |
---|---|
Type | Description |
string |
setStageId
ID of this stage
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
State of this stage.
Returns | |
---|---|
Type | Description |
int |
setState
State of this stage.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getStartTime
Start time of this stage.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Start time of this stage.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
End time of this stage.
If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
End time of this stage.
If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getProgress
Progress for this stage.
Only applicable to Batch jobs.
Returns | |
---|---|
Type | Description |
ProgressTimeseries|null |
hasProgress
clearProgress
setProgress
Progress for this stage.
Only applicable to Batch jobs.
Parameter | |
---|---|
Name | Description |
var |
ProgressTimeseries
|
Returns | |
---|---|
Type | Description |
$this |
getMetrics
Metrics for this stage.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setMetrics
Metrics for this stage.
Parameter | |
---|---|
Name | Description |
var |
array<MetricUpdate>
|
Returns | |
---|---|
Type | Description |
$this |