Interface DiscoveryOccurrence.SBOMStatusOrBuilder (2.45.0)

public static interface DiscoveryOccurrence.SBOMStatusOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract String getError()

If there was an error generating an SBOM, this will indicate what that error was.

string error = 2;

Returns
Type Description
String

The error.

getErrorBytes()

public abstract ByteString getErrorBytes()

If there was an error generating an SBOM, this will indicate what that error was.

string error = 2;

Returns
Type Description
ByteString

The bytes for error.

getSbomState()

public abstract DiscoveryOccurrence.SBOMStatus.SBOMState getSbomState()

The progress of the SBOM generation.

.grafeas.v1.DiscoveryOccurrence.SBOMStatus.SBOMState sbom_state = 1;

Returns
Type Description
DiscoveryOccurrence.SBOMStatus.SBOMState

The sbomState.

getSbomStateValue()

public abstract int getSbomStateValue()

The progress of the SBOM generation.

.grafeas.v1.DiscoveryOccurrence.SBOMStatus.SBOMState sbom_state = 1;

Returns
Type Description
int

The enum numeric value on the wire for sbomState.