Package io.grafeas.v1

Interface SlsaProvenanceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SlsaProvenance, SlsaProvenance.Builder

    public interface SlsaProvenanceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasBuilder

        boolean hasBuilder()
         required
         
        .grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
        Returns:
        Whether the builder field is set.
      • getBuilder

        SlsaProvenance.SlsaBuilder getBuilder()
         required
         
        .grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
        Returns:
        The builder.
      • hasRecipe

        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:
        Whether the recipe field is set.
      • getRecipe

        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:
        The recipe.
      • getRecipeOrBuilder

        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;
      • hasMetadata

        boolean hasMetadata()
        .grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
        Returns:
        Whether the metadata field is set.
      • getMaterialsList

        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;
      • getMaterials

        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;
      • getMaterialsCount

        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;
      • getMaterialsOrBuilderList

        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;
      • getMaterialsOrBuilder

        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;