Interface SlsaProvenanceOrBuilder (2.56.0)

public interface SlsaProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuilder()

public abstract SlsaProvenance.SlsaBuilder getBuilder()

required

.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;

Returns
Type Description
SlsaProvenance.SlsaBuilder

The builder.

getBuilderOrBuilder()

public abstract SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()

required

.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;

Returns
Type Description
SlsaProvenance.SlsaBuilderOrBuilder

getMaterials(int index)

public abstract SlsaProvenance.Material getMaterials(int index)

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated .grafeas.v1.SlsaProvenance.Material materials = 4;

Parameter
Name Description
index int
Returns
Type Description
SlsaProvenance.Material

getMaterialsCount()

public abstract int getMaterialsCount()

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated .grafeas.v1.SlsaProvenance.Material materials = 4;

Returns
Type Description
int

getMaterialsList()

public abstract List<SlsaProvenance.Material> getMaterialsList()

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated .grafeas.v1.SlsaProvenance.Material materials = 4;

Returns
Type Description
List<Material>

getMaterialsOrBuilder(int index)

public abstract SlsaProvenance.MaterialOrBuilder getMaterialsOrBuilder(int index)

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated .grafeas.v1.SlsaProvenance.Material materials = 4;

Parameter
Name Description
index int
Returns
Type Description
SlsaProvenance.MaterialOrBuilder

getMaterialsOrBuilderList()

public abstract List<? extends SlsaProvenance.MaterialOrBuilder> getMaterialsOrBuilderList()

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

repeated .grafeas.v1.SlsaProvenance.Material materials = 4;

Returns
Type Description
List<? extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder>

getMetadata()

public abstract SlsaProvenance.SlsaMetadata getMetadata()

.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;

Returns
Type Description
SlsaProvenance.SlsaMetadata

The metadata.

getMetadataOrBuilder()

public abstract SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()

.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;

Returns
Type Description
SlsaProvenance.SlsaMetadataOrBuilder

getRecipe()

public abstract SlsaProvenance.SlsaRecipe getRecipe()

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;

Returns
Type Description
SlsaProvenance.SlsaRecipe

The recipe.

getRecipeOrBuilder()

public abstract SlsaProvenance.SlsaRecipeOrBuilder getRecipeOrBuilder()

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;

Returns
Type Description
SlsaProvenance.SlsaRecipeOrBuilder

hasBuilder()

public abstract boolean hasBuilder()

required

.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;

Returns
Type Description
boolean

Whether the builder field is set.

hasMetadata()

public abstract boolean hasMetadata()

.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;

Returns
Type Description
boolean

Whether the metadata field is set.

hasRecipe()

public abstract boolean hasRecipe()

Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;

Returns
Type Description
boolean

Whether the recipe field is set.