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