Class SlsaProvenanceZeroTwo.SlsaMetadata.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearBuildFinishedOn()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearBuildInvocationId()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildInvocationId()

string build_invocation_id = 1;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

clearBuildStartedOn()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearCompleteness()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearCompleteness()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

clearReproducible()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clearReproducible()

bool reproducible = 5;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

clone()

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder clone()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

getBuildFinishedOn()

public Timestamp getBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
Timestamp

The buildFinishedOn.

getBuildFinishedOnBuilder()

public Timestamp.Builder getBuildFinishedOnBuilder()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
Builder

getBuildFinishedOnOrBuilder()

public TimestampOrBuilder getBuildFinishedOnOrBuilder()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
TimestampOrBuilder

getBuildInvocationId()

public String getBuildInvocationId()

string build_invocation_id = 1;

Returns
TypeDescription
String

The buildInvocationId.

getBuildInvocationIdBytes()

public ByteString getBuildInvocationIdBytes()

string build_invocation_id = 1;

Returns
TypeDescription
ByteString

The bytes for buildInvocationId.

getBuildStartedOn()

public Timestamp getBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription
Timestamp

The buildStartedOn.

getBuildStartedOnBuilder()

public Timestamp.Builder getBuildStartedOnBuilder()

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription
Builder

getBuildStartedOnOrBuilder()

public TimestampOrBuilder getBuildStartedOnOrBuilder()

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription
TimestampOrBuilder

getCompleteness()

public SlsaProvenanceZeroTwo.SlsaCompleteness getCompleteness()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness

The completeness.

getCompletenessBuilder()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder getCompletenessBuilder()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

getCompletenessOrBuilder()

public SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder getCompletenessOrBuilder()

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

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaMetadata getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReproducible()

public boolean getReproducible()

bool reproducible = 5;

Returns
TypeDescription
boolean

The reproducible.

hasBuildFinishedOn()

public boolean hasBuildFinishedOn()

.google.protobuf.Timestamp build_finished_on = 3;

Returns
TypeDescription
boolean

Whether the buildFinishedOn field is set.

hasBuildStartedOn()

public boolean hasBuildStartedOn()

.google.protobuf.Timestamp build_started_on = 2;

Returns
TypeDescription
boolean

Whether the buildStartedOn field is set.

hasCompleteness()

public boolean hasCompleteness()

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

Returns
TypeDescription
boolean

Whether the completeness field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBuildFinishedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildFinishedOn(Timestamp value)

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeBuildStartedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeBuildStartedOn(Timestamp value)

.google.protobuf.Timestamp build_started_on = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

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

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

Parameter
NameDescription
valueSlsaProvenanceZeroTwo.SlsaCompleteness
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

mergeFrom(SlsaProvenanceZeroTwo.SlsaMetadata other)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeFrom(SlsaProvenanceZeroTwo.SlsaMetadata other)
Parameter
NameDescription
otherSlsaProvenanceZeroTwo.SlsaMetadata
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

setBuildFinishedOn(Timestamp value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildFinishedOn(Timestamp value)

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildFinishedOn(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp build_finished_on = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildInvocationId(String value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationId(String value)

string build_invocation_id = 1;

Parameter
NameDescription
valueString

The buildInvocationId to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

setBuildInvocationIdBytes(ByteString value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setBuildInvocationIdBytes(ByteString value)

string build_invocation_id = 1;

Parameter
NameDescription
valueByteString

The bytes for buildInvocationId to set.

Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setBuildStartedOn(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp build_started_on = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness value)

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

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

Parameter
NameDescription
valueSlsaProvenanceZeroTwo.SlsaCompleteness
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setCompleteness(SlsaProvenanceZeroTwo.SlsaCompleteness.Builder builderForValue)

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

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

Parameter
NameDescription
builderForValueSlsaProvenanceZeroTwo.SlsaCompleteness.Builder
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides

setReproducible(boolean value)

public SlsaProvenanceZeroTwo.SlsaMetadata.Builder setReproducible(boolean value)

bool reproducible = 5;

Parameter
NameDescription
valueboolean

The reproducible to set.

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SlsaProvenanceZeroTwo.SlsaMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMetadata.Builder
Overrides