Interface BuildProvenanceOrBuilder (2.35.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() (deprecated)

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.v1beta1.provenance.Artifact built_artifacts = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
Artifact

getBuiltArtifactsCount()

public abstract int getBuiltArtifactsCount()

Output of the build.

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

Returns
TypeDescription
int

getBuiltArtifactsList()

public abstract List<Artifact> getBuiltArtifactsList()

Output of the build.

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

Returns
TypeDescription
List<Artifact>

getBuiltArtifactsOrBuilder(int index)

public abstract ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)

Output of the build.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
ArtifactOrBuilder

getBuiltArtifactsOrBuilderList()

public abstract List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()

Output of the build.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Command

getCommandsCount()

public abstract int getCommandsCount()

Commands requested by the build.

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

Returns
TypeDescription
int

getCommandsList()

public abstract List<Command> getCommandsList()

Commands requested by the build.

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

Returns
TypeDescription
List<Command>

getCommandsOrBuilder(int index)

public abstract CommandOrBuilder getCommandsOrBuilder(int index)

Commands requested by the build.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
CommandOrBuilder

getCommandsOrBuilderList()

public abstract List<? extends CommandOrBuilder> getCommandsOrBuilderList()

Commands requested by the build.

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

Returns
TypeDescription
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
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Timestamp

The endTime.

getEndTimeOrBuilder()

public abstract TimestampOrBuilder getEndTimeOrBuilder()

Time at which execution of the build was finished.

.google.protobuf.Timestamp end_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getId()

public abstract String getId()

Required. Unique identifier of the build.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Unique identifier of the build.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getLogsUri()

public abstract String getLogsUri()

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
TypeDescription
String

The logsUri.

getLogsUriBytes()

public abstract ByteString getLogsUriBytes()

URI where any logs for this provenance were written.

string logs_uri = 9;

Returns
TypeDescription
ByteString

The bytes for logsUri.

getProjectId()

public abstract String getProjectId()

ID of the project.

string project_id = 2;

Returns
TypeDescription
String

The projectId.

getProjectIdBytes()

public abstract ByteString getProjectIdBytes()

ID of the project.

string project_id = 2;

Returns
TypeDescription
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
TypeDescription
Source

The sourceProvenance.

getSourceProvenanceOrBuilder()

public abstract SourceOrBuilder getSourceProvenanceOrBuilder()

Details of the Source input to the build.

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

Returns
TypeDescription
SourceOrBuilder

getStartTime()

public abstract Timestamp getStartTime()

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Time at which execution of the build was started.

.google.protobuf.Timestamp start_time = 6;

Returns
TypeDescription
TimestampOrBuilder

getTriggerId()

public abstract String getTriggerId()

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

string trigger_id = 11;

Returns
TypeDescription
String

The triggerId.

getTriggerIdBytes()

public abstract ByteString getTriggerIdBytes()

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

string trigger_id = 11;

Returns
TypeDescription
ByteString

The bytes for triggerId.

hasCreateTime()

public abstract boolean hasCreateTime()

Time at which the build was created.

.google.protobuf.Timestamp create_time = 5;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the startTime field is set.