Interface SBOMReferenceOccurrenceOrBuilder (2.53.0)

public interface SBOMReferenceOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPayload()

public abstract SbomReferenceIntotoPayload getPayload()

The actual payload that contains the SBOM reference data.

.grafeas.v1.SbomReferenceIntotoPayload payload = 1;

Returns
Type Description
SbomReferenceIntotoPayload

The payload.

getPayloadOrBuilder()

public abstract SbomReferenceIntotoPayloadOrBuilder getPayloadOrBuilder()

The actual payload that contains the SBOM reference data.

.grafeas.v1.SbomReferenceIntotoPayload payload = 1;

Returns
Type Description
SbomReferenceIntotoPayloadOrBuilder

getPayloadType()

public abstract String getPayloadType()

The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.

string payload_type = 2;

Returns
Type Description
String

The payloadType.

getPayloadTypeBytes()

public abstract ByteString getPayloadTypeBytes()

The kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.

string payload_type = 2;

Returns
Type Description
ByteString

The bytes for payloadType.

getSignatures(int index)

public abstract EnvelopeSignature getSignatures(int index)

The signatures over the payload.

repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Parameter
Name Description
index int
Returns
Type Description
EnvelopeSignature

getSignaturesCount()

public abstract int getSignaturesCount()

The signatures over the payload.

repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Returns
Type Description
int

getSignaturesList()

public abstract List<EnvelopeSignature> getSignaturesList()

The signatures over the payload.

repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Returns
Type Description
List<EnvelopeSignature>

getSignaturesOrBuilder(int index)

public abstract EnvelopeSignatureOrBuilder getSignaturesOrBuilder(int index)

The signatures over the payload.

repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Parameter
Name Description
index int
Returns
Type Description
EnvelopeSignatureOrBuilder

getSignaturesOrBuilderList()

public abstract List<? extends EnvelopeSignatureOrBuilder> getSignaturesOrBuilderList()

The signatures over the payload.

repeated .grafeas.v1.EnvelopeSignature signatures = 3;

Returns
Type Description
List<? extends io.grafeas.v1.EnvelopeSignatureOrBuilder>

hasPayload()

public abstract boolean hasPayload()

The actual payload that contains the SBOM reference data.

.grafeas.v1.SbomReferenceIntotoPayload payload = 1;

Returns
Type Description
boolean

Whether the payload field is set.