Interface SlsaProvenance.MaterialOrBuilder (2.4.5)

Stay organized with collections Save and categorize content based on your preferences.
public static interface SlsaProvenance.MaterialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDigest(String key)

public abstract boolean containsDigest(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getDigest()

public abstract Map<String,String> getDigest()

Use #getDigestMap() instead.

Returns
TypeDescription
Map<String,String>

getDigestCount()

public abstract int getDigestCount()

map<string, string> digest = 2;

Returns
TypeDescription
int

getDigestMap()

public abstract Map<String,String> getDigestMap()

map<string, string> digest = 2;

Returns
TypeDescription
Map<String,String>

getDigestOrDefault(String key, String defaultValue)

public abstract String getDigestOrDefault(String key, String defaultValue)

map<string, string> digest = 2;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getDigestOrThrow(String key)

public abstract String getDigestOrThrow(String key)

map<string, string> digest = 2;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getUri()

public abstract String getUri()

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.