Interface SlsaProvenanceOrBuilder (2.18.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

getBuilderOrBuilder()

  public 
  
 abstract 
  
 SlsaProvenance 
 . 
 SlsaBuilderOrBuilder 
  
 getBuilderOrBuilder 
 () 
 

required

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

Returns
Type
Description

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

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

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

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 >
  public 
  
 abstract 
  
 SlsaProvenance 
 . 
 SlsaMetadata 
  
 getMetadata 
 () 
 

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

Returns
Type
Description

getMetadataOrBuilder()

  public 
  
 abstract 
  
 SlsaProvenance 
 . 
 SlsaMetadataOrBuilder 
  
 getMetadataOrBuilder 
 () 
 

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

Returns
Type
Description

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

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

hasBuilder()

  public 
  
 abstract 
  
 boolean 
  
 hasBuilder 
 () 
 

required

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

Returns
Type
Description

Whether the builder field is set.

  public 
  
 abstract 
  
 boolean 
  
 hasMetadata 
 () 
 

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

Returns
Type
Description

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

Whether the recipe field is set.

Design a Mobile Site
View Site in Mobile | Classic
Share by: