Interface BuildProvenanceOrBuilder (2.28.0)

public interface BuildProvenanceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsBuildOptions(String key)

public abstract boolean containsBuildOptions(String key)

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBuildOptions()

public abstract Map<String,String> getBuildOptions()

Use #getBuildOptionsMap() instead.

Returns
TypeDescription
Map<String,String>

getBuildOptionsCount()

public abstract int getBuildOptionsCount()

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Returns
TypeDescription
int

getBuildOptionsMap()

public abstract Map<String,String> getBuildOptionsMap()

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Returns
TypeDescription
Map<String,String>

getBuildOptionsOrDefault(String key, String defaultValue)

public abstract String getBuildOptionsOrDefault(String key, String defaultValue)

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getBuildOptionsOrThrow(String key)

public abstract String getBuildOptionsOrThrow(String key)

Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.

map<string, string> build_options = 12;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getBuilderVersion()

public abstract String getBuilderVersion()

Version string of the builder at the time this build was executed.

string builder_version = 13;

Returns
TypeDescription
String

The builderVersion.

getBuilderVersionBytes()

public abstract ByteString getBuilderVersionBytes()

Version string of the builder at the time this build was executed.

string builder_version = 13;

Returns
TypeDescription
ByteString

The bytes for builderVersion.

getBuiltArtifacts(int index)

public abstract Artifact getBuiltArtifacts(int index)

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Artifact

getBuiltArtifactsCount()

public abstract int getBuiltArtifactsCount()

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
TypeDescription
int

getBuiltArtifactsList()

public abstract List<Artifact> getBuiltArtifactsList()

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
TypeDescription
List<Artifact>

getBuiltArtifactsOrBuilder(int index)

public abstract ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
ArtifactOrBuilder

getBuiltArtifactsOrBuilderList()

public abstract List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()

Output of the build.

repeated .grafeas.v1.Artifact built_artifacts = 4;

Returns
TypeDescription
List<? extends io.grafeas.v1.ArtifactOrBuilder>

getCommands(int index)

public abstract Command getCommands(int index)

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
Command

getCommandsCount()

public abstract int getCommandsCount()

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
TypeDescription
int

getCommandsList()

public abstract List<Command> getCommandsList()

Commands requested by the build.

repeated .grafeas.v1.Command commands = 3;

Returns
TypeDescription
List<Command>

getCommandsOrBuilder(int index)

public abstract CommandOrBuilder getCommandsOrBuilder(int index)