public final class SlsaProvenance extends GeneratedMessageV3 implements SlsaProvenanceOrBuilder
Protobuf type grafeas.v1.SlsaProvenance
Static Fields
BUILDER_FIELD_NUMBER
public static final int BUILDER_FIELD_NUMBER
Field Value
MATERIALS_FIELD_NUMBER
public static final int MATERIALS_FIELD_NUMBER
Field Value
public static final int METADATA_FIELD_NUMBER
Field Value
RECIPE_FIELD_NUMBER
public static final int RECIPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SlsaProvenance getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SlsaProvenance.Builder newBuilder()
Returns
newBuilder(SlsaProvenance prototype)
public static SlsaProvenance.Builder newBuilder(SlsaProvenance prototype)
Parameter
Returns
public static SlsaProvenance parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SlsaProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SlsaProvenance parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SlsaProvenance parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SlsaProvenance parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SlsaProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SlsaProvenance parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SlsaProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SlsaProvenance parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SlsaProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SlsaProvenance> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBuilder()
public SlsaProvenance.SlsaBuilder getBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Returns
getBuilderOrBuilder()
public SlsaProvenance.SlsaBuilderOrBuilder getBuilderOrBuilder()
required
.grafeas.v1.SlsaProvenance.SlsaBuilder builder = 1;
Returns
getDefaultInstanceForType()
public SlsaProvenance getDefaultInstanceForType()
Returns
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
Returns
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
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;
Returns
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
Returns
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;
Returns
public SlsaProvenance.SlsaMetadataOrBuilder getMetadataOrBuilder()
.grafeas.v1.SlsaProvenance.SlsaMetadata metadata = 3;
Returns
getParserForType()
public Parser<SlsaProvenance> getParserForType()
Returns
Overrides
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;
Returns
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;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SlsaProvenance.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SlsaProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SlsaProvenance.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions