# Grafeas V1 Client - Class SbomReferenceIntotoPredicate (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 SbomReferenceIntotoPredicate.

A predicate which describes the SBOM being referenced.

Generated from protobuf message `grafeas.v1.SbomReferenceIntotoPredicate`

## Namespace

Grafeas \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ referrer_id` | `string` The person or system referring this predicate to the consumer. |
| `↳ location` | `string` The location of the SBOM. |
| `↳ mime_type` | `string` The mime type of the SBOM. |
| `↳ digest` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` A map of algorithm to digest of the contents of the SBOM. |

### getReferrerId

The person or system referring this predicate to the consumer.

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

### setReferrerId

The person or system referring this predicate to the consumer.

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

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

### getLocation

The location of the SBOM.

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

### setLocation

The location of the SBOM.

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

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

### getMimeType

The mime type of the SBOM.

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

### setMimeType

The mime type of the SBOM.

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

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

### getDigest

A map of algorithm to digest of the contents of the SBOM.

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

### setDigest

A map of algorithm to digest of the contents of the SBOM.

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

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