Class InTotoSlsaProvenanceV1.SlsaProvenanceV1 (2.53.0)

public static final class InTotoSlsaProvenanceV1.SlsaProvenanceV1 extends GeneratedMessageV3 implements InTotoSlsaProvenanceV1.SlsaProvenanceV1OrBuilder

Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.

Protobuf type grafeas.v1.InTotoSlsaProvenanceV1.SlsaProvenanceV1

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > InTotoSlsaProvenanceV1.SlsaProvenanceV1

Static Fields

BUILD_DEFINITION_FIELD_NUMBER

public static final int BUILD_DEFINITION_FIELD_NUMBER
Field Value
Type Description
int

RUN_DETAILS_FIELD_NUMBER

public static final int RUN_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 getDefaultInstance()
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1

getDescriptor()

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

newBuilder()

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder newBuilder()
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

newBuilder(InTotoSlsaProvenanceV1.SlsaProvenanceV1 prototype)

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

parseDelimitedFrom(InputStream input)

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static InTotoSlsaProvenanceV1.SlsaProvenanceV1 parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<InTotoSlsaProvenanceV1.SlsaProvenanceV1> parser()
Returns
Type Description
Parser<SlsaProvenanceV1>

Methods

equals(Object obj)

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

getBuildDefinition()

public InTotoSlsaProvenanceV1.BuildDefinition getBuildDefinition()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinition

The buildDefinition.

getBuildDefinitionOrBuilder()

public InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder getBuildDefinitionOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
InTotoSlsaProvenanceV1.BuildDefinitionOrBuilder

getDefaultInstanceForType()

public InTotoSlsaProvenanceV1.SlsaProvenanceV1 getDefaultInstanceForType()
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1

getParserForType()

public Parser<InTotoSlsaProvenanceV1.SlsaProvenanceV1> getParserForType()
Returns
Type Description
Parser<SlsaProvenanceV1>
Overrides

getRunDetails()

public InTotoSlsaProvenanceV1.RunDetails getRunDetails()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetails

The runDetails.

getRunDetailsOrBuilder()

public InTotoSlsaProvenanceV1.RunDetailsOrBuilder getRunDetailsOrBuilder()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
InTotoSlsaProvenanceV1.RunDetailsOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBuildDefinition()

public boolean hasBuildDefinition()

.grafeas.v1.InTotoSlsaProvenanceV1.BuildDefinition build_definition = 1;

Returns
Type Description
boolean

Whether the buildDefinition field is set.

hasRunDetails()

public boolean hasRunDetails()

.grafeas.v1.InTotoSlsaProvenanceV1.RunDetails run_details = 2;

Returns
Type Description
boolean

Whether the runDetails 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 InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder newBuilderForType()
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder toBuilder()
Returns
Type Description
InTotoSlsaProvenanceV1.SlsaProvenanceV1.Builder

writeTo(CodedOutputStream output)

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