Interface InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder (2.48.0)

public static interface InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAnnotations(String key)

public abstract boolean containsAnnotations(String key)

map<string, .google.protobuf.Value> annotations = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

containsDigest(String key)

public abstract boolean containsDigest(String key)

map<string, string> digest = 3;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAnnotations() (deprecated)

public abstract Map<String,Value> getAnnotations()

Use #getAnnotationsMap() instead.

Returns
Type Description
Map<String,Value>

getAnnotationsCount()

public abstract int getAnnotationsCount()

map<string, .google.protobuf.Value> annotations = 7;

Returns
Type Description
int

getAnnotationsMap()

public abstract Map<String,Value> getAnnotationsMap()

map<string, .google.protobuf.Value> annotations = 7;

Returns
Type Description
Map<String,Value>

getAnnotationsOrDefault(String key, Value defaultValue)

public abstract Value getAnnotationsOrDefault(String key, Value defaultValue)

map<string, .google.protobuf.Value> annotations = 7;

Parameters
Name Description
key String
defaultValue Value
Returns
Type Description
Value

getAnnotationsOrThrow(String key)

public abstract Value getAnnotationsOrThrow(String key)

map<string, .google.protobuf.Value> annotations = 7;

Parameter
Name Description
key String
Returns
Type Description
Value

getContent()

public abstract ByteString getContent()

bytes content = 4;

Returns
Type Description
ByteString

The content.

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 = 3;

Returns
Type Description
int

getDigestMap()

public abstract Map<String,String> getDigestMap()

map<string, string> digest = 3;

Returns
Type Description
Map<String,String>

getDigestOrDefault(String key, String defaultValue)

public abstract String getDigestOrDefault(String key, String defaultValue)

map<string, string> digest = 3;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getDigestOrThrow(String key)

public abstract String getDigestOrThrow(String key)

map<string, string> digest = 3;

Parameter
Name Description
key String
Returns
Type Description
String

getDownloadLocation()

public abstract String getDownloadLocation()

string download_location = 5;

Returns
Type Description
String

The downloadLocation.

getDownloadLocationBytes()

public abstract ByteString getDownloadLocationBytes()

string download_location = 5;

Returns
Type Description
ByteString

The bytes for downloadLocation.

getMediaType()

public abstract String getMediaType()

string media_type = 6;

Returns
Type Description
String

The mediaType.

getMediaTypeBytes()

public abstract ByteString getMediaTypeBytes()

string media_type = 6;

Returns
Type Description
ByteString

The bytes for mediaType.

getName()

public abstract String getName()

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getUri()

public abstract String getUri()

string uri = 2;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

string uri = 2;

Returns
Type Description
ByteString

The bytes for uri.