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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
public SlsaProvenance.Builder clear()
Overrides
clearBuilder()
public SlsaProvenance.Builder clearBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
clearField(Descriptors.FieldDescriptor field)
public SlsaProvenance.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
public SlsaProvenance.Builder clearMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public SlsaProvenance.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public SlsaProvenance.Builder clone()
Overrides
getBuilder()
public SlsaProvenance.SlsaBuilder getBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
getBuilderBuilder()
public SlsaProvenance.SlsaBuilder.Builder getBuilderBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
getBuilderOrBuilder()
public SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
getDefaultInstanceForType()
public SlsaProvenance getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Parameter |
---|
Name | Description |
index | int
|
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;
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;
Returns |
---|
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;
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;
Parameter |
---|
Name | Description |
index | int
|
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;
Returns |
---|
Type | Description |
List<? extends io.grafeas.v1.SlsaProvenance.MaterialOrBuilder> | |
public SlsaProvenance.SlsaMetadata getMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
public SlsaProvenance.SlsaMetadata.Builder getMetadataBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
public SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
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).
.grafeas.v1.SlsaProvenance.SlsaRecipe recipe = 2;
getRecipeBuilder()
public SlsaProvenance.SlsaRecipe.Builder getRecipeBuilder()
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;
getRecipeOrBuilder()
public 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;
hasBuilder()
public boolean hasBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Returns |
---|
Type | Description |
boolean | Whether the builder field is set.
|
public boolean hasMetadata()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Returns |
---|
Type | Description |
boolean | Whether the metadata field is set.
|
hasRecipe()
public 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 |
boolean | Whether the recipe field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBuilder(SlsaProvenance.SlsaBuilder value)
public SlsaProvenance.Builder mergeBuilder(SlsaProvenance.SlsaBuilder value)
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
public SlsaProvenance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SlsaProvenance.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(SlsaProvenance other)
public SlsaProvenance.Builder mergeFrom(SlsaProvenance other)
public SlsaProvenance.Builder mergeMetadata(SlsaProvenance.SlsaMetadata value)
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
mergeRecipe(SlsaProvenance.SlsaRecipe value)
public SlsaProvenance.Builder mergeRecipe(SlsaProvenance.SlsaRecipe value)
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeMaterials(int index)
public SlsaProvenance.Builder removeMaterials(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
|
setBuilder(SlsaProvenance.SlsaBuilder value)
public SlsaProvenance.Builder setBuilder(SlsaProvenance.SlsaBuilder value)
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
setBuilder(SlsaProvenance.SlsaBuilder.Builder builderForValue)
public SlsaProvenance.Builder setBuilder(SlsaProvenance.SlsaBuilder.Builder builderForValue)
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
setField(Descriptors.FieldDescriptor field, Object value)
public SlsaProvenance.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setMaterials(int index, SlsaProvenance.Material value)
public SlsaProvenance.Builder setMaterials(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;
setMaterials(int index, SlsaProvenance.Material.Builder builderForValue)
public SlsaProvenance.Builder setMaterials(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;
public SlsaProvenance.Builder setMetadata(SlsaProvenance.SlsaMetadata value)
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
public SlsaProvenance.Builder setMetadata(SlsaProvenance.SlsaMetadata.Builder builderForValue)
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
setRecipe(SlsaProvenance.SlsaRecipe value)
public SlsaProvenance.Builder setRecipe(SlsaProvenance.SlsaRecipe value)
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;
setRecipe(SlsaProvenance.SlsaRecipe.Builder builderForValue)
public SlsaProvenance.Builder setRecipe(SlsaProvenance.SlsaRecipe.Builder builderForValue)
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SlsaProvenance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SlsaProvenance.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides