Class BuildProvenance.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.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.GeneratedMessage.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 type grafeas.v1beta1.provenance.BuildProvenance
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • clear

      public BuildProvenance.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • getDefaultInstanceForType

      public BuildProvenance getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public BuildProvenance build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public BuildProvenance buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public BuildProvenance.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BuildProvenance.Builder>
    • mergeFrom

      public BuildProvenance.Builder mergeFrom(BuildProvenance other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<BuildProvenance.Builder>
    • mergeFrom

      public BuildProvenance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BuildProvenance.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       Required. Unique identifier of the build.
       
      string id = 1;
      Specified by:
      getId in interface BuildProvenanceOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Required. Unique identifier of the build.
       
      string id = 1;
      Specified by:
      getIdBytes in interface BuildProvenanceOrBuilder
      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:
      getProjectId in interface BuildProvenanceOrBuilder
      Returns:
      The projectId.
    • getProjectIdBytes

      public com.google.protobuf.ByteString getProjectIdBytes()
       ID of the project.
       
      string project_id = 2;
      Specified by:
      getProjectIdBytes in interface BuildProvenanceOrBuilder
      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:
      getCommandsList in interface BuildProvenanceOrBuilder
    • getCommandsCount

      public int getCommandsCount()
       Commands requested by the build.
       
      repeated .grafeas.v1beta1.provenance.Command commands = 3;
      Specified by:
      getCommandsCount in interface BuildProvenanceOrBuilder
    • getCommands

      public Command getCommands(int index)
       Commands requested by the build.
       
      repeated .grafeas.v1beta1.provenance.Command commands = 3;
      Specified by:
      getCommands in interface BuildProvenanceOrBuilder
    • 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:
      getCommandsOrBuilder in interface BuildProvenanceOrBuilder
    • getCommandsOrBuilderList

      public List<? extends CommandOrBuilder> getCommandsOrBuilderList()
       Commands requested by the build.
       
      repeated .grafeas.v1beta1.provenance.Command commands = 3;
      Specified by:
      getCommandsOrBuilderList in interface BuildProvenanceOrBuilder
    • 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:
      getBuiltArtifactsList in interface BuildProvenanceOrBuilder
    • getBuiltArtifactsCount

      public int getBuiltArtifactsCount()
       Output of the build.
       
      repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
      Specified by:
      getBuiltArtifactsCount in interface BuildProvenanceOrBuilder
    • getBuiltArtifacts

      public Artifact getBuiltArtifacts(int index)
       Output of the build.
       
      repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
      Specified by:
      getBuiltArtifacts in interface BuildProvenanceOrBuilder
    • 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:
      getBuiltArtifactsOrBuilder in interface BuildProvenanceOrBuilder
    • getBuiltArtifactsOrBuilderList

      public List<? extends ArtifactOrBuilder> getBuiltArtifactsOrBuilderList()
       Output of the build.
       
      repeated .grafeas.v1beta1.provenance.Artifact built_artifacts = 4;
      Specified by:
      getBuiltArtifactsOrBuilderList in interface BuildProvenanceOrBuilder
    • 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:
      hasCreateTime in interface BuildProvenanceOrBuilder
      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:
      getCreateTime in interface BuildProvenanceOrBuilder
      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:
      getCreateTimeOrBuilder in interface BuildProvenanceOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Time at which execution of the build was started.
       
      .google.protobuf.Timestamp start_time = 6;
      Specified by:
      hasStartTime in interface BuildProvenanceOrBuilder
      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:
      getStartTime in interface BuildProvenanceOrBuilder
      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:
      getStartTimeOrBuilder in interface BuildProvenanceOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Time at which execution of the build was finished.
       
      .google.protobuf.Timestamp end_time = 7;
      Specified by:
      hasEndTime in interface BuildProvenanceOrBuilder
      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:
      getEndTime in interface BuildProvenanceOrBuilder
      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:
      getEndTimeOrBuilder in interface BuildProvenanceOrBuilder
    • 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:
      getCreator in interface BuildProvenanceOrBuilder
      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:
      getCreatorBytes in interface BuildProvenanceOrBuilder
      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:
      getLogsUri in interface BuildProvenanceOrBuilder
      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:
      getLogsUriBytes in interface BuildProvenanceOrBuilder
      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:
      hasSourceProvenance in interface BuildProvenanceOrBuilder
      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:
      getSourceProvenance in interface BuildProvenanceOrBuilder
      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:
      getSourceProvenanceOrBuilder in interface BuildProvenanceOrBuilder
    • getTriggerId

      public String getTriggerId()
       Trigger identifier if the build was triggered automatically; empty if not.
       
      string trigger_id = 11;
      Specified by:
      getTriggerId in interface BuildProvenanceOrBuilder
      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:
      getTriggerIdBytes in interface BuildProvenanceOrBuilder
      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: BuildProvenanceOrBuilder
       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:
      getBuildOptionsCount in interface BuildProvenanceOrBuilder
    • 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:
      containsBuildOptions in interface BuildProvenanceOrBuilder
    • getBuildOptions

      @Deprecated public Map<String,String> getBuildOptions()
      Deprecated.
      Specified by:
      getBuildOptions in interface BuildProvenanceOrBuilder
    • 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:
      getBuildOptionsMap in interface BuildProvenanceOrBuilder
    • 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:
      getBuildOptionsOrDefault in interface BuildProvenanceOrBuilder
    • 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:
      getBuildOptionsOrThrow in interface BuildProvenanceOrBuilder
    • 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:
      getBuilderVersion in interface BuildProvenanceOrBuilder
      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:
      getBuilderVersionBytes in interface BuildProvenanceOrBuilder
      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.