# 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.SlsaProvenance.SlsaMetadata`

## Namespace

Grafeas \\ V1 \\ SlsaProvenance

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ build_invocation_id` | `string` Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec. |
| `↳ build_started_on` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The timestamp of when the build started. |
| `↳ build_finished_on` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The timestamp of when the build completed. |
| `↳ completeness` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.SlsaProvenance.SlsaCompleteness` Indicates that the builder claims certain fields in this message to be complete. |
| `↳ reproducible` | `bool` If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output. |

### getBuildInvocationId

Identifies the particular build invocation, which can be useful for
finding associated logs or other ad-hoc analysis. The value SHOULD be
globally unique, per in-toto Provenance spec.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setBuildInvocationId

Identifies the particular build invocation, which can be useful for
finding associated logs or other ad-hoc analysis. The value SHOULD be
globally unique, per in-toto Provenance spec.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getBuildStartedOn

The timestamp of when the build started.

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

### hasBuildStartedOn

### clearBuildStartedOn

### setBuildStartedOn

The timestamp of when the build started.

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

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

### getBuildFinishedOn

The timestamp of when the build completed.

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

### hasBuildFinishedOn

### clearBuildFinishedOn

### setBuildFinishedOn

The timestamp of when the build completed.

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

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

### getCompleteness

Indicates that the builder claims certain fields in this message to be
complete.

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

### hasCompleteness

### clearCompleteness

### setCompleteness

Indicates that the builder claims certain fields in this message to be
complete.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/grafeas/latest/V1.SlsaProvenance.SlsaCompleteness` |

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

### getReproducible

If true, the builder claims that running the recipe on materials will
produce bit-for-bit identical output.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setReproducible

If true, the builder claims that running the recipe on materials will
produce bit-for-bit identical output.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `bool` |

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