Interface InTotoProvenanceOrBuilder (2.18.0)

public interface InTotoProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuilderConfig()

public abstract BuilderConfig getBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
BuilderConfig

The builderConfig.

getBuilderConfigOrBuilder()

public abstract BuilderConfigOrBuilder getBuilderConfigOrBuilder()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
List<String>

A list containing the materials.

getMetadata()

public abstract Metadata getMetadata()

.grafeas.v1.Metadata metadata = 3;

Returns
TypeDescription
Metadata

The metadata.

getMetadataOrBuilder()

public abstract MetadataOrBuilder getMetadataOrBuilder()

.grafeas.v1.Metadata metadata = 3;

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

hasBuilderConfig()

public abstract boolean hasBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
boolean

Whether the builderConfig field is set.

hasMetadata()

public abstract boolean hasMetadata()

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

Returns
TypeDescription
boolean

Whether the recipe field is set.