Enum NoteKind (2.4.2)

public enum NoteKind extends Enum<NoteKind> implements ProtocolMessageEnum

Kind represents the kinds of notes supported.

Protobuf enum grafeas.v1.NoteKind

Implements

ProtocolMessageEnum

Static Fields

NameDescription
ATTESTATION

This represents a logical "role" that can attest to artifacts.

ATTESTATION = 7;

ATTESTATION_VALUE

This represents a logical "role" that can attest to artifacts.

ATTESTATION = 7;

BUILD

The note and occurrence assert build provenance.

BUILD = 2;

BUILD_VALUE

The note and occurrence assert build provenance.

BUILD = 2;

COMPLIANCE

This represents a Compliance Note

COMPLIANCE = 9;

COMPLIANCE_VALUE

This represents a Compliance Note

COMPLIANCE = 9;

DEPLOYMENT

The note and occurrence track deployment events.

DEPLOYMENT = 5;

DEPLOYMENT_VALUE

The note and occurrence track deployment events.

DEPLOYMENT = 5;

DISCOVERY

The note and occurrence track the initial discovery status of a resource.

DISCOVERY = 6;

DISCOVERY_VALUE

The note and occurrence track the initial discovery status of a resource.

DISCOVERY = 6;

DSSE_ATTESTATION

This represents a DSSE attestation Note

DSSE_ATTESTATION = 10;

DSSE_ATTESTATION_VALUE

This represents a DSSE attestation Note

DSSE_ATTESTATION = 10;

IMAGE

This represents an image basis relationship.

IMAGE = 3;

IMAGE_VALUE

This represents an image basis relationship.

IMAGE = 3;

NOTE_KIND_UNSPECIFIED

Default value. This value is unused.

NOTE_KIND_UNSPECIFIED = 0;

NOTE_KIND_UNSPECIFIED_VALUE

Default value. This value is unused.

NOTE_KIND_UNSPECIFIED = 0;

PACKAGE

This represents a package installed via a package manager.

PACKAGE = 4;

PACKAGE_VALUE

This represents a package installed via a package manager.

PACKAGE = 4;

UNRECOGNIZED
UPGRADE

This represents an available package upgrade.

UPGRADE = 8;

UPGRADE_VALUE

This represents an available package upgrade.

UPGRADE = 8;

VULNERABILITY

The note and occurrence represent a package vulnerability.

VULNERABILITY = 1;

VULNERABILITY_VALUE

The note and occurrence represent a package vulnerability.

VULNERABILITY = 1;

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()