Class DSSEAttestationOccurrence (2.44.0)

public final class DSSEAttestationOccurrence extends GeneratedMessageV3 implements DSSEAttestationOccurrenceOrBuilder

Deprecated. Prefer to use a regular Occurrence, and populate the Envelope at the top level of the Occurrence.

Protobuf type grafeas.v1.DSSEAttestationOccurrence

Static Fields

ENVELOPE_FIELD_NUMBER

public static final int ENVELOPE_FIELD_NUMBER
Field Value
Type Description
int

STATEMENT_FIELD_NUMBER

public static final int STATEMENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DSSEAttestationOccurrence getDefaultInstance()
Returns
Type Description
DSSEAttestationOccurrence

getDescriptor()

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

newBuilder()

public static DSSEAttestationOccurrence.Builder newBuilder()
Returns
Type Description
DSSEAttestationOccurrence.Builder

newBuilder(DSSEAttestationOccurrence prototype)

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

parseDelimitedFrom(InputStream input)

public static DSSEAttestationOccurrence parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DSSEAttestationOccurrence
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static DSSEAttestationOccurrence parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DSSEAttestationOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static DSSEAttestationOccurrence parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DSSEAttestationOccurrence
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static DSSEAttestationOccurrence parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DSSEAttestationOccurrence
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static DSSEAttestationOccurrence parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DSSEAttestationOccurrence
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<DSSEAttestationOccurrence> parser()
Returns
Type Description
Parser<DSSEAttestationOccurrence>

Methods

equals(Object obj)

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

getDecodedPayloadCase()

public DSSEAttestationOccurrence.DecodedPayloadCase getDecodedPayloadCase()
Returns
Type Description
DSSEAttestationOccurrence.DecodedPayloadCase

getDefaultInstanceForType()

public DSSEAttestationOccurrence getDefaultInstanceForType()
Returns
Type Description
DSSEAttestationOccurrence

getEnvelope()

public Envelope getEnvelope()

If doing something security critical, make sure to verify the signatures in this metadata.

.grafeas.v1.Envelope envelope = 1;

Returns
Type Description
Envelope

The envelope.

getEnvelopeOrBuilder()

public EnvelopeOrBuilder getEnvelopeOrBuilder()

If doing something security critical, make sure to verify the signatures in this metadata.

.grafeas.v1.Envelope envelope = 1;

Returns
Type Description
EnvelopeOrBuilder

getParserForType()

public Parser<DSSEAttestationOccurrence> getParserForType()
Returns
Type Description
Parser<DSSEAttestationOccurrence>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStatement()

public InTotoStatement getStatement()

.grafeas.v1.InTotoStatement statement = 2;

Returns
Type Description
InTotoStatement

The statement.

getStatementOrBuilder()

public InTotoStatementOrBuilder getStatementOrBuilder()

.grafeas.v1.InTotoStatement statement = 2;

Returns
Type Description
InTotoStatementOrBuilder

hasEnvelope()

public boolean hasEnvelope()

If doing something security critical, make sure to verify the signatures in this metadata.

.grafeas.v1.Envelope envelope = 1;

Returns
Type Description
boolean

Whether the envelope field is set.

hasStatement()

public boolean hasStatement()

.grafeas.v1.InTotoStatement statement = 2;

Returns
Type Description
boolean

Whether the statement field is set.

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 DSSEAttestationOccurrence.Builder newBuilderForType()
Returns
Type Description
DSSEAttestationOccurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public DSSEAttestationOccurrence.Builder toBuilder()
Returns
Type Description
DSSEAttestationOccurrence.Builder

writeTo(CodedOutputStream output)

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