Interface InTotoSlsaProvenanceV1.ProvenanceBuilderOrBuilder (2.50.0)

public static interface InTotoSlsaProvenanceV1.ProvenanceBuilderOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsVersion(String key)

public abstract boolean containsVersion(String key)

map<string, string> version = 2;

Parameter
Name Description
key String
Returns
Type Description
boolean

getBuilderDependencies(int index)

public abstract InTotoSlsaProvenanceV1.ResourceDescriptor getBuilderDependencies(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptor

getBuilderDependenciesCount()

public abstract int getBuilderDependenciesCount()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;

Returns
Type Description
int

getBuilderDependenciesList()

public abstract List<InTotoSlsaProvenanceV1.ResourceDescriptor> getBuilderDependenciesList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;

Returns
Type Description
List<ResourceDescriptor>

getBuilderDependenciesOrBuilder(int index)

public abstract InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder getBuilderDependenciesOrBuilder(int index)

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;

Parameter
Name Description
index int
Returns
Type Description
InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder

getBuilderDependenciesOrBuilderList()

public abstract List<? extends InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder> getBuilderDependenciesOrBuilderList()

repeated .grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptor builder_dependencies = 3;

Returns
Type Description
List<? extends io.grafeas.v1.InTotoSlsaProvenanceV1.ResourceDescriptorOrBuilder>

getId()

public abstract String getId()

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getVersion() (deprecated)

public abstract Map<String,String> getVersion()

Use #getVersionMap() instead.

Returns
Type Description
Map<String,String>

getVersionCount()

public abstract int getVersionCount()

map<string, string> version = 2;

Returns
Type Description
int

getVersionMap()

public abstract Map<String,String> getVersionMap()

map<string, string> version = 2;

Returns
Type Description
Map<String,String>

getVersionOrDefault(String key, String defaultValue)

public abstract String getVersionOrDefault(String key, String defaultValue)

map<string, string> version = 2;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getVersionOrThrow(String key)

public abstract String getVersionOrThrow(String key)

map<string, string> version = 2;

Parameter
Name Description
key String
Returns
Type Description
String