Package io.grafeas.v1beta1.provenance
Interface BuildProvenanceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BuildProvenance
,BuildProvenance.Builder
public interface BuildProvenanceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsBuildOptions(String key)
Special options applied to this build.String
getBuilderVersion()
Version string of the builder at the time this build was executed.com.google.protobuf.ByteString
getBuilderVersionBytes()
Version string of the builder at the time this build was executed.Map<String,String>
getBuildOptions()
Deprecated.int
getBuildOptionsCount()
Special options applied to this build.Map<String,String>
getBuildOptionsMap()
Special options applied to this build.String
getBuildOptionsOrDefault(String key, String defaultValue)
Special options applied to this build.String
getBuildOptionsOrThrow(String key)
Special options applied to this build.Artifact
getBuiltArtifacts(int index)
Output of the build.int
getBuiltArtifactsCount()
Output of the build.List<Artifact>
getBuiltArtifactsList()
Output of the build.ArtifactOrBuilder
getBuiltArtifactsOrBuilder(int index)
Output of the build.List<? extends ArtifactOrBuilder>
getBuiltArtifactsOrBuilderList()
Output of the build.Command
getCommands(int index)
Commands requested by the build.int
getCommandsCount()
Commands requested by the build.List<Command>
getCommandsList()
Commands requested by the build.CommandOrBuilder
getCommandsOrBuilder(int index)
Commands requested by the build.List<? extends CommandOrBuilder>
getCommandsOrBuilderList()
Commands requested by the build.com.google.protobuf.Timestamp
getCreateTime()
Time at which the build was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time at which the build was created.String
getCreator()
E-mail address of the user who initiated this build.com.google.protobuf.ByteString
getCreatorBytes()
E-mail address of the user who initiated this build.com.google.protobuf.Timestamp
getEndTime()
Time at which execution of the build was finished.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
Time at which execution of the build was finished.String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.String
getLogsUri()
URI where any logs for this provenance were written.com.google.protobuf.ByteString
getLogsUriBytes()
URI where any logs for this provenance were written.String
getProjectId()
ID of the project.com.google.protobuf.ByteString
getProjectIdBytes()
ID of the project.Source
getSourceProvenance()
Details of the Source input to the build.SourceOrBuilder
getSourceProvenanceOrBuilder()
Details of the Source input to the build.com.google.protobuf.Timestamp
getStartTime()
Time at which execution of the build was started.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Time at which execution of the build was started.String
getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.com.google.protobuf.ByteString
getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.boolean
hasCreateTime()
Time at which the build was created.boolean
hasEndTime()
Time at which execution of the build was finished.boolean
hasSourceProvenance()
Details of the Source input to the build.boolean
hasStartTime()
Time at which execution of the build was started.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
Required. Unique identifier of the build.
string id = 1;
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;
- Returns:
- The bytes for id.
-
getProjectId
String getProjectId()
ID of the project.
string project_id = 2;
- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;
- Returns:
- The bytes for projectId.
-
getCommandsList
List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommands
Command getCommands(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsCount
int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsOrBuilderList
List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsOrBuilder
CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getBuiltArtifactsList
List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifacts
Artifact getBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsCount
int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsOrBuilderList
List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsOrBuilder
ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
hasCreateTime
boolean hasCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
hasStartTime
boolean hasStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
- Returns:
- Whether the startTime field is set.
-
getStartTime
com.google.protobuf.Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
- Returns:
- The startTime.
-
getStartTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
hasEndTime
boolean hasEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
- Returns:
- Whether the endTime field is set.
-
getEndTime
com.google.protobuf.Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
- Returns:
- The endTime.
-
getEndTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
getCreator
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:
- The creator.
-
getCreatorBytes
com.google.protobuf.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:
- The bytes for creator.
-
getLogsUri
String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;
- Returns:
- The logsUri.
-
getLogsUriBytes
com.google.protobuf.ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;
- Returns:
- The bytes for logsUri.
-
hasSourceProvenance
boolean hasSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
- Returns:
- The sourceProvenance.
-
getSourceProvenanceOrBuilder
SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
getTriggerId
String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
- Returns:
- The triggerId.
-
getTriggerIdBytes
com.google.protobuf.ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;
- Returns:
- The bytes for triggerId.
-
getBuildOptionsCount
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;
-
containsBuildOptions
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;
-
getBuildOptions
@Deprecated Map<String,String> getBuildOptions()
Deprecated.UsegetBuildOptionsMap()
instead.
-
getBuildOptionsMap
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;
-
getBuildOptionsOrDefault
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;
-
getBuildOptionsOrThrow
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;
-
getBuilderVersion
String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;
- Returns:
- The builderVersion.
-
getBuilderVersionBytes
com.google.protobuf.ByteString getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
string builder_version = 13;
- Returns:
- The bytes for builderVersion.
-
-