Class Occurrence.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Occurrence.Builder>
io.grafeas.v1beta1.Occurrence.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, OccurrenceOrBuilder, Cloneable
Enclosing class:
Occurrence

public static final class Occurrence.Builder extends com.google.protobuf.GeneratedMessage.Builder<Occurrence.Builder> implements OccurrenceOrBuilder
 An instance of an analysis type that has been found on a resource.
 
Protobuf type grafeas.v1beta1.Occurrence
  • Method Details

    • getDescriptor

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

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

      public Occurrence.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<Occurrence.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<Occurrence.Builder>
    • getDefaultInstanceForType

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

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

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

      public Occurrence.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<Occurrence.Builder>
    • mergeFrom

      public Occurrence.Builder mergeFrom(Occurrence other)
    • isInitialized

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

      public Occurrence.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<Occurrence.Builder>
      Throws:
      IOException
    • getDetailsCase

      public Occurrence.DetailsCase getDetailsCase()
      Specified by:
      getDetailsCase in interface OccurrenceOrBuilder
    • clearDetails

      public Occurrence.Builder clearDetails()
    • getName

      public String getName()
       Output only. The name of the occurrence in the form of
       `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
       
      string name = 1;
      Specified by:
      getName in interface OccurrenceOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Output only. The name of the occurrence in the form of
       `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
       
      string name = 1;
      Specified by:
      getNameBytes in interface OccurrenceOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Occurrence.Builder setName(String value)
       Output only. The name of the occurrence in the form of
       `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
       
      string name = 1;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Occurrence.Builder clearName()
       Output only. The name of the occurrence in the form of
       `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
       
      string name = 1;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Occurrence.Builder setNameBytes(com.google.protobuf.ByteString value)
       Output only. The name of the occurrence in the form of
       `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
       
      string name = 1;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasResource

      public boolean hasResource()
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
      Specified by:
      hasResource in interface OccurrenceOrBuilder
      Returns:
      Whether the resource field is set.
    • getResource

      public Resource getResource()
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
      Specified by:
      getResource in interface OccurrenceOrBuilder
      Returns:
      The resource.
    • setResource

      public Occurrence.Builder setResource(Resource value)
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
    • setResource

      public Occurrence.Builder setResource(Resource.Builder builderForValue)
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
    • mergeResource

      public Occurrence.Builder mergeResource(Resource value)
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
    • clearResource

      public Occurrence.Builder clearResource()
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
    • getResourceBuilder

      public Resource.Builder getResourceBuilder()
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
    • getResourceOrBuilder

      public ResourceOrBuilder getResourceOrBuilder()
       Required. Immutable. The resource for which the occurrence applies.
       
      .grafeas.v1beta1.Resource resource = 2;
      Specified by:
      getResourceOrBuilder in interface OccurrenceOrBuilder
    • getNoteName

      public String getNoteName()
       Required. Immutable. The analysis note associated with this occurrence, in
       the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
       used as a filter in list requests.
       
      string note_name = 3;
      Specified by:
      getNoteName in interface OccurrenceOrBuilder
      Returns:
      The noteName.
    • getNoteNameBytes

      public com.google.protobuf.ByteString getNoteNameBytes()
       Required. Immutable. The analysis note associated with this occurrence, in
       the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
       used as a filter in list requests.
       
      string note_name = 3;
      Specified by:
      getNoteNameBytes in interface OccurrenceOrBuilder
      Returns:
      The bytes for noteName.
    • setNoteName

      public Occurrence.Builder setNoteName(String value)
       Required. Immutable. The analysis note associated with this occurrence, in
       the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
       used as a filter in list requests.
       
      string note_name = 3;
      Parameters:
      value - The noteName to set.
      Returns:
      This builder for chaining.
    • clearNoteName

      public Occurrence.Builder clearNoteName()
       Required. Immutable. The analysis note associated with this occurrence, in
       the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
       used as a filter in list requests.
       
      string note_name = 3;
      Returns:
      This builder for chaining.
    • setNoteNameBytes

      public Occurrence.Builder setNoteNameBytes(com.google.protobuf.ByteString value)
       Required. Immutable. The analysis note associated with this occurrence, in
       the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be
       used as a filter in list requests.
       
      string note_name = 3;
      Parameters:
      value - The bytes for noteName to set.
      Returns:
      This builder for chaining.
    • getKindValue

      public int getKindValue()
       Output only. This explicitly denotes which of the occurrence details are
       specified. This field can be used as a filter in list requests.
       
      .grafeas.v1beta1.NoteKind kind = 4;
      Specified by:
      getKindValue in interface OccurrenceOrBuilder
      Returns:
      The enum numeric value on the wire for kind.
    • setKindValue

      public Occurrence.Builder setKindValue(int value)
       Output only. This explicitly denotes which of the occurrence details are
       specified. This field can be used as a filter in list requests.
       
      .grafeas.v1beta1.NoteKind kind = 4;
      Parameters:
      value - The enum numeric value on the wire for kind to set.
      Returns:
      This builder for chaining.
    • getKind

      public NoteKind getKind()
       Output only. This explicitly denotes which of the occurrence details are
       specified. This field can be used as a filter in list requests.
       
      .grafeas.v1beta1.NoteKind kind = 4;
      Specified by:
      getKind in interface OccurrenceOrBuilder
      Returns:
      The kind.
    • setKind

      public Occurrence.Builder setKind(NoteKind value)
       Output only. This explicitly denotes which of the occurrence details are
       specified. This field can be used as a filter in list requests.
       
      .grafeas.v1beta1.NoteKind kind = 4;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public Occurrence.Builder clearKind()
       Output only. This explicitly denotes which of the occurrence details are
       specified. This field can be used as a filter in list requests.
       
      .grafeas.v1beta1.NoteKind kind = 4;
      Returns:
      This builder for chaining.
    • getRemediation

      public String getRemediation()
       A description of actions that can be taken to remedy the note.
       
      string remediation = 5;
      Specified by:
      getRemediation in interface OccurrenceOrBuilder
      Returns:
      The remediation.
    • getRemediationBytes

      public com.google.protobuf.ByteString getRemediationBytes()
       A description of actions that can be taken to remedy the note.
       
      string remediation = 5;
      Specified by:
      getRemediationBytes in interface OccurrenceOrBuilder
      Returns:
      The bytes for remediation.
    • setRemediation

      public Occurrence.Builder setRemediation(String value)
       A description of actions that can be taken to remedy the note.
       
      string remediation = 5;
      Parameters:
      value - The remediation to set.
      Returns:
      This builder for chaining.
    • clearRemediation

      public Occurrence.Builder clearRemediation()
       A description of actions that can be taken to remedy the note.
       
      string remediation = 5;
      Returns:
      This builder for chaining.
    • setRemediationBytes

      public Occurrence.Builder setRemediationBytes(com.google.protobuf.ByteString value)
       A description of actions that can be taken to remedy the note.
       
      string remediation = 5;
      Parameters:
      value - The bytes for remediation to set.
      Returns:
      This builder for chaining.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface OccurrenceOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTime in interface OccurrenceOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public Occurrence.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • setCreateTime

      public Occurrence.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • mergeCreateTime

      public Occurrence.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • clearCreateTime

      public Occurrence.Builder clearCreateTime()
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The time this occurrence was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface OccurrenceOrBuilder
    • hasUpdateTime

      public boolean hasUpdateTime()
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
      Specified by:
      hasUpdateTime in interface OccurrenceOrBuilder
      Returns:
      Whether the updateTime field is set.
    • getUpdateTime

      public com.google.protobuf.Timestamp getUpdateTime()
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
      Specified by:
      getUpdateTime in interface OccurrenceOrBuilder
      Returns:
      The updateTime.
    • setUpdateTime

      public Occurrence.Builder setUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
    • setUpdateTime

      public Occurrence.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
    • mergeUpdateTime

      public Occurrence.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
    • clearUpdateTime

      public Occurrence.Builder clearUpdateTime()
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
    • getUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
    • getUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
       Output only. The time this occurrence was last updated.
       
      .google.protobuf.Timestamp update_time = 7;
      Specified by:
      getUpdateTimeOrBuilder in interface OccurrenceOrBuilder
    • hasVulnerability

      public boolean hasVulnerability()
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
      Specified by:
      hasVulnerability in interface OccurrenceOrBuilder
      Returns:
      Whether the vulnerability field is set.
    • getVulnerability

      public Details getVulnerability()
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
      Specified by:
      getVulnerability in interface OccurrenceOrBuilder
      Returns:
      The vulnerability.
    • setVulnerability

      public Occurrence.Builder setVulnerability(Details value)
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
    • setVulnerability

      public Occurrence.Builder setVulnerability(Details.Builder builderForValue)
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
    • mergeVulnerability

      public Occurrence.Builder mergeVulnerability(Details value)
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
    • clearVulnerability

      public Occurrence.Builder clearVulnerability()
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
    • getVulnerabilityBuilder

      public Details.Builder getVulnerabilityBuilder()
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
    • getVulnerabilityOrBuilder

      public DetailsOrBuilder getVulnerabilityOrBuilder()
       Describes a security vulnerability.
       
      .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
      Specified by:
      getVulnerabilityOrBuilder in interface OccurrenceOrBuilder
    • hasBuild

      public boolean hasBuild()
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
      Specified by:
      hasBuild in interface OccurrenceOrBuilder
      Returns:
      Whether the build field is set.
    • getBuild

      public Details getBuild()
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
      Specified by:
      getBuild in interface OccurrenceOrBuilder
      Returns:
      The build.
    • setBuild

      public Occurrence.Builder setBuild(Details value)
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
    • setBuild

      public Occurrence.Builder setBuild(Details.Builder builderForValue)
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
    • mergeBuild

      public Occurrence.Builder mergeBuild(Details value)
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
    • clearBuild

      public Occurrence.Builder clearBuild()
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
    • getBuildBuilder

      public Details.Builder getBuildBuilder()
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
    • getBuildOrBuilder

      public DetailsOrBuilder getBuildOrBuilder()
       Describes a verifiable build.
       
      .grafeas.v1beta1.build.Details build = 9;
      Specified by:
      getBuildOrBuilder in interface OccurrenceOrBuilder
    • hasDerivedImage

      public boolean hasDerivedImage()
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
      Specified by:
      hasDerivedImage in interface OccurrenceOrBuilder
      Returns:
      Whether the derivedImage field is set.
    • getDerivedImage

      public Details getDerivedImage()
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
      Specified by:
      getDerivedImage in interface OccurrenceOrBuilder
      Returns:
      The derivedImage.
    • setDerivedImage

      public Occurrence.Builder setDerivedImage(Details value)
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
    • setDerivedImage

      public Occurrence.Builder setDerivedImage(Details.Builder builderForValue)
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
    • mergeDerivedImage

      public Occurrence.Builder mergeDerivedImage(Details value)
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
    • clearDerivedImage

      public Occurrence.Builder clearDerivedImage()
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
    • getDerivedImageBuilder

      public Details.Builder getDerivedImageBuilder()
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
    • getDerivedImageOrBuilder

      public DetailsOrBuilder getDerivedImageOrBuilder()
       Describes how this resource derives from the basis in the associated
       note.
       
      .grafeas.v1beta1.image.Details derived_image = 10;
      Specified by:
      getDerivedImageOrBuilder in interface OccurrenceOrBuilder
    • hasInstallation

      public boolean hasInstallation()
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
      Specified by:
      hasInstallation in interface OccurrenceOrBuilder
      Returns:
      Whether the installation field is set.
    • getInstallation

      public Details getInstallation()
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
      Specified by:
      getInstallation in interface OccurrenceOrBuilder
      Returns:
      The installation.
    • setInstallation

      public Occurrence.Builder setInstallation(Details value)
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
    • setInstallation

      public Occurrence.Builder setInstallation(Details.Builder builderForValue)
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
    • mergeInstallation

      public Occurrence.Builder mergeInstallation(Details value)
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
    • clearInstallation

      public Occurrence.Builder clearInstallation()
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
    • getInstallationBuilder

      public Details.Builder getInstallationBuilder()
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
    • getInstallationOrBuilder

      public DetailsOrBuilder getInstallationOrBuilder()
       Describes the installation of a package on the linked resource.
       
      .grafeas.v1beta1.package.Details installation = 11;
      Specified by:
      getInstallationOrBuilder in interface OccurrenceOrBuilder
    • hasDeployment

      public boolean hasDeployment()
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
      Specified by:
      hasDeployment in interface OccurrenceOrBuilder
      Returns:
      Whether the deployment field is set.
    • getDeployment

      public Details getDeployment()
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
      Specified by:
      getDeployment in interface OccurrenceOrBuilder
      Returns:
      The deployment.
    • setDeployment

      public Occurrence.Builder setDeployment(Details value)
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
    • setDeployment

      public Occurrence.Builder setDeployment(Details.Builder builderForValue)
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
    • mergeDeployment

      public Occurrence.Builder mergeDeployment(Details value)
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
    • clearDeployment

      public Occurrence.Builder clearDeployment()
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
    • getDeploymentBuilder

      public Details.Builder getDeploymentBuilder()
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
    • getDeploymentOrBuilder

      public DetailsOrBuilder getDeploymentOrBuilder()
       Describes the deployment of an artifact on a runtime.
       
      .grafeas.v1beta1.deployment.Details deployment = 12;
      Specified by:
      getDeploymentOrBuilder in interface OccurrenceOrBuilder
    • hasDiscovered

      public boolean hasDiscovered()
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
      Specified by:
      hasDiscovered in interface OccurrenceOrBuilder
      Returns:
      Whether the discovered field is set.
    • getDiscovered

      public Details getDiscovered()
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
      Specified by:
      getDiscovered in interface OccurrenceOrBuilder
      Returns:
      The discovered.
    • setDiscovered

      public Occurrence.Builder setDiscovered(Details value)
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
    • setDiscovered

      public Occurrence.Builder setDiscovered(Details.Builder builderForValue)
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
    • mergeDiscovered

      public Occurrence.Builder mergeDiscovered(Details value)
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
    • clearDiscovered

      public Occurrence.Builder clearDiscovered()
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
    • getDiscoveredBuilder

      public Details.Builder getDiscoveredBuilder()
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
    • getDiscoveredOrBuilder

      public DetailsOrBuilder getDiscoveredOrBuilder()
       Describes when a resource was discovered.
       
      .grafeas.v1beta1.discovery.Details discovered = 13;
      Specified by:
      getDiscoveredOrBuilder in interface OccurrenceOrBuilder
    • hasAttestation

      public boolean hasAttestation()
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
      Specified by:
      hasAttestation in interface OccurrenceOrBuilder
      Returns:
      Whether the attestation field is set.
    • getAttestation

      public Details getAttestation()
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
      Specified by:
      getAttestation in interface OccurrenceOrBuilder
      Returns:
      The attestation.
    • setAttestation

      public Occurrence.Builder setAttestation(Details value)
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
    • setAttestation

      public Occurrence.Builder setAttestation(Details.Builder builderForValue)
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
    • mergeAttestation

      public Occurrence.Builder mergeAttestation(Details value)
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
    • clearAttestation

      public Occurrence.Builder clearAttestation()
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
    • getAttestationBuilder

      public Details.Builder getAttestationBuilder()
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
    • getAttestationOrBuilder

      public DetailsOrBuilder getAttestationOrBuilder()
       Describes an attestation of an artifact.
       
      .grafeas.v1beta1.attestation.Details attestation = 14;
      Specified by:
      getAttestationOrBuilder in interface OccurrenceOrBuilder