Grafeas V1 Client - Class SlsaMetadata (0.7.1)

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

Other properties of the build.

Generated from protobuf message grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ build_invocation_id string
↳ build_started_on Google\Protobuf\Timestamp
↳ build_finished_on Google\Protobuf\Timestamp
↳ completeness Grafeas\V1\SlsaProvenanceZeroTwo\SlsaCompleteness
↳ reproducible bool

getBuildInvocationId

Generated from protobuf field string build_invocation_id = 1;

Returns
TypeDescription
string

setBuildInvocationId

Generated from protobuf field string build_invocation_id = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getBuildStartedOn

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasBuildStartedOn

clearBuildStartedOn

setBuildStartedOn

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

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

getBuildFinishedOn

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

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasBuildFinishedOn

clearBuildFinishedOn

setBuildFinishedOn

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

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

getCompleteness

Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
TypeDescription
Grafeas\V1\SlsaProvenanceZeroTwo\SlsaCompleteness|null

hasCompleteness

clearCompleteness

setCompleteness

Generated from protobuf field .grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Parameter
NameDescription
var Grafeas\V1\SlsaProvenanceZeroTwo\SlsaCompleteness
Returns
TypeDescription
$this

getReproducible

Generated from protobuf field bool reproducible = 5;

Returns
TypeDescription
bool

setReproducible

Generated from protobuf field bool reproducible = 5;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this