Class SlsaProvenanceZeroTwo.SlsaCompleteness.Builder (2.37.0)

public static final class SlsaProvenanceZeroTwo.SlsaCompleteness.Builder extends GeneratedMessageV3.Builder<SlsaProvenanceZeroTwo.SlsaCompleteness.Builder> implements SlsaProvenanceZeroTwo.SlsaCompletenessOrBuilder

Indicates that the builder claims certain fields in this message to be complete.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaCompleteness

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearEnvironment()

public SlsaProvenanceZeroTwo.SlsaCompleteness.Builder clearEnvironment()

bool environment = 2;

Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaCompleteness.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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