Grafeas V1 Client - Class RunDetails (0.10.3)

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

Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.RunDetails

Namespace

Grafeas \ V1 \ InTotoSlsaProvenanceV1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ builder Grafeas\V1\InTotoSlsaProvenanceV1\ProvenanceBuilder
↳ metadata Grafeas\V1\InTotoSlsaProvenanceV1\BuildMetadata
↳ byproducts array<Grafeas\V1\InTotoSlsaProvenanceV1\ResourceDescriptor>

getBuilder

Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Returns
Type Description
Grafeas\V1\InTotoSlsaProvenanceV1\ProvenanceBuilder|null

hasBuilder

clearBuilder

setBuilder

Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder builder = 1;

Parameter
Name Description
var Grafeas\V1\InTotoSlsaProvenanceV1\ProvenanceBuilder
Returns
Type Description
$this

getMetadata

Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Returns
Type Description
Grafeas\V1\InTotoSlsaProvenanceV1\BuildMetadata|null

hasMetadata

clearMetadata

setMetadata

Generated from protobuf field .grafeas.v1.InTotoSlsaProvenanceV1.BuildMetadata metadata = 2;

Parameter
Name Description
var Grafeas\V1\InTotoSlsaProvenanceV1\BuildMetadata
Returns
Type Description
$this

getByproducts

Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setByproducts

Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor byproducts = 3;

Parameter
Name Description
var array<Grafeas\V1\InTotoSlsaProvenanceV1\ResourceDescriptor>
Returns
Type Description
$this