Interface SlsaProvenance.MaterialOrBuilder (2.34.0)

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() (deprecated)

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.