Grafeas V1 Client - Class BuildMetadata (1.0.0)

Reference documentation and code samples for the Grafeas V1 Client class BuildMetadata.

Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata

Namespace

Grafeas \ V1 \ InTotoSlsaProvenanceV1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ invocation_id string
↳ started_on Google\Protobuf\Timestamp
↳ finished_on Google\Protobuf\Timestamp

getInvocationId

Generated from protobuf field string invocation_id = 1;

Returns
Type Description
string

setInvocationId

Generated from protobuf field string invocation_id = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getStartedOn

Generated from protobuf field .google.protobuf.Timestamp started_on = 2;

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartedOn

clearStartedOn

setStartedOn

Generated from protobuf field .google.protobuf.Timestamp started_on = 2;

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

getFinishedOn

Generated from protobuf field .google.protobuf.Timestamp finished_on = 3;

Returns
Type Description
Google\Protobuf\Timestamp|null

hasFinishedOn

clearFinishedOn

setFinishedOn

Generated from protobuf field .google.protobuf.Timestamp finished_on = 3;

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