Class InTotoProvenance (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
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()