Class SlsaProvenance.SlsaMetadata.Builder (2.37.0)

public static final class SlsaProvenance.SlsaMetadata.Builder extends GeneratedMessageV3.Builder<SlsaProvenance.SlsaMetadata.Builder> implements SlsaProvenance.SlsaMetadataOrBuilder

Other properties of the build.

Protobuf type grafeas.v1.SlsaProvenance.SlsaMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenance.SlsaMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SlsaProvenance.SlsaMetadata.Builder
Overrides

build()

public SlsaProvenance.SlsaMetadata build()
Returns
TypeDescription
SlsaProvenance.SlsaMetadata

buildPartial()

public SlsaProvenance.SlsaMetadata buildPartial()
Returns
TypeDescription
SlsaProvenance.SlsaMetadata

clear()

public SlsaProvenance.SlsaMetadata.Builder clear()
Returns
TypeDescription
SlsaProvenance.SlsaMetadata.Builder
Overrides

clearBuildFinishedOn()

public SlsaProvenance.SlsaMetadata.Builder clearBuildFinishedOn()

The timestamp of when the build completed.

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
SlsaProvenance.SlsaMetadata.Builder

clearBuildInvocationId()

public SlsaProvenance.SlsaMetadata.Builder clearBuildInvocationId()

Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

string build_invocation_id = 1;

Returns
TypeDescription
SlsaProvenance.SlsaMetadata.Builder

This builder for chaining.

clearBuildStartedOn()

public SlsaProvenance.SlsaMetadata.Builder clearBuildStartedOn()

The timestamp of when the build started.

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription