public static final class SlsaProvenance.Builder extends GeneratedMessageV3.Builder<SlsaProvenance.Builder> implements SlsaProvenanceOrBuilder
Protobuf type grafeas.v1.SlsaProvenance
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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;
Parameter |
---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.SlsaProvenance.Material>
|
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;
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;
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;
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;
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;
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;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SlsaProvenance build()
buildPartial()
public SlsaProvenance buildPartial()
clear()