Grafeas V1 Client - Class RunDetails (1.1.2)

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 ProvenanceBuilder
↳ metadata BuildMetadata
↳ byproducts array<ResourceDescriptor>

getBuilder

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

Returns
Type Description
ProvenanceBuilder|null

hasBuilder

clearBuilder

setBuilder

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

Parameter
Name Description
var ProvenanceBuilder
Returns
Type Description
$this

getMetadata

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

Returns
Type Description
BuildMetadata|null

hasMetadata

clearMetadata

setMetadata

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

Parameter
Name Description
var 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<ResourceDescriptor>
Returns
Type Description
$this