Google Cloud Datastream V1 Client - Class BackfillJob (1.0.5)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setState

Backfill job state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getTrigger

Backfill job's triggering reason.

Returns
TypeDescription
int

setTrigger

Backfill job's triggering reason.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLastStartTime

Output only. Backfill job's start time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastStartTime

clearLastStartTime

setLastStartTime

Output only. Backfill job's start time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getLastEndTime

Output only. Backfill job's end time.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasLastEndTime

clearLastEndTime

setLastEndTime

Output only. Backfill job's end time.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getErrors

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setErrors

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

Parameter
NameDescription
var array<Google\Cloud\Datastream\V1\Error>
Returns
TypeDescription
$this