Grafeas V1 Client - Class BuildDefinition (1.1.0)

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

Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition

Namespace

Grafeas \ V1 \ InTotoSlsaProvenanceV1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ build_type string
↳ external_parameters Google\Protobuf\Struct
↳ internal_parameters Google\Protobuf\Struct
↳ resolved_dependencies array<Grafeas\V1\InTotoSlsaProvenanceV1\ResourceDescriptor>

getBuildType

Generated from protobuf field string build_type = 1;

Returns
Type Description
string

setBuildType

Generated from protobuf field string build_type = 1;

Parameter
Name Description
var string
Returns
Type Description
$this

getExternalParameters

Generated from protobuf field .google.protobuf.Struct external_parameters = 2;

Returns
Type Description
Google\Protobuf\Struct|null

hasExternalParameters

clearExternalParameters

setExternalParameters

Generated from protobuf field .google.protobuf.Struct external_parameters = 2;

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

getInternalParameters

Generated from protobuf field .google.protobuf.Struct internal_parameters = 3;

Returns
Type Description
Google\Protobuf\Struct|null

hasInternalParameters

clearInternalParameters

setInternalParameters

Generated from protobuf field .google.protobuf.Struct internal_parameters = 3;

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

getResolvedDependencies

Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setResolvedDependencies

Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor resolved_dependencies = 4;

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