Class SlsaProvenance.SlsaCompleteness.Builder (2.84.0)

public static final class SlsaProvenance.SlsaCompleteness.Builder extends GeneratedMessage.Builder<SlsaProvenance.SlsaCompleteness.Builder> implements SlsaProvenance.SlsaCompletenessOrBuilder

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

Protobuf type grafeas.v1.SlsaProvenance.SlsaCompleteness

Static Methods

getDescriptor()

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

Methods

build()

public SlsaProvenance.SlsaCompleteness build()
Returns
Type Description
SlsaProvenance.SlsaCompleteness

buildPartial()

public SlsaProvenance.SlsaCompleteness buildPartial()
Returns
Type Description
SlsaProvenance.SlsaCompleteness

clear()

public SlsaProvenance.SlsaCompleteness.Builder clear()
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder
Overrides

clearArguments()

public SlsaProvenance.SlsaCompleteness.Builder clearArguments()

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

bool arguments = 1;

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.

clearEnvironment()

public SlsaProvenance.SlsaCompleteness.Builder clearEnvironment()

If true, the builder claims that recipe.environment is claimed to be complete.

bool environment = 2;

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.

clearMaterials()

public SlsaProvenance.SlsaCompleteness.Builder clearMaterials()

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

bool materials = 3;

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.

getArguments()

public boolean getArguments()

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

bool arguments = 1;

Returns
Type Description
boolean

The arguments.

getDefaultInstanceForType()

public SlsaProvenance.SlsaCompleteness getDefaultInstanceForType()
Returns
Type Description
SlsaProvenance.SlsaCompleteness

getDescriptorForType()

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

getEnvironment()

public boolean getEnvironment()

If true, the builder claims that recipe.environment is claimed to be complete.

bool environment = 2;

Returns
Type Description
boolean

The environment.

getMaterials()

public boolean getMaterials()

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

bool materials = 3;

Returns
Type Description
boolean

The materials.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SlsaProvenance.SlsaCompleteness.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder
Overrides

mergeFrom(SlsaProvenance.SlsaCompleteness other)

public SlsaProvenance.SlsaCompleteness.Builder mergeFrom(SlsaProvenance.SlsaCompleteness other)
Parameter
Name Description
other SlsaProvenance.SlsaCompleteness
Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

setArguments(boolean value)

public SlsaProvenance.SlsaCompleteness.Builder setArguments(boolean value)

If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

bool arguments = 1;

Parameter
Name Description
value boolean

The arguments to set.

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.

setEnvironment(boolean value)

public SlsaProvenance.SlsaCompleteness.Builder setEnvironment(boolean value)

If true, the builder claims that recipe.environment is claimed to be complete.

bool environment = 2;

Parameter
Name Description
value boolean

The environment to set.

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.

setMaterials(boolean value)

public SlsaProvenance.SlsaCompleteness.Builder setMaterials(boolean value)

If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

bool materials = 3;

Parameter
Name Description
value boolean

The materials to set.

Returns
Type Description
SlsaProvenance.SlsaCompleteness.Builder

This builder for chaining.