Google Cloud Migration Center V1 Client - Class ErrorFrame (1.0.2)

Reference documentation and code samples for the Google Cloud Migration Center V1 Client class ErrorFrame.

Message representing a frame which failed to be processed due to an error.

Generated from protobuf message google.cloud.migrationcenter.v1.ErrorFrame

Namespace

Google \ Cloud \ MigrationCenter \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Output only. The identifier of the ErrorFrame.

↳ violations array<FrameViolationEntry>

Output only. All the violations that were detected for the frame.

↳ original_frame AssetFrame

Output only. The frame that was originally reported.

↳ ingestion_time Google\Protobuf\Timestamp

Output only. Frame ingestion time.

getName

Output only. The identifier of the ErrorFrame.

Returns
Type Description
string

setName

Output only. The identifier of the ErrorFrame.

Parameter
Name Description
var string
Returns
Type Description
$this

getViolations

Output only. All the violations that were detected for the frame.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setViolations

Output only. All the violations that were detected for the frame.

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

getOriginalFrame

Output only. The frame that was originally reported.

Returns
Type Description
AssetFrame|null

hasOriginalFrame

clearOriginalFrame

setOriginalFrame

Output only. The frame that was originally reported.

Parameter
Name Description
var AssetFrame
Returns
Type Description
$this

getIngestionTime

Output only. Frame ingestion time.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasIngestionTime

clearIngestionTime

setIngestionTime

Output only. Frame ingestion time.

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