Class DiscoveryOccurrence.SBOMStatus (2.46.0)

public static final class DiscoveryOccurrence.SBOMStatus extends GeneratedMessageV3 implements DiscoveryOccurrence.SBOMStatusOrBuilder

The status of an SBOM generation.

Protobuf type grafeas.v1.DiscoveryOccurrence.SBOMStatus

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DiscoveryOccurrence.SBOMStatus

Static Fields

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

SBOM_STATE_FIELD_NUMBER

public static final int SBOM_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryOccurrence.SBOMStatus getDefaultInstance()
Returns
Type Description
DiscoveryOccurrence.SBOMStatus

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DiscoveryOccurrence.SBOMStatus.Builder newBuilder()
Returns
Type Description
DiscoveryOccurrence.SBOMStatus.Builder

newBuilder(DiscoveryOccurrence.SBOMStatus prototype)

public static DiscoveryOccurrence.SBOMStatus.Builder newBuilder(DiscoveryOccurrence.SBOMStatus prototype)
Parameter
Name Description
prototype DiscoveryOccurrence.SBOMStatus
Returns
Type Description
DiscoveryOccurrence.SBOMStatus.Builder

parseDelimitedFrom(InputStream input)

public static DiscoveryOccurrence.SBOMStatus parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DiscoveryOccurrence.SBOMStatus parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DiscoveryOccurrence.SBOMStatus parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DiscoveryOccurrence.SBOMStatus parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DiscoveryOccurrence.SBOMStatus parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DiscoveryOccurrence.SBOMStatus parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DiscoveryOccurrence.SBOMStatus parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryOccurrence.SBOMStatus
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DiscoveryOccurrence.SBOMStatus> parser()
Returns
Type Description
Parser<SBOMStatus>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DiscoveryOccurrence.SBOMStatus getDefaultInstanceForType()
Returns
Type Description
DiscoveryOccurrence.SBOMStatus

getError()

public 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 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.

getParserForType()

public Parser<DiscoveryOccurrence.SBOMStatus> getParserForType()
Returns
Type Description
Parser<SBOMStatus>
Overrides

getSbomState()

public 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 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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DiscoveryOccurrence.SBOMStatus.Builder newBuilderForType()
Returns
Type Description
DiscoveryOccurrence.SBOMStatus.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DiscoveryOccurrence.SBOMStatus.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DiscoveryOccurrence.SBOMStatus.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DiscoveryOccurrence.SBOMStatus.Builder toBuilder()
Returns
Type Description
DiscoveryOccurrence.SBOMStatus.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException