Class SlsaProvenanceZeroTwo.SlsaMetadata.Builder (2.47.0)

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

Other properties of the build.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

build()

public SlsaProvenanceZeroTwo.SlsaMetadata build()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata

buildPartial()

public SlsaProvenanceZeroTwo.SlsaMetadata buildPartial()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata

clear()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clear()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

clearBuildFinishedOn()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearBuildInvocationId()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildInvocationId()

string build_invocation_id = 1;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

clearBuildStartedOn()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearCompleteness()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearCompleteness()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

clearReproducible()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearReproducible()

bool reproducible = 5;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

clone()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clone()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

getBuildFinishedOn()

public Timestamp getBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
Timestamp

The buildFinishedOn.

getBuildFinishedOnBuilder()

public Timestamp.Builder getBuildFinishedOnBuilder()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
Builder

getBuildFinishedOnOrBuilder()

public TimestampOrBuilder getBuildFinishedOnOrBuilder()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
TimestampOrBuilder

getBuildInvocationId()

public String getBuildInvocationId()

string build_invocation_id = 1;

Returns
Type Description
String

The buildInvocationId.

getBuildInvocationIdBytes()

public ByteString getBuildInvocationIdBytes()

string build_invocation_id = 1;

Returns
Type Description
ByteString

The bytes for buildInvocationId.

getBuildStartedOn()

public Timestamp getBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
Timestamp

The buildStartedOn.

getBuildStartedOnBuilder()

public Timestamp.Builder getBuildStartedOnBuilder()

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
Builder

getBuildStartedOnOrBuilder()

public TimestampOrBuilder getBuildStartedOnOrBuilder()

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
TimestampOrBuilder

getCompleteness()

public SlsaProvenanceZeroTwo.SlsaCompleteness getCompleteness()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness

The completeness.

getCompletenessBuilder()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder getCompletenessBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

getCompletenessOrBuilder()

public SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder getCompletenessOrBuilder()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaMetadata getDefaultInstanceForType()
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getReproducible()

public boolean getReproducible()

bool reproducible = 5;

Returns
Type Description
boolean

The reproducible.

hasBuildFinishedOn()

public boolean hasBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
Type Description
boolean

Whether the buildFinishedOn field is set.

hasBuildStartedOn()

public boolean hasBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
Type Description
boolean

Whether the buildStartedOn field is set.

hasCompleteness()

public boolean hasCompleteness()

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Returns
Type Description
boolean

Whether the completeness field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBuildFinishedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildFinishedOn(Timestamp value)

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeBuildStartedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildStartedOn(Timestamp value)

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Parameter
Name Description
value SlsaProvenanceZeroTwo.SlsaCompleteness
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

mergeFrom(SlsaProvenanceZeroTwo.SlsaMetadata other)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaMetadata other)
Parameter
Name Description
other SlsaProvenanceZeroTwo.SlsaMetadata
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

setBuildFinishedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildFinishedOn(Timestamp value)

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildFinishedOn(Timestamp.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildFinishedOn(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildInvocationId(String value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationId(String value)

string build_invocation_id = 1;

Parameter
Name Description
value String

The buildInvocationId to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

setBuildInvocationIdBytes(ByteString value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationIdBytes(ByteString value)

string build_invocation_id = 1;

Parameter
Name Description
value ByteString

The bytes for buildInvocationId to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

setBuildStartedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildStartedOn(Timestamp value)

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildStartedOn(Timestamp.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildStartedOn(Timestamp.Builder builderForValue)

.google.protobuf.Timestamp build_started_on = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Parameter
Name Description
value SlsaProvenanceZeroTwo.SlsaCompleteness
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness.Builder builderForValue)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness.Builder builderForValue)

.grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness completeness = 4;

Parameter
Name Description
builderForValue SlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

setReproducible(boolean value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setReproducible(boolean value)

bool reproducible = 5;

Parameter
Name Description
value boolean

The reproducible to set.

Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides