Interface SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder (2.47.0)

public static interface SlsaProvenanceZeroTwo.SlsaMaterialOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsDigest(String key)

public abstract boolean containsDigest(String key)

map<string, string> digest = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDigest() (deprecated)

public abstract Map<String,String> getDigest()

Use #getDigestMap() instead.

Returns
Type Description
Map<String,String>

getDigestCount()

public abstract int getDigestCount()

map<string, string> digest = 2;

Returns
Type Description
int

getDigestMap()

public abstract Map<String,String> getDigestMap()

map<string, string> digest = 2;

Returns
Type Description
Map<String,String>

getDigestOrDefault(String key, String defaultValue)

public abstract String getDigestOrDefault(String key, String defaultValue)

map<string, string> digest = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getDigestOrThrow(String key)

public abstract String getDigestOrThrow(String key)

map<string, string> digest = 2;

Parameter
Name Description
key String
Returns
Type Description
String

getUri()

public abstract String getUri()

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.