Class InTotoProvenance (2.4.3)

public final class InTotoProvenance extends GeneratedMessageV3 implements InTotoProvenanceOrBuilder

Protobuf type grafeas.v1.InTotoProvenance

Static Fields

BUILDER_CONFIG_FIELD_NUMBER

public static final int BUILDER_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

MATERIALS_FIELD_NUMBER

public static final int MATERIALS_FIELD_NUMBER
Field Value
TypeDescription
int

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

RECIPE_FIELD_NUMBER

public static final int RECIPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InTotoProvenance getDefaultInstance()
Returns
TypeDescription
InTotoProvenance

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InTotoProvenance.Builder newBuilder()
Returns
TypeDescription
InTotoProvenance.Builder

newBuilder(InTotoProvenance prototype)

public static InTotoProvenance.Builder newBuilder(InTotoProvenance prototype)
Parameter
NameDescription
prototypeInTotoProvenance
Returns
TypeDescription
InTotoProvenance.Builder

parseDelimitedFrom(InputStream input)

public static InTotoProvenance parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InTotoProvenance parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InTotoProvenance parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InTotoProvenance parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InTotoProvenance parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InTotoProvenance parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InTotoProvenance parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InTotoProvenance
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InTotoProvenance> parser()
Returns
TypeDescription
Parser<InTotoProvenance>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBuilderConfig()

public BuilderConfig getBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
BuilderConfig

The builderConfig.

getBuilderConfigOrBuilder()

public BuilderConfigOrBuilder getBuilderConfigOrBuilder()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
BuilderConfigOrBuilder

getDefaultInstanceForType()

public InTotoProvenance getDefaultInstanceForType()
Returns
TypeDescription
InTotoProvenance

getMaterials(int index)

public String 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 string materials = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The materials at the given index.

getMaterialsBytes(int index)

public ByteString getMaterialsBytes(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 string materials = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the materials at the given index.

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 string materials = 4;

Returns
TypeDescription
int

The count of materials.

getMaterialsList()

public ProtocolStringList 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 string materials = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the materials.

getMetadata()

public Metadata getMetadata()

.grafeas.v1.Metadata metadata = 3;

Returns
TypeDescription
Metadata

The metadata.

getMetadataOrBuilder()

public MetadataOrBuilder getMetadataOrBuilder()

.grafeas.v1.Metadata metadata = 3;

Returns
TypeDescription
MetadataOrBuilder

getParserForType()

public Parser<InTotoProvenance> getParserForType()
Returns
TypeDescription
Parser<InTotoProvenance>
Overrides

getRecipe()

public Recipe 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.Recipe recipe = 2;

Returns
TypeDescription
Recipe

The recipe.

getRecipeOrBuilder()

public RecipeOrBuilder 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.Recipe recipe = 2;

Returns
TypeDescription
RecipeOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBuilderConfig()

public boolean hasBuilderConfig()

required

.grafeas.v1.BuilderConfig builder_config = 1;

Returns
TypeDescription
boolean

Whether the builderConfig field is set.

hasMetadata()

public boolean hasMetadata()

.grafeas.v1.Metadata metadata = 3;

Returns
TypeDescription
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.Recipe recipe = 2;

Returns
TypeDescription
boolean

Whether the recipe field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InTotoProvenance.Builder newBuilderForType()
Returns
TypeDescription
InTotoProvenance.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InTotoProvenance.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InTotoProvenance.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InTotoProvenance.Builder toBuilder()
Returns
TypeDescription
InTotoProvenance.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException