Class 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.GeneratedMessageV3.Builder<Occurrence.Builder>
    implements OccurrenceOrBuilder
     An instance of an analysis type that has been found on a resource.
     
    Protobuf type grafeas.v1beta1.Occurrence
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Occurrence.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • setField

        public Occurrence.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • clearField

        public Occurrence.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • clearOneof

        public Occurrence.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • setRepeatedField

        public Occurrence.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • addRepeatedField

        public Occurrence.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • 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;
      • setUnknownFields

        public final Occurrence.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>
      • mergeUnknownFields

        public final Occurrence.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Occurrence.Builder>