Google Cloud Datastream V1 Client - Class BackfillJob (2.0.0-RC1)

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

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<Google\Cloud\Datastream\V1\Error>

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

getState

Backfill job state.

Returns
Type Description
int

setState

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<Google\Cloud\Datastream\V1\Error>
Returns
Type Description
$this