Class SlsaProvenanceZeroTwo.SlsaMaterial (2.34.0)

public static final class SlsaProvenanceZeroTwo.SlsaMaterial extends GeneratedMessageV3 implements SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder

The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.

Protobuf type grafeas.v1.SlsaProvenanceZeroTwo.SlsaMaterial

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SlsaProvenanceZeroTwo.SlsaMaterial

Static Fields

DIGEST_FIELD_NUMBER

public static final int DIGEST_FIELD_NUMBER
Field Value
TypeDescription
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SlsaProvenanceZeroTwo.SlsaMaterial getDefaultInstance()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial

getDescriptor()

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

newBuilder()

public static SlsaProvenanceZeroTwo.SlsaMaterial.Builder newBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial.Builder

newBuilder(SlsaProvenanceZeroTwo.SlsaMaterial prototype)

public static SlsaProvenanceZeroTwo.SlsaMaterial.Builder newBuilder(SlsaProvenanceZeroTwo.SlsaMaterial prototype)
Parameter
NameDescription
prototypeSlsaProvenanceZeroTwo.SlsaMaterial
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial.Builder

parseDelimitedFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaMaterial parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static SlsaProvenanceZeroTwo.SlsaMaterial parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static SlsaProvenanceZeroTwo.SlsaMaterial parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static SlsaProvenanceZeroTwo.SlsaMaterial parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static SlsaProvenanceZeroTwo.SlsaMaterial parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SlsaProvenanceZeroTwo.SlsaMaterial> parser()
Returns
TypeDescription
Parser<SlsaMaterial>

Methods

containsDigest(String key)

public boolean containsDigest(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

equals(Object obj)

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

getDefaultInstanceForType()

public SlsaProvenanceZeroTwo.SlsaMaterial getDefaultInstanceForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial

getDigest() (deprecated)

public Map<String,String> getDigest()

Use #getDigestMap() instead.

Returns
TypeDescription
Map<String,String>

getDigestCount()

public int getDigestCount()

map<string, string> digest = 2;

Returns
TypeDescription
int

getDigestMap()

public Map<String,String> getDigestMap()

map<string, string> digest = 2;

Returns
TypeDescription
Map<String,String>

getDigestOrDefault(String key, String defaultValue)

public String getDigestOrDefault(String key, String defaultValue)

map<string, string> digest = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDigestOrThrow(String key)

public String getDigestOrThrow(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getParserForType()

public Parser<SlsaProvenanceZeroTwo.SlsaMaterial> getParserForType()
Returns
TypeDescription
Parser<SlsaMaterial>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUri()

public String getUri()

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public ByteString getUriBytes()

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SlsaProvenanceZeroTwo.SlsaMaterial.Builder newBuilderForType()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public SlsaProvenanceZeroTwo.SlsaMaterial.Builder toBuilder()
Returns
TypeDescription
SlsaProvenanceZeroTwo.SlsaMaterial.Builder

writeTo(CodedOutputStream output)

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