Package io.grafeas.v1beta1.provenance
Class BuildProvenance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
- io.grafeas.v1beta1.provenance.BuildProvenance.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,BuildProvenanceOrBuilder,Cloneable
- Enclosing class:
- BuildProvenance
public static final class BuildProvenance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder> implements BuildProvenanceOrBuilder
Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.
Protobuf typegrafeas.v1beta1.provenance.BuildProvenance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BuildProvenance.BuilderaddAllBuiltArtifacts(Iterable<? extends Artifact> values)Output of the build.BuildProvenance.BuilderaddAllCommands(Iterable<? extends Command> values)Commands requested by the build.BuildProvenance.BuilderaddBuiltArtifacts(int index, Artifact value)Output of the build.BuildProvenance.BuilderaddBuiltArtifacts(int index, Artifact.Builder builderForValue)Output of the build.BuildProvenance.BuilderaddBuiltArtifacts(Artifact value)Output of the build.BuildProvenance.BuilderaddBuiltArtifacts(Artifact.Builder builderForValue)Output of the build.Artifact.BuilderaddBuiltArtifactsBuilder()Output of the build.Artifact.BuilderaddBuiltArtifactsBuilder(int index)Output of the build.BuildProvenance.BuilderaddCommands(int index, Command value)Commands requested by the build.BuildProvenance.BuilderaddCommands(int index, Command.Builder builderForValue)Commands requested by the build.BuildProvenance.BuilderaddCommands(Command value)Commands requested by the build.BuildProvenance.BuilderaddCommands(Command.Builder builderForValue)Commands requested by the build.Command.BuilderaddCommandsBuilder()Commands requested by the build.Command.BuilderaddCommandsBuilder(int index)Commands requested by the build.BuildProvenance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BuildProvenancebuild()BuildProvenancebuildPartial()BuildProvenance.Builderclear()BuildProvenance.BuilderclearBuilderVersion()Version string of the builder at the time this build was executed.BuildProvenance.BuilderclearBuildOptions()BuildProvenance.BuilderclearBuiltArtifacts()Output of the build.BuildProvenance.BuilderclearCommands()Commands requested by the build.BuildProvenance.BuilderclearCreateTime()Time at which the build was created.BuildProvenance.BuilderclearCreator()E-mail address of the user who initiated this build.BuildProvenance.BuilderclearEndTime()Time at which execution of the build was finished.BuildProvenance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BuildProvenance.BuilderclearId()Required.BuildProvenance.BuilderclearLogsUri()URI where any logs for this provenance were written.BuildProvenance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BuildProvenance.BuilderclearProjectId()ID of the project.BuildProvenance.BuilderclearSourceProvenance()Details of the Source input to the build.BuildProvenance.BuilderclearStartTime()Time at which execution of the build was started.BuildProvenance.BuilderclearTriggerId()Trigger identifier if the build was triggered automatically; empty if not.BuildProvenance.Builderclone()booleancontainsBuildOptions(String key)Special options applied to this build.StringgetBuilderVersion()Version string of the builder at the time this build was executed.com.google.protobuf.ByteStringgetBuilderVersionBytes()Version string of the builder at the time this build was executed.Map<String,String>getBuildOptions()Deprecated.intgetBuildOptionsCount()Special options applied to this build.Map<String,String>getBuildOptionsMap()Special options applied to this build.StringgetBuildOptionsOrDefault(String key, String defaultValue)Special options applied to this build.StringgetBuildOptionsOrThrow(String key)Special options applied to this build.ArtifactgetBuiltArtifacts(int index)Output of the build.Artifact.BuildergetBuiltArtifactsBuilder(int index)Output of the build.List<Artifact.Builder>getBuiltArtifactsBuilderList()Output of the build.intgetBuiltArtifactsCount()Output of the build.List<Artifact>getBuiltArtifactsList()Output of the build.ArtifactOrBuildergetBuiltArtifactsOrBuilder(int index)Output of the build.List<? extends ArtifactOrBuilder>getBuiltArtifactsOrBuilderList()Output of the build.CommandgetCommands(int index)Commands requested by the build.Command.BuildergetCommandsBuilder(int index)Commands requested by the build.List<Command.Builder>getCommandsBuilderList()Commands requested by the build.intgetCommandsCount()Commands requested by the build.List<Command>getCommandsList()Commands requested by the build.CommandOrBuildergetCommandsOrBuilder(int index)Commands requested by the build.List<? extends CommandOrBuilder>getCommandsOrBuilderList()Commands requested by the build.com.google.protobuf.TimestampgetCreateTime()Time at which the build was created.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Time at which the build was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time at which the build was created.StringgetCreator()E-mail address of the user who initiated this build.com.google.protobuf.ByteStringgetCreatorBytes()E-mail address of the user who initiated this build.BuildProvenancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.TimestampgetEndTime()Time at which execution of the build was finished.com.google.protobuf.Timestamp.BuildergetEndTimeBuilder()Time at which execution of the build was finished.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Time at which execution of the build was finished.StringgetId()Required.com.google.protobuf.ByteStringgetIdBytes()Required.StringgetLogsUri()URI where any logs for this provenance were written.com.google.protobuf.ByteStringgetLogsUriBytes()URI where any logs for this provenance were written.Map<String,String>getMutableBuildOptions()Deprecated.StringgetProjectId()ID of the project.com.google.protobuf.ByteStringgetProjectIdBytes()ID of the project.SourcegetSourceProvenance()Details of the Source input to the build.Source.BuildergetSourceProvenanceBuilder()Details of the Source input to the build.SourceOrBuildergetSourceProvenanceOrBuilder()Details of the Source input to the build.com.google.protobuf.TimestampgetStartTime()Time at which execution of the build was started.com.google.protobuf.Timestamp.BuildergetStartTimeBuilder()Time at which execution of the build was started.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Time at which execution of the build was started.StringgetTriggerId()Trigger identifier if the build was triggered automatically; empty if not.com.google.protobuf.ByteStringgetTriggerIdBytes()Trigger identifier if the build was triggered automatically; empty if not.booleanhasCreateTime()Time at which the build was created.booleanhasEndTime()Time at which execution of the build was finished.booleanhasSourceProvenance()Details of the Source input to the build.booleanhasStartTime()Time at which execution of the build was started.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()BuildProvenance.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Time at which the build was created.BuildProvenance.BuildermergeEndTime(com.google.protobuf.Timestamp value)Time at which execution of the build was finished.BuildProvenance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BuildProvenance.BuildermergeFrom(com.google.protobuf.Message other)BuildProvenance.BuildermergeFrom(BuildProvenance other)BuildProvenance.BuildermergeSourceProvenance(Source value)Details of the Source input to the build.BuildProvenance.BuildermergeStartTime(com.google.protobuf.Timestamp value)Time at which execution of the build was started.BuildProvenance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BuildProvenance.BuilderputAllBuildOptions(Map<String,String> values)Special options applied to this build.BuildProvenance.BuilderputBuildOptions(String key, String value)Special options applied to this build.BuildProvenance.BuilderremoveBuildOptions(String key)Special options applied to this build.BuildProvenance.BuilderremoveBuiltArtifacts(int index)Output of the build.BuildProvenance.BuilderremoveCommands(int index)Commands requested by the build.BuildProvenance.BuildersetBuilderVersion(String value)Version string of the builder at the time this build was executed.BuildProvenance.BuildersetBuilderVersionBytes(com.google.protobuf.ByteString value)Version string of the builder at the time this build was executed.BuildProvenance.BuildersetBuiltArtifacts(int index, Artifact value)Output of the build.BuildProvenance.BuildersetBuiltArtifacts(int index, Artifact.Builder builderForValue)Output of the build.BuildProvenance.BuildersetCommands(int index, Command value)Commands requested by the build.BuildProvenance.BuildersetCommands(int index, Command.Builder builderForValue)Commands requested by the build.BuildProvenance.BuildersetCreateTime(com.google.protobuf.Timestamp value)Time at which the build was created.BuildProvenance.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Time at which the build was created.BuildProvenance.BuildersetCreator(String value)E-mail address of the user who initiated this build.BuildProvenance.BuildersetCreatorBytes(com.google.protobuf.ByteString value)E-mail address of the user who initiated this build.BuildProvenance.BuildersetEndTime(com.google.protobuf.Timestamp value)Time at which execution of the build was finished.BuildProvenance.BuildersetEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Time at which execution of the build was finished.BuildProvenance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)BuildProvenance.BuildersetId(String value)Required.BuildProvenance.BuildersetIdBytes(com.google.protobuf.ByteString value)Required.BuildProvenance.BuildersetLogsUri(String value)URI where any logs for this provenance were written.BuildProvenance.BuildersetLogsUriBytes(com.google.protobuf.ByteString value)URI where any logs for this provenance were written.BuildProvenance.BuildersetProjectId(String value)ID of the project.BuildProvenance.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)ID of the project.BuildProvenance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)BuildProvenance.BuildersetSourceProvenance(Source value)Details of the Source input to the build.BuildProvenance.BuildersetSourceProvenance(Source.Builder builderForValue)Details of the Source input to the build.BuildProvenance.BuildersetStartTime(com.google.protobuf.Timestamp value)Time at which execution of the build was started.BuildProvenance.BuildersetStartTime(com.google.protobuf.Timestamp.Builder builderForValue)Time at which execution of the build was started.BuildProvenance.BuildersetTriggerId(String value)Trigger identifier if the build was triggered automatically; empty if not.BuildProvenance.BuildersetTriggerIdBytes(com.google.protobuf.ByteString value)Trigger identifier if the build was triggered automatically; empty if not.BuildProvenance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
clear
public BuildProvenance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
getDefaultInstanceForType
public BuildProvenance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildProvenance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildProvenance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildProvenance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
setField
public BuildProvenance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
clearField
public BuildProvenance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
clearOneof
public BuildProvenance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
setRepeatedField
public BuildProvenance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
addRepeatedField
public BuildProvenance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
mergeFrom
public BuildProvenance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildProvenance.Builder>
-
mergeFrom
public BuildProvenance.Builder mergeFrom(BuildProvenance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
mergeFrom
public BuildProvenance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildProvenance.Builder>- Throws:
IOException
-
getId
public String getId()
Required. Unique identifier of the build.
string id = 1;- Specified by:
getIdin interfaceBuildProvenanceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Required. Unique identifier of the build.
string id = 1;- Specified by:
getIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for id.
-
setId
public BuildProvenance.Builder setId(String value)
Required. Unique identifier of the build.
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public BuildProvenance.Builder clearId()
Required. Unique identifier of the build.
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public BuildProvenance.Builder setIdBytes(com.google.protobuf.ByteString value)
Required. Unique identifier of the build.
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getProjectId
public String getProjectId()
ID of the project.
string project_id = 2;- Specified by:
getProjectIdin interfaceBuildProvenanceOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
ID of the project.
string project_id = 2;- Specified by:
getProjectIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public BuildProvenance.Builder setProjectId(String value)
ID of the project.
string project_id = 2;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public BuildProvenance.Builder clearProjectId()
ID of the project.
string project_id = 2;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public BuildProvenance.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
ID of the project.
string project_id = 2;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
getCommandsList
public List<Command> getCommandsList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsListin interfaceBuildProvenanceOrBuilder
-
getCommandsCount
public int getCommandsCount()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsCountin interfaceBuildProvenanceOrBuilder
-
getCommands
public Command getCommands(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsin interfaceBuildProvenanceOrBuilder
-
setCommands
public BuildProvenance.Builder setCommands(int index, Command value)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
setCommands
public BuildProvenance.Builder setCommands(int index, Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addCommands
public BuildProvenance.Builder addCommands(Command value)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addCommands
public BuildProvenance.Builder addCommands(int index, Command value)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addCommands
public BuildProvenance.Builder addCommands(Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addCommands
public BuildProvenance.Builder addCommands(int index, Command.Builder builderForValue)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addAllCommands
public BuildProvenance.Builder addAllCommands(Iterable<? extends Command> values)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
clearCommands
public BuildProvenance.Builder clearCommands()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
removeCommands
public BuildProvenance.Builder removeCommands(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsBuilder
public Command.Builder getCommandsBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsOrBuilder
public CommandOrBuilder getCommandsOrBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsOrBuilderin interfaceBuildProvenanceOrBuilder
-
getCommandsOrBuilderList
public List<? extends CommandOrBuilder> getCommandsOrBuilderList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;- Specified by:
getCommandsOrBuilderListin interfaceBuildProvenanceOrBuilder
-
addCommandsBuilder
public Command.Builder addCommandsBuilder()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
addCommandsBuilder
public Command.Builder addCommandsBuilder(int index)
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getCommandsBuilderList
public List<Command.Builder> getCommandsBuilderList()
Commands requested by the build.
repeated .grafeas.v1beta1.provenance.Command commands = 3;
-
getBuiltArtifactsList
public List<Artifact> getBuiltArtifactsList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsListin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsCount
public int getBuiltArtifactsCount()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsCountin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifacts
public Artifact getBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsin interfaceBuildProvenanceOrBuilder
-
setBuiltArtifacts
public BuildProvenance.Builder setBuiltArtifacts(int index, Artifact value)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
setBuiltArtifacts
public BuildProvenance.Builder setBuiltArtifacts(int index, Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addBuiltArtifacts
public BuildProvenance.Builder addBuiltArtifacts(Artifact value)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addBuiltArtifacts
public BuildProvenance.Builder addBuiltArtifacts(int index, Artifact value)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addBuiltArtifacts
public BuildProvenance.Builder addBuiltArtifacts(Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addBuiltArtifacts
public BuildProvenance.Builder addBuiltArtifacts(int index, Artifact.Builder builderForValue)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addAllBuiltArtifacts
public BuildProvenance.Builder addAllBuiltArtifacts(Iterable<? extends Artifact> values)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
clearBuiltArtifacts
public BuildProvenance.Builder clearBuiltArtifacts()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
removeBuiltArtifacts
public BuildProvenance.Builder removeBuiltArtifacts(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsBuilder
public Artifact.Builder getBuiltArtifactsBuilder(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsOrBuilder
public ArtifactOrBuilder getBuiltArtifactsOrBuilder(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsOrBuilderin interfaceBuildProvenanceOrBuilder
-
getBuiltArtifactsOrBuilderList
public List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;- Specified by:
getBuiltArtifactsOrBuilderListin interfaceBuildProvenanceOrBuilder
-
addBuiltArtifactsBuilder
public Artifact.Builder addBuiltArtifactsBuilder()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
addBuiltArtifactsBuilder
public Artifact.Builder addBuiltArtifactsBuilder(int index)
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
getBuiltArtifactsBuilderList
public List<Artifact.Builder> getBuiltArtifactsBuilderList()
Output of the build.
repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
-
hasCreateTime
public boolean hasCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
hasCreateTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimein interfaceBuildProvenanceOrBuilder- Returns:
- The createTime.
-
setCreateTime
public BuildProvenance.Builder setCreateTime(com.google.protobuf.Timestamp value)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
setCreateTime
public BuildProvenance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
mergeCreateTime
public BuildProvenance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
clearCreateTime
public BuildProvenance.Builder clearCreateTime()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time at which the build was created.
.google.protobuf.Timestamp create_time = 5;- Specified by:
getCreateTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
hasStartTime
public boolean hasStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
hasStartTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
getStartTimein interfaceBuildProvenanceOrBuilder- Returns:
- The startTime.
-
setStartTime
public BuildProvenance.Builder setStartTime(com.google.protobuf.Timestamp value)
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
setStartTime
public BuildProvenance.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
mergeStartTime
public BuildProvenance.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
clearStartTime
public BuildProvenance.Builder clearStartTime()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Time at which execution of the build was started.
.google.protobuf.Timestamp start_time = 6;- Specified by:
getStartTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
hasEndTime
public boolean hasEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
hasEndTimein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
getEndTimein interfaceBuildProvenanceOrBuilder- Returns:
- The endTime.
-
setEndTime
public BuildProvenance.Builder setEndTime(com.google.protobuf.Timestamp value)
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
setEndTime
public BuildProvenance.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
mergeEndTime
public BuildProvenance.Builder mergeEndTime(com.google.protobuf.Timestamp value)
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
clearEndTime
public BuildProvenance.Builder clearEndTime()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Time at which execution of the build was finished.
.google.protobuf.Timestamp end_time = 7;- Specified by:
getEndTimeOrBuilderin interfaceBuildProvenanceOrBuilder
-
getCreator
public 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;- Specified by:
getCreatorin interfaceBuildProvenanceOrBuilder- Returns:
- The creator.
-
getCreatorBytes
public 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;- Specified by:
getCreatorBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for creator.
-
setCreator
public BuildProvenance.Builder setCreator(String value)
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;- Parameters:
value- The creator to set.- Returns:
- This builder for chaining.
-
clearCreator
public BuildProvenance.Builder clearCreator()
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:
- This builder for chaining.
-
setCreatorBytes
public BuildProvenance.Builder setCreatorBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for creator to set.- Returns:
- This builder for chaining.
-
getLogsUri
public String getLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;- Specified by:
getLogsUriin interfaceBuildProvenanceOrBuilder- Returns:
- The logsUri.
-
getLogsUriBytes
public com.google.protobuf.ByteString getLogsUriBytes()
URI where any logs for this provenance were written.
string logs_uri = 9;- Specified by:
getLogsUriBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for logsUri.
-
setLogsUri
public BuildProvenance.Builder setLogsUri(String value)
URI where any logs for this provenance were written.
string logs_uri = 9;- Parameters:
value- The logsUri to set.- Returns:
- This builder for chaining.
-
clearLogsUri
public BuildProvenance.Builder clearLogsUri()
URI where any logs for this provenance were written.
string logs_uri = 9;- Returns:
- This builder for chaining.
-
setLogsUriBytes
public BuildProvenance.Builder setLogsUriBytes(com.google.protobuf.ByteString value)
URI where any logs for this provenance were written.
string logs_uri = 9;- Parameters:
value- The bytes for logsUri to set.- Returns:
- This builder for chaining.
-
hasSourceProvenance
public boolean hasSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
hasSourceProvenancein interfaceBuildProvenanceOrBuilder- Returns:
- Whether the sourceProvenance field is set.
-
getSourceProvenance
public Source getSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
getSourceProvenancein interfaceBuildProvenanceOrBuilder- Returns:
- The sourceProvenance.
-
setSourceProvenance
public BuildProvenance.Builder setSourceProvenance(Source value)
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
setSourceProvenance
public BuildProvenance.Builder setSourceProvenance(Source.Builder builderForValue)
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
mergeSourceProvenance
public BuildProvenance.Builder mergeSourceProvenance(Source value)
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
clearSourceProvenance
public BuildProvenance.Builder clearSourceProvenance()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
getSourceProvenanceBuilder
public Source.Builder getSourceProvenanceBuilder()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;
-
getSourceProvenanceOrBuilder
public SourceOrBuilder getSourceProvenanceOrBuilder()
Details of the Source input to the build.
.grafeas.v1beta1.provenance.Source source_provenance = 10;- Specified by:
getSourceProvenanceOrBuilderin interfaceBuildProvenanceOrBuilder
-
getTriggerId
public String getTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Specified by:
getTriggerIdin interfaceBuildProvenanceOrBuilder- Returns:
- The triggerId.
-
getTriggerIdBytes
public com.google.protobuf.ByteString getTriggerIdBytes()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Specified by:
getTriggerIdBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for triggerId.
-
setTriggerId
public BuildProvenance.Builder setTriggerId(String value)
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Parameters:
value- The triggerId to set.- Returns:
- This builder for chaining.
-
clearTriggerId
public BuildProvenance.Builder clearTriggerId()
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Returns:
- This builder for chaining.
-
setTriggerIdBytes
public BuildProvenance.Builder setTriggerIdBytes(com.google.protobuf.ByteString value)
Trigger identifier if the build was triggered automatically; empty if not.
string trigger_id = 11;- Parameters:
value- The bytes for triggerId to set.- Returns:
- This builder for chaining.
-
getBuildOptionsCount
public int getBuildOptionsCount()
Description copied from interface:BuildProvenanceOrBuilderSpecial 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;- Specified by:
getBuildOptionsCountin interfaceBuildProvenanceOrBuilder
-
containsBuildOptions
public 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;- Specified by:
containsBuildOptionsin interfaceBuildProvenanceOrBuilder
-
getBuildOptions
@Deprecated public Map<String,String> getBuildOptions()
Deprecated.UsegetBuildOptionsMap()instead.- Specified by:
getBuildOptionsin interfaceBuildProvenanceOrBuilder
-
getBuildOptionsMap
public 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;- Specified by:
getBuildOptionsMapin interfaceBuildProvenanceOrBuilder
-
getBuildOptionsOrDefault
public 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;- Specified by:
getBuildOptionsOrDefaultin interfaceBuildProvenanceOrBuilder
-
getBuildOptionsOrThrow
public 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;- Specified by:
getBuildOptionsOrThrowin interfaceBuildProvenanceOrBuilder
-
clearBuildOptions
public BuildProvenance.Builder clearBuildOptions()
-
removeBuildOptions
public BuildProvenance.Builder removeBuildOptions(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;
-
getMutableBuildOptions
@Deprecated public Map<String,String> getMutableBuildOptions()
Deprecated.Use alternate mutation accessors instead.
-
putBuildOptions
public BuildProvenance.Builder putBuildOptions(String key, String value)
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;
-
putAllBuildOptions
public BuildProvenance.Builder putAllBuildOptions(Map<String,String> values)
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
public String getBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;- Specified by:
getBuilderVersionin interfaceBuildProvenanceOrBuilder- Returns:
- The builderVersion.
-
getBuilderVersionBytes
public com.google.protobuf.ByteString getBuilderVersionBytes()
Version string of the builder at the time this build was executed.
string builder_version = 13;- Specified by:
getBuilderVersionBytesin interfaceBuildProvenanceOrBuilder- Returns:
- The bytes for builderVersion.
-
setBuilderVersion
public BuildProvenance.Builder setBuilderVersion(String value)
Version string of the builder at the time this build was executed.
string builder_version = 13;- Parameters:
value- The builderVersion to set.- Returns:
- This builder for chaining.
-
clearBuilderVersion
public BuildProvenance.Builder clearBuilderVersion()
Version string of the builder at the time this build was executed.
string builder_version = 13;- Returns:
- This builder for chaining.
-
setBuilderVersionBytes
public BuildProvenance.Builder setBuilderVersionBytes(com.google.protobuf.ByteString value)
Version string of the builder at the time this build was executed.
string builder_version = 13;- Parameters:
value- The bytes for builderVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BuildProvenance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
mergeUnknownFields
public final BuildProvenance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildProvenance.Builder>
-
-