Interface OccurrenceOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Occurrence, Occurrence.Builder

    public interface OccurrenceOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

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

        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;
        Returns:
        The bytes for name.
      • hasResource

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

        Resource getResource()
         Required. Immutable. The resource for which the occurrence applies.
         
        .grafeas.v1beta1.Resource resource = 2;
        Returns:
        The resource.
      • getResourceOrBuilder

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

        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;
        Returns:
        The noteName.
      • getNoteNameBytes

        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;
        Returns:
        The bytes for noteName.
      • getKindValue

        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;
        Returns:
        The enum numeric value on the wire for kind.
      • getKind

        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;
        Returns:
        The kind.
      • getRemediation

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

        com.google.protobuf.ByteString getRemediationBytes()
         A description of actions that can be taken to remedy the note.
         
        string remediation = 5;
        Returns:
        The bytes for remediation.
      • hasCreateTime

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

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time this occurrence was created.
         
        .google.protobuf.Timestamp create_time = 6;
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

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

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

        com.google.protobuf.Timestamp getUpdateTime()
         Output only. The time this occurrence was last updated.
         
        .google.protobuf.Timestamp update_time = 7;
        Returns:
        The updateTime.
      • getUpdateTimeOrBuilder

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

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

        Details getVulnerability()
         Describes a security vulnerability.
         
        .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
        Returns:
        The vulnerability.
      • getVulnerabilityOrBuilder

        DetailsOrBuilder getVulnerabilityOrBuilder()
         Describes a security vulnerability.
         
        .grafeas.v1beta1.vulnerability.Details vulnerability = 8;
      • hasBuild

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

        Details getBuild()
         Describes a verifiable build.
         
        .grafeas.v1beta1.build.Details build = 9;
        Returns:
        The build.
      • getBuildOrBuilder

        DetailsOrBuilder getBuildOrBuilder()
         Describes a verifiable build.
         
        .grafeas.v1beta1.build.Details build = 9;
      • hasDerivedImage

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

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

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

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

        Details getInstallation()
         Describes the installation of a package on the linked resource.
         
        .grafeas.v1beta1.package.Details installation = 11;
        Returns:
        The installation.
      • getInstallationOrBuilder

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

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

        Details getDeployment()
         Describes the deployment of an artifact on a runtime.
         
        .grafeas.v1beta1.deployment.Details deployment = 12;
        Returns:
        The deployment.
      • getDeploymentOrBuilder

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

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

        Details getDiscovered()
         Describes when a resource was discovered.
         
        .grafeas.v1beta1.discovery.Details discovered = 13;
        Returns:
        The discovered.
      • getDiscoveredOrBuilder

        DetailsOrBuilder getDiscoveredOrBuilder()
         Describes when a resource was discovered.
         
        .grafeas.v1beta1.discovery.Details discovered = 13;
      • hasAttestation

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

        Details getAttestation()
         Describes an attestation of an artifact.
         
        .grafeas.v1beta1.attestation.Details attestation = 14;
        Returns:
        The attestation.
      • getAttestationOrBuilder

        DetailsOrBuilder getAttestationOrBuilder()
         Describes an attestation of an artifact.
         
        .grafeas.v1beta1.attestation.Details attestation = 14;