# Grafeas V1 Client - Class SlsaMetadata (1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.0 1.3.2 1.2.2 1.1.3 1.0.0 0.10.3 0.9.0 0.8.3 0.7.1 0.6.0 0.5.0 0.4.4 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` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |
| `↳ build_finished_on` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |
| `↳ completeness` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.SlsaProvenanceZeroTwo.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** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasBuildStartedOn

### clearBuildStartedOn

### setBuildStartedOn

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBuildFinishedOn

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasBuildFinishedOn

### clearBuildFinishedOn

### setBuildFinishedOn

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getCompleteness

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.SlsaProvenanceZeroTwo.SlsaCompleteness|null` |   |

### hasCompleteness

### clearCompleteness

### setCompleteness

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.SlsaProvenanceZeroTwo.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` |   |