Class DSSEAttestationOccurrence (2.23.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
TypeDescription
int

STATEMENT_FIELD_NUMBER

public static final int STATEMENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DSSEAttestationOccurrence getDefaultInstance()
Returns
TypeDescription
DSSEAttestationOccurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DSSEAttestationOccurrence.Builder newBuilder()
Returns
TypeDescription
DSSEAttestationOccurrence.Builder

newBuilder(DSSEAttestationOccurrence prototype)

public static DSSEAttestationOccurrence.Builder newBuilder(DSSEAttestationOccurrence prototype)
Parameter
NameDescription
prototypeDSSEAttestationOccurrence
Returns
TypeDescription
DSSEAttestationOccurrence.Builder

parseDelimitedFrom(InputStream input)

public static DSSEAttestationOccurrence parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DSSEAttestationOccurrence parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DSSEAttestationOccurrence parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DSSEAttestationOccurrence parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DSSEAttestationOccurrence parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DSSEAttestationOccurrence parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DSSEAttestationOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DSSEAttestationOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DSSEAttestationOccurrence> parser()
Returns
TypeDescription
Parser<DSSEAttestationOccurrence>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDecodedPayloadCase()

public DSSEAttestationOccurrence.DecodedPayloadCase getDecodedPayloadCase()
Returns
TypeDescription
DSSEAttestationOccurrence.DecodedPayloadCase

getDefaultInstanceForType()

public DSSEAttestationOccurrence getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
EnvelopeOrBuilder

getParserForType()

public Parser<DSSEAttestationOccurrence> getParserForType()
Returns
TypeDescription
Parser<DSSEAttestationOccurrence>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getStatement()

public InTotoStatement getStatement()

.grafeas.v1.InTotoStatement statement = 2;

Returns
TypeDescription
InTotoStatement

The statement.

getStatementOrBuilder()

public InTotoStatementOrBuilder getStatementOrBuilder()

.grafeas.v1.InTotoStatement statement = 2;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the envelope field is set.

hasStatement()

public boolean hasStatement()

.grafeas.v1.InTotoStatement statement = 2;

Returns
TypeDescription
boolean

Whether the statement field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DSSEAttestationOccurrence.Builder newBuilderForType()
Returns
TypeDescription
DSSEAttestationOccurrence.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DSSEAttestationOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DSSEAttestationOccurrence.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DSSEAttestationOccurrence.Builder toBuilder()
Returns
TypeDescription
DSSEAttestationOccurrence.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException