Google Cloud Datastream V1 Client - Class BackfillJob (2.1.1)

Reference documentation and code samples for the Google Cloud Datastream V1 Client class BackfillJob.

Represents a backfill job on a specific stream object.

Generated from protobuf message google.cloud.datastream.v1.BackfillJob

Namespace

Google \ Cloud \ Datastream \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

Output only. Backfill job state.

↳ trigger int

Backfill job's triggering reason.

↳ last_start_time Google\Protobuf\Timestamp

Output only. Backfill job's start time.

↳ last_end_time Google\Protobuf\Timestamp

Output only. Backfill job's end time.

↳ errors array<Error>

Output only. Errors which caused the backfill job to fail.

getState

Output only. Backfill job state.

Returns
Type Description
int

setState

Output only. Backfill job state.

Parameter
Name Description
var int
Returns
Type Description
$this

getTrigger

Backfill job's triggering reason.

Returns
Type Description
int

setTrigger

Backfill job's triggering reason.

Parameter
Name Description
var int
Returns
Type Description
$this

getLastStartTime

Output only. Backfill job's start time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastStartTime

clearLastStartTime

setLastStartTime

Output only. Backfill job's start time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getLastEndTime

Output only. Backfill job's end time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasLastEndTime

clearLastEndTime

setLastEndTime

Output only. Backfill job's end time.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getErrors

Output only. Errors which caused the backfill job to fail.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setErrors

Output only. Errors which caused the backfill job to fail.

Parameter
Name Description
var array<Error>
Returns
Type Description
$this