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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SlsaProvenance.SlsaBuilder
getBuilder()
requiredSlsaProvenance.SlsaBuilderOrBuilder
getBuilderOrBuilder()
requiredSlsaProvenance.Material
getMaterials(int index)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.int
getMaterialsCount()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.List<SlsaProvenance.Material>
getMaterialsList()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.SlsaProvenance.MaterialOrBuilder
getMaterialsOrBuilder(int index)
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.List<? extends SlsaProvenance.MaterialOrBuilder>
getMaterialsOrBuilderList()
The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.SlsaProvenance.SlsaMetadata
getMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
SlsaProvenance.SlsaMetadataOrBuilder
getMetadataOrBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
SlsaProvenance.SlsaRecipe
getRecipe()
Identifies the configuration used for the build.SlsaProvenance.SlsaRecipeOrBuilder
getRecipeOrBuilder()
Identifies the configuration used for the build.boolean
hasBuilder()
requiredboolean
hasMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
boolean
hasRecipe()
Identifies the configuration used for the build.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
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.
-
getBuilderOrBuilder
SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
-
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.
-
getMetadata
SlsaProvenance.SlsaMetadata getMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
- Returns:
- The metadata.
-
getMetadataOrBuilder
SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
-
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;
-
-