Interface CveOrBuilder

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

    public interface CveOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Cvssv3 getCvssv3()
      Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
      Cvssv3OrBuilder getCvssv3OrBuilder()
      Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
      String getId()
      The unique identifier for the vulnerability.
      com.google.protobuf.ByteString getIdBytes()
      The unique identifier for the vulnerability.
      Reference getReferences​(int index)
      Additional information about the CVE.
      int getReferencesCount()
      Additional information about the CVE.
      List<Reference> getReferencesList()
      Additional information about the CVE.
      ReferenceOrBuilder getReferencesOrBuilder​(int index)
      Additional information about the CVE.
      List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
      Additional information about the CVE.
      boolean getUpstreamFixAvailable()
      Whether upstream fix is available for the CVE.
      boolean hasCvssv3()
      Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getId

        String getId()
         The unique identifier for the vulnerability. e.g. CVE-2021-34527
         
        string id = 1;
        Returns:
        The id.
      • getIdBytes

        com.google.protobuf.ByteString getIdBytes()
         The unique identifier for the vulnerability. e.g. CVE-2021-34527
         
        string id = 1;
        Returns:
        The bytes for id.
      • getReferencesList

        List<Reference> getReferencesList()
         Additional information about the CVE.
         e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
         
        repeated .google.cloud.securitycenter.v1.Reference references = 2;
      • getReferences

        Reference getReferences​(int index)
         Additional information about the CVE.
         e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
         
        repeated .google.cloud.securitycenter.v1.Reference references = 2;
      • getReferencesCount

        int getReferencesCount()
         Additional information about the CVE.
         e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
         
        repeated .google.cloud.securitycenter.v1.Reference references = 2;
      • getReferencesOrBuilderList

        List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
         Additional information about the CVE.
         e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
         
        repeated .google.cloud.securitycenter.v1.Reference references = 2;
      • getReferencesOrBuilder

        ReferenceOrBuilder getReferencesOrBuilder​(int index)
         Additional information about the CVE.
         e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
         
        repeated .google.cloud.securitycenter.v1.Reference references = 2;
      • hasCvssv3

        boolean hasCvssv3()
         Describe Common Vulnerability Scoring System specified at
         https://www.first.org/cvss/v3.1/specification-document
         
        .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
        Returns:
        Whether the cvssv3 field is set.
      • getCvssv3

        Cvssv3 getCvssv3()
         Describe Common Vulnerability Scoring System specified at
         https://www.first.org/cvss/v3.1/specification-document
         
        .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
        Returns:
        The cvssv3.
      • getCvssv3OrBuilder

        Cvssv3OrBuilder getCvssv3OrBuilder()
         Describe Common Vulnerability Scoring System specified at
         https://www.first.org/cvss/v3.1/specification-document
         
        .google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
      • getUpstreamFixAvailable

        boolean getUpstreamFixAvailable()
         Whether upstream fix is available for the CVE.
         
        bool upstream_fix_available = 4;
        Returns:
        The upstreamFixAvailable.