Reference documentation and code samples for the Grafeas V1 Client class ProvenanceBuilder.
Generated from protobuf message grafeas.v1.InTotoSlsaProvenanceV1.ProvenanceBuilder
Namespace
Grafeas \ V1 \ InTotoSlsaProvenanceV1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ id |
string
|
↳ version |
array|Google\Protobuf\Internal\MapField
|
↳ builder_dependencies |
array<Grafeas\V1\InTotoSlsaProvenanceV1\ResourceDescriptor>
|
getId
Generated from protobuf field string id = 1;
Returns | |
---|---|
Type | Description |
string |
setId
Generated from protobuf field string id = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getVersion
Generated from protobuf field map<string, string> version = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
setVersion
Generated from protobuf field map<string, string> version = 2;
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
getBuilderDependencies
Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setBuilderDependencies
Generated from protobuf field repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;
Parameter | |
---|---|
Name | Description |
var |
array<Grafeas\V1\InTotoSlsaProvenanceV1\ResourceDescriptor>
|
Returns | |
---|---|
Type | Description |
$this |