# Interface VulnerabilityNoteOrBuilder (2.94.0)

2.94.0 (latest) 2.92.0 2.89.0 2.88.0 2.86.0 2.84.0 2.83.0 2.82.0 2.81.0 2.79.0 2.77.0 2.76.0 2.75.0 2.74.0 2.73.0 2.71.0 2.69.0 2.68.0 2.65.0 2.64.0 2.63.0 2.61.0 2.60.0 2.59.0 2.58.0 2.57.0 2.56.0 2.55.0 2.54.0 2.53.0 2.52.0 2.50.0 2.49.0 2.48.0 2.47.0 2.46.0 2.45.0 2.44.0 2.43.0 2.42.0 2.41.0 2.40.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.0 2.29.0 2.28.0 2.25.0 2.24.0 2.23.0 2.22.0 2.21.0 2.20.0 2.19.0 2.18.0 2.17.0 2.16.0 2.15.0 2.14.0 2.13.0 2.12.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.5 2.3.1 2.2.3 2.1.3

    public interface VulnerabilityNoteOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getAdvisoryPublishTime()

    public abstract Timestamp getAdvisoryPublishTime()

The time this advisory was published by the source.

`.google.protobuf.Timestamp advisory_publish_time = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The advisoryPublishTime. |

### getAdvisoryPublishTimeOrBuilder()

    public abstract TimestampOrBuilder getAdvisoryPublishTimeOrBuilder()

The time this advisory was published by the source.

`.google.protobuf.Timestamp advisory_publish_time = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getCvssScore()

    public abstract float getCvssScore()

The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10
where 0 indicates low severity and 10 indicates high severity.

`float cvss_score = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The cvssScore. |

### getCvssV2()

    public abstract CVSS getCvssV2()

The full description of the v2 CVSS for this vulnerability.

`.grafeas.v1.CVSS cvss_v2 = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.CVSS` | The cvssV2. |

### getCvssV2OrBuilder()

    public abstract CVSSOrBuilder getCvssV2OrBuilder()

The full description of the v2 CVSS for this vulnerability.

`.grafeas.v1.CVSS cvss_v2 = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.CVSSOrBuilder` |   |

### getCvssV3()

    public abstract CVSSv3 getCvssV3()

The full description of the CVSSv3 for this vulnerability.

`.grafeas.v1.CVSSv3 cvss_v3 = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.CVSSv3` | The cvssV3. |

### getCvssV3OrBuilder()

    public abstract CVSSv3OrBuilder getCvssV3OrBuilder()

The full description of the CVSSv3 for this vulnerability.

`.grafeas.v1.CVSSv3 cvss_v3 = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.CVSSv3OrBuilder` |   |

### getCvssVersion()

    public abstract CVSSVersion getCvssVersion()

CVSS version used to populate cvss_score and severity.

`.grafeas.v1.CVSSVersion cvss_version = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.CVSSVersion` | The cvssVersion. |

### getCvssVersionValue()

    public abstract int getCvssVersionValue()

CVSS version used to populate cvss_score and severity.

`.grafeas.v1.CVSSVersion cvss_version = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for cvssVersion. |

### getDetails(int index)

    public abstract VulnerabilityNote.Detail getDetails(int index)

Details of all known distros and packages affected by this vulnerability.

`repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.Detail` |   |

### getDetailsCount()

    public abstract int getDetailsCount()

Details of all known distros and packages affected by this vulnerability.

`repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getDetailsList()

    public abstract List<VulnerabilityNote.Detail> getDetailsList()

Details of all known distros and packages affected by this vulnerability.

`repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.Detail>` |   |

### getDetailsOrBuilder(int index)

    public abstract VulnerabilityNote.DetailOrBuilder getDetailsOrBuilder(int index)

Details of all known distros and packages affected by this vulnerability.

`repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.DetailOrBuilder` |   |

### getDetailsOrBuilderList()

    public abstract List<? extends VulnerabilityNote.DetailOrBuilder> getDetailsOrBuilderList()

Details of all known distros and packages affected by this vulnerability.

`repeated .grafeas.v1.VulnerabilityNote.Detail details = 3;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends io.grafeas.v1.VulnerabilityNote.DetailOrBuilder>` |   |

### getSeverity()

    public abstract Severity getSeverity()

The note provider assigned severity of this vulnerability.

`.grafeas.v1.Severity severity = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.Severity` | The severity. |

### getSeverityValue()

    public abstract int getSeverityValue()

The note provider assigned severity of this vulnerability.

`.grafeas.v1.Severity severity = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for severity. |

### getSourceUpdateTime()

    public abstract Timestamp getSourceUpdateTime()

The time this information was last changed at the source. This is an
upstream timestamp from the underlying information source - e.g. Ubuntu
security tracker.

`.google.protobuf.Timestamp source_update_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Timestamp.html` | The sourceUpdateTime. |

### getSourceUpdateTimeOrBuilder()

    public abstract TimestampOrBuilder getSourceUpdateTimeOrBuilder()

The time this information was last changed at the source. This is an
upstream timestamp from the underlying information source - e.g. Ubuntu
security tracker.

`.google.protobuf.Timestamp source_update_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.TimestampOrBuilder.html` |   |

### getWindowsDetails(int index)

    public abstract VulnerabilityNote.WindowsDetail getWindowsDetails(int index)

Windows details get their own format because the information format and
model don't match a normal detail. Specifically Windows updates are done as
patches, thus Windows vulnerabilities really are a missing package, rather
than a package being at an incorrect version.

`repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.WindowsDetail` |   |

### getWindowsDetailsCount()

    public abstract int getWindowsDetailsCount()

Windows details get their own format because the information format and
model don't match a normal detail. Specifically Windows updates are done as
patches, thus Windows vulnerabilities really are a missing package, rather
than a package being at an incorrect version.

`repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getWindowsDetailsList()

    public abstract List<VulnerabilityNote.WindowsDetail> getWindowsDetailsList()

Windows details get their own format because the information format and
model don't match a normal detail. Specifically Windows updates are done as
patches, thus Windows vulnerabilities really are a missing package, rather
than a package being at an incorrect version.

`repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.WindowsDetail>` |   |

### getWindowsDetailsOrBuilder(int index)

    public abstract VulnerabilityNote.WindowsDetailOrBuilder getWindowsDetailsOrBuilder(int index)

Windows details get their own format because the information format and
model don't match a normal detail. Specifically Windows updates are done as
patches, thus Windows vulnerabilities really are a missing package, rather
than a package being at an incorrect version.

`repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/grafeas/latest/io.grafeas.v1.VulnerabilityNote.WindowsDetailOrBuilder` |   |

### getWindowsDetailsOrBuilderList()

    public abstract List<? extends VulnerabilityNote.WindowsDetailOrBuilder> getWindowsDetailsOrBuilderList()

Windows details get their own format because the information format and
model don't match a normal detail. Specifically Windows updates are done as
patches, thus Windows vulnerabilities really are a missing package, rather
than a package being at an incorrect version.

`repeated .grafeas.v1.VulnerabilityNote.WindowsDetail windows_details = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetailOrBuilder>` |   |

### hasAdvisoryPublishTime()

    public abstract boolean hasAdvisoryPublishTime()

The time this advisory was published by the source.

`.google.protobuf.Timestamp advisory_publish_time = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the advisoryPublishTime field is set. |

### hasCvssV2()

    public abstract boolean hasCvssV2()

The full description of the v2 CVSS for this vulnerability.

`.grafeas.v1.CVSS cvss_v2 = 8;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the cvssV2 field is set. |

### hasCvssV3()

    public abstract boolean hasCvssV3()

The full description of the CVSSv3 for this vulnerability.

`.grafeas.v1.CVSSv3 cvss_v3 = 4;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the cvssV3 field is set. |

### hasSourceUpdateTime()

    public abstract boolean hasSourceUpdateTime()

The time this information was last changed at the source. This is an
upstream timestamp from the underlying information source - e.g. Ubuntu
security tracker.

`.google.protobuf.Timestamp source_update_time = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the sourceUpdateTime field is set. |