Interface InTotoProvenanceOrBuilder (2.48.0)

public interface InTotoProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuilderConfig()

public abstract BuilderConfig getBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type Description
BuilderConfig

The builderConfig.

getBuilderConfigOrBuilder()

public abstract BuilderConfigOrBuilder getBuilderConfigOrBuilder()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type Description
BuilderConfigOrBuilder

getMaterials(int index)

public abstract String 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 string materials = 4;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The materials at the given index.

getMaterialsBytes(int index)

public abstract ByteString getMaterialsBytes(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 string materials = 4;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the materials at the given index.

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 string materials = 4;

Returns
Type Description
int

The count of materials.

getMaterialsList()

public abstract List<String> 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 string materials = 4;

Returns
Type Description
List<String>

A list containing the materials.

getMetadata()

public abstract Metadata getMetadata()

.grafeas.v1.Metadata metadata = 3;

Returns
Type Description
Metadata

The metadata.

getMetadataOrBuilder()

public abstract MetadataOrBuilder getMetadataOrBuilder()

.grafeas.v1.Metadata metadata = 3;

Returns
Type Description
MetadataOrBuilder

getRecipe()

public abstract Recipe 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.Recipe recipe = 2;

Returns
Type Description
Recipe

The recipe.

getRecipeOrBuilder()

public abstract RecipeOrBuilder 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.Recipe recipe = 2;

Returns
Type Description
RecipeOrBuilder

hasBuilderConfig()

public abstract boolean hasBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
Type Description
boolean

Whether the builderConfig field is set.

hasMetadata()

public abstract boolean hasMetadata()

.grafeas.v1.Metadata 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.Recipe recipe = 2;

Returns
Type Description
boolean

Whether the recipe field is set.