Interface BuildProvenanceOrBuilder (2.45.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
Name Description
key String
Returns
Type Description
boolean

getBuildOptions() (deprecated)

public abstract Map<String,String> getBuildOptions()

Use #getBuildOptionsMap() instead.

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue String
Returns
Type Description
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
Name Description
key String
Returns
Type Description
String

getBuilderVersion()

public abstract String getBuilderVersion()

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

string builder_version = 13;

Returns
Type Description
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
Type Description
ByteString

The bytes for builderVersion.

getBuiltArtifacts(int index)

public abstract Artifact getBuiltArtifacts(int index)

Output of the build.

repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;

Parameter
Name Description
index int
Returns
Type Description
Artifact

getBuiltArtifactsCount()

public abstract int getBuiltArtifactsCount()

Output of the build.

repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;

Returns
Type Description
int

getBuiltArtifactsList()

public abstract List<Artifact> getBuiltArtifactsList()

Output of the build.

repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;

Returns
Type Description
List<Artifact>

getBuiltArtifactsOrBuilder(int index)

public abstract ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)

Output of the build.

repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;

Parameter
Name Description
index int
Returns
Type Description
ArtifactOrBuilder

getBuiltArtifactsOrBuilderList()

public abstract List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()

Output of the build.

repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;

Returns
Type Description
List<? extends io.grafeas.v1beta1.provenance.ArtifactOrBuilder>

getCommands(int index)

public abstract Command getCommands(int index)

Commands requested by the build.

repeated .grafeas.v1beta1.provenance.Command commands = 3;

Parameter
Name Description
index int
Returns
Type Description
Command

getCommandsCount()

public abstract int getCommandsCount()

Commands requested by the build.

repeated .grafeas.v1beta1.provenance.Command commands = 3;

Returns
Type Description
int

getCommandsList()

public abstract List<Command> getCommandsList()

Commands requested by the build.

repeated .grafeas.v1beta1.provenance.Command commands = 3;

Returns
Type Description
List<Command>

getCommandsOrBuilder(int index)

public abstract CommandOrBuilder getCommandsOrBuilder(int index)

Commands requested by the build.

repeated .grafeas.v1beta1.provenance.Command commands = 3;

Parameter
Name Description
index int
Returns
Type Description
CommandOrBuilder

getCommandsOrBuilderList()

public abstract List<? extends CommandOrBuilder> getCommandsOrBuilderList()

Commands requested by the build.

repeated .grafeas.v1beta1.provenance.Command commands = 3;

Returns
Type Description
List<? extends io.grafeas.v1beta1.provenance.CommandOrBuilder>

getCreateTime()

public abstract Timestamp getCreateTime()

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
TimestampOrBuilder

getCreator()

public abstract String getCreator()

E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.

string creator = 8;

Returns
Type Description
String

The creator.

getCreatorBytes()

public abstract ByteString getCreatorBytes()

E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.

string creator = 8;

Returns
Type Description
ByteString

The bytes for creator.

getEndTime()

public abstract Timestamp getEndTime()

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
TimestampOrBuilder

getId()

public abstract String getId()

Required. Unique identifier of the build.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Unique identifier of the build.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getLogsUri()

public abstract String getLogsUri()

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
Type Description
String

The logsUri.

getLogsUriBytes()

public abstract ByteString getLogsUriBytes()

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
Type Description
ByteString

The bytes for logsUri.

getProjectId()

public abstract String getProjectId()

ID of the project.

string project_id = 2;

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

ID of the project.

string project_id = 2;

Returns
Type Description
ByteString

The bytes for projectId.

getSourceProvenance()

public abstract Source getSourceProvenance()

Details of the Source input to the build.

.grafeas.v1beta1.provenance.Source source_provenance = 10;

Returns
Type Description
Source

The sourceProvenance.

getSourceProvenanceOrBuilder()

public abstract SourceOrBuilder getSourceProvenanceOrBuilder()

Details of the Source input to the build.

.grafeas.v1beta1.provenance.Source source_provenance = 10;

Returns
Type Description
SourceOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
TimestampOrBuilder

getTriggerId()

public abstract String getTriggerId()

Trigger identifier if the build was triggered automatically; empty if not.

string trigger_id = 11;

Returns
Type Description
String

The triggerId.

getTriggerIdBytes()

public abstract ByteString getTriggerIdBytes()

Trigger identifier if the build was triggered automatically; empty if not.

string trigger_id = 11;

Returns
Type Description
ByteString

The bytes for triggerId.

hasCreateTime()

public abstract boolean hasCreateTime()

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public abstract boolean hasEndTime()

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
Type Description
boolean

Whether the endTime field is set.

hasSourceProvenance()

public abstract boolean hasSourceProvenance()

Details of the Source input to the build.

.grafeas.v1beta1.provenance.Source source_provenance = 10;

Returns
Type Description
boolean

Whether the sourceProvenance field is set.

hasStartTime()

public abstract boolean hasStartTime()

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
Type Description
boolean

Whether the startTime field is set.