Grafeas V1 Client - Class SlsaMetadata (0.10.3)

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

Other properties of the build.

Generated from protobuf message grafeas.v1.SlsaProvenance.SlsaMetadata

Namespace

Grafeas \ V1 \ SlsaProvenance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ build_invocation_id string

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

↳ build_started_on Google\Protobuf\Timestamp

The timestamp of when the build started.

↳ build_finished_on Google\Protobuf\Timestamp

The timestamp of when the build completed.

↳ completeness Grafeas\V1\SlsaProvenance\SlsaCompleteness

Indicates that the builder claims certain fields in this message to be complete.

↳ reproducible bool

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

getBuildInvocationId

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

Returns
Type Description
string

setBuildInvocationId

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

Parameter
Name Description
var string
Returns
Type Description
$this

getBuildStartedOn

The timestamp of when the build started.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasBuildStartedOn

clearBuildStartedOn

setBuildStartedOn

The timestamp of when the build started.

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

getBuildFinishedOn

The timestamp of when the build completed.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasBuildFinishedOn

clearBuildFinishedOn

setBuildFinishedOn

The timestamp of when the build completed.

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

getCompleteness

Indicates that the builder claims certain fields in this message to be complete.

Returns
Type Description
Grafeas\V1\SlsaProvenance\SlsaCompleteness|null

hasCompleteness

clearCompleteness

setCompleteness

Indicates that the builder claims certain fields in this message to be complete.

Parameter
Name Description
var Grafeas\V1\SlsaProvenance\SlsaCompleteness
Returns
Type Description
$this

getReproducible

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

Returns
Type Description
bool

setReproducible

If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

Parameter
Name Description
var bool
Returns
Type Description
$this