Grafeas V1 Client - Class SlsaMetadata (1.1.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

Namespace

Grafeas \ V1 \ SlsaProvenanceZeroTwo

Methods

__construct

Constructor.

Parameters
Name Description
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 SlsaCompleteness
↳ reproducible bool

getBuildInvocationId

Generated from protobuf field string build_invocation_id = 1;

Returns
Type Description
string

setBuildInvocationId

Generated from protobuf field string build_invocation_id = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getBuildStartedOn

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasBuildStartedOn

clearBuildStartedOn

setBuildStartedOn

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

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

getBuildFinishedOn

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasBuildFinishedOn

clearBuildFinishedOn

setBuildFinishedOn

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

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

getCompleteness

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

Returns
Type Description
SlsaCompleteness|null

hasCompleteness

clearCompleteness

setCompleteness

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

Parameter
Name Description
var SlsaCompleteness
Returns
Type Description
$this

getReproducible

Generated from protobuf field bool reproducible = 5;

Returns
Type Description
bool

setReproducible

Generated from protobuf field bool reproducible = 5;

Parameter
Name Description
var bool
Returns
Type Description
$this