Interface SlsaProvenanceOrBuilder (2.12.0)

public interface SlsaProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuilder()

public abstract SlsaProvenance.SlsaBuilder getBuilder()

required

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

Returns
TypeDescription
SlsaProvenance.SlsaBuilder

The builder.

getBuilderOrBuilder()

public abstract SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()

required

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder>

getMetadata()

public abstract SlsaProvenance.SlsaMetadata getMetadata()

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

Returns
TypeDescription
SlsaProvenance.SlsaMetadata

The metadata.

getMetadataOrBuilder()

public abstract SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SlsaProvenance.SlsaRecipeOrBuilder

hasBuilder()

public abstract boolean hasBuilder()

required

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

Returns
TypeDescription
boolean

Whether the builder field is set.

hasMetadata()

public abstract boolean hasMetadata()

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the recipe field is set.