public static final class SlsaProvenance.Builder extends GeneratedMessageV3.Builder<SlsaProvenance.Builder> implements SlsaProvenanceOrBuilder
Protobuf type grafeas.v1.SlsaProvenance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SlsaProvenance.BuilderImplements
SlsaProvenanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllMaterials(Iterable<? extends SlsaProvenance.Material> values)
public SlsaProvenance.Builder addAllMaterials(Iterable<? extends SlsaProvenance.Material> values)
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;
Name | Description |
values | Iterable<? extends io.grafeas.v1.SlsaProvenance.Material> |
Type | Description |
SlsaProvenance.Builder |
addMaterials(int index, SlsaProvenance.Material value)
public SlsaProvenance.Builder addMaterials(int index, SlsaProvenance.Material value)
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;
Name | Description |
index | int |
value | SlsaProvenance.Material |
Type | Description |
SlsaProvenance.Builder |
addMaterials(int index, SlsaProvenance.Material.Builder builderForValue)
public SlsaProvenance.Builder addMaterials(int index, SlsaProvenance.Material.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | SlsaProvenance.Material.Builder |
Type | Description |
SlsaProvenance.Builder |
addMaterials(SlsaProvenance.Material value)
public SlsaProvenance.Builder addMaterials(SlsaProvenance.Material value)
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;
Name | Description |
value | SlsaProvenance.Material |
Type | Description |
SlsaProvenance.Builder |
addMaterials(SlsaProvenance.Material.Builder builderForValue)
public SlsaProvenance.Builder addMaterials(SlsaProvenance.Material.Builder builderForValue)
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;
Name | Description |
builderForValue | SlsaProvenance.Material.Builder |
Type | Description |
SlsaProvenance.Builder |
addMaterialsBuilder()
public SlsaProvenance.Material.Builder addMaterialsBuilder()
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;
Type | Description |
SlsaProvenance.Material.Builder |
addMaterialsBuilder(int index)
public SlsaProvenance.Material.Builder addMaterialsBuilder(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;
Name | Description |
index | int |
Type | Description |
SlsaProvenance.Material.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
SlsaProvenance.Builder |
build()
public SlsaProvenance build()
Type | Description |
SlsaProvenance |
buildPartial()
public SlsaProvenance buildPartial()
Type | Description |
SlsaProvenance |
clear()
public SlsaProvenance.Builder clear()
Type | Description |
SlsaProvenance.Builder |
clearBuilder()
public SlsaProvenance.Builder clearBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Type | Description |
SlsaProvenance.Builder |
clearField(Descriptors.FieldDescriptor field)
public SlsaProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
SlsaProvenance.Builder |
clearMaterials()
public SlsaProvenance.Builder clearMaterials()
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;
Type | Description |
SlsaProvenance.Builder |
clearMetadata()
public SlsaProvenance.Builder clearMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Type | Description |
SlsaProvenance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SlsaProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
SlsaProvenance.Builder |
clearRecipe()
public SlsaProvenance.Builder clearRecipe()
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;
Type | Description |
SlsaProvenance.Builder |
clone()
public SlsaProvenance.Builder clone()
Type | Description |
SlsaProvenance.Builder |
getBuilder()
public SlsaProvenance.SlsaBuilder getBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Type | Description |
SlsaProvenance.SlsaBuilder | The builder. |
getBuilderBuilder()
public SlsaProvenance.SlsaBuilder.Builder getBuilderBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Type | Description |
SlsaProvenance.SlsaBuilder.Builder |
getBuilderOrBuilder()
public SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Type | Description |
SlsaProvenance.SlsaBuilderOrBuilder |
getDefaultInstanceForType()
public SlsaProvenance getDefaultInstanceForType()
Type | Description |
SlsaProvenance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMaterials(int index)
public 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;
Name | Description |
index | int |
Type | Description |
SlsaProvenance.Material |
getMaterialsBuilder(int index)
public SlsaProvenance.Material.Builder getMaterialsBuilder(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;
Name | Description |
index | int |
Type | Description |
SlsaProvenance.Material.Builder |
getMaterialsBuilderList()
public List<SlsaProvenance.Material.Builder> getMaterialsBuilderList()
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;
Type | Description |
List<Builder> |
getMaterialsCount()
public 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;
Type | Description |
int |
getMaterialsList()
public 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;
Type | Description |
List<Material> |
getMaterialsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
SlsaProvenance.MaterialOrBuilder |
getMaterialsOrBuilderList()
public 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;
Type | Description |
List<? extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder> |
getMetadata()
public SlsaProvenance.SlsaMetadata getMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Type | Description |
SlsaProvenance.SlsaMetadata | The metadata. |
getMetadataBuilder()
public SlsaProvenance.SlsaMetadata.Builder getMetadataBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Type | Description |
SlsaProvenance.SlsaMetadata.Builder |
getMetadataOrBuilder()
public SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Type | Description |
SlsaProvenance.SlsaMetadataOrBuilder |
getRecipe()
public 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).