Class Details

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
io.grafeas.v1beta1.vulnerability.Details
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DetailsOrBuilder, Serializable

@Generated public final class Details extends com.google.protobuf.GeneratedMessage implements DetailsOrBuilder
 Details of a vulnerability Occurrence.
 
Protobuf type grafeas.v1beta1.vulnerability.Details
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • SEVERITY_FIELD_NUMBER

      public static final int SEVERITY_FIELD_NUMBER
      See Also:
    • CVSS_SCORE_FIELD_NUMBER

      public static final int CVSS_SCORE_FIELD_NUMBER
      See Also:
    • PACKAGE_ISSUE_FIELD_NUMBER

      public static final int PACKAGE_ISSUE_FIELD_NUMBER
      See Also:
    • SHORT_DESCRIPTION_FIELD_NUMBER

      public static final int SHORT_DESCRIPTION_FIELD_NUMBER
      See Also:
    • LONG_DESCRIPTION_FIELD_NUMBER

      public static final int LONG_DESCRIPTION_FIELD_NUMBER
      See Also:
    • EFFECTIVE_SEVERITY_FIELD_NUMBER

      public static final int EFFECTIVE_SEVERITY_FIELD_NUMBER
      See Also:
  • 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
    • getType

      public String getType()
       The type of package; whether native or non native(ruby gems, node.js
       packages etc)
       
      string type = 1;
      Specified by:
      getType in interface DetailsOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of package; whether native or non native(ruby gems, node.js
       packages etc)
       
      string type = 1;
      Specified by:
      getTypeBytes in interface DetailsOrBuilder
      Returns:
      The bytes for type.
    • getSeverityValue

      public int getSeverityValue()
       Output only. The note provider assigned Severity of the vulnerability.
       
      .grafeas.v1beta1.vulnerability.Severity severity = 2;
      Specified by:
      getSeverityValue in interface DetailsOrBuilder
      Returns:
      The enum numeric value on the wire for severity.
    • getSeverity

      public Severity getSeverity()
       Output only. The note provider assigned Severity of the vulnerability.
       
      .grafeas.v1beta1.vulnerability.Severity severity = 2;
      Specified by:
      getSeverity in interface DetailsOrBuilder
      Returns:
      The severity.
    • getCvssScore

      public float getCvssScore()
       Output only. The CVSS score of this vulnerability. CVSS score is on a
       scale of 0-10 where 0 indicates low severity and 10 indicates high
       severity.
       
      float cvss_score = 3;
      Specified by:
      getCvssScore in interface DetailsOrBuilder
      Returns:
      The cvssScore.
    • getPackageIssueList

      public List<PackageIssue> getPackageIssueList()
       Required. The set of affected locations and their fixes (if available)
       within the associated resource.
       
      repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
      Specified by:
      getPackageIssueList in interface DetailsOrBuilder
    • getPackageIssueOrBuilderList

      public List<? extends PackageIssueOrBuilder> getPackageIssueOrBuilderList()
       Required. The set of affected locations and their fixes (if available)
       within the associated resource.
       
      repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
      Specified by:
      getPackageIssueOrBuilderList in interface DetailsOrBuilder
    • getPackageIssueCount

      public int getPackageIssueCount()
       Required. The set of affected locations and their fixes (if available)
       within the associated resource.
       
      repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
      Specified by:
      getPackageIssueCount in interface DetailsOrBuilder
    • getPackageIssue

      public PackageIssue getPackageIssue(int index)
       Required. The set of affected locations and their fixes (if available)
       within the associated resource.
       
      repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
      Specified by:
      getPackageIssue in interface DetailsOrBuilder
    • getPackageIssueOrBuilder

      public PackageIssueOrBuilder getPackageIssueOrBuilder(int index)
       Required. The set of affected locations and their fixes (if available)
       within the associated resource.
       
      repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;
      Specified by:
      getPackageIssueOrBuilder in interface DetailsOrBuilder
    • getShortDescription

      public String getShortDescription()
       Output only. A one sentence description of this vulnerability.
       
      string short_description = 5;
      Specified by:
      getShortDescription in interface DetailsOrBuilder
      Returns:
      The shortDescription.
    • getShortDescriptionBytes

      public com.google.protobuf.ByteString getShortDescriptionBytes()
       Output only. A one sentence description of this vulnerability.
       
      string short_description = 5;
      Specified by:
      getShortDescriptionBytes in interface DetailsOrBuilder
      Returns:
      The bytes for shortDescription.
    • getLongDescription

      public String getLongDescription()
       Output only. A detailed description of this vulnerability.
       
      string long_description = 6;
      Specified by:
      getLongDescription in interface DetailsOrBuilder
      Returns:
      The longDescription.
    • getLongDescriptionBytes

      public com.google.protobuf.ByteString getLongDescriptionBytes()
       Output only. A detailed description of this vulnerability.
       
      string long_description = 6;
      Specified by:
      getLongDescriptionBytes in interface DetailsOrBuilder
      Returns:
      The bytes for longDescription.
    • getRelatedUrlsList

      public List<RelatedUrl> getRelatedUrlsList()
       Output only. URLs related to this vulnerability.
       
      repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
      Specified by:
      getRelatedUrlsList in interface DetailsOrBuilder
    • getRelatedUrlsOrBuilderList

      public List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
       Output only. URLs related to this vulnerability.
       
      repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
      Specified by:
      getRelatedUrlsOrBuilderList in interface DetailsOrBuilder
    • getRelatedUrlsCount

      public int getRelatedUrlsCount()
       Output only. URLs related to this vulnerability.
       
      repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
      Specified by:
      getRelatedUrlsCount in interface DetailsOrBuilder
    • getRelatedUrls

      public RelatedUrl getRelatedUrls(int index)
       Output only. URLs related to this vulnerability.
       
      repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
      Specified by:
      getRelatedUrls in interface DetailsOrBuilder
    • getRelatedUrlsOrBuilder

      public RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
       Output only. URLs related to this vulnerability.
       
      repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
      Specified by:
      getRelatedUrlsOrBuilder in interface DetailsOrBuilder
    • getEffectiveSeverityValue

      public int getEffectiveSeverityValue()
       The distro assigned severity for this vulnerability when it is
       available, and note provider assigned severity when distro has not yet
       assigned a severity for this vulnerability.
       
      .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
      Specified by:
      getEffectiveSeverityValue in interface DetailsOrBuilder
      Returns:
      The enum numeric value on the wire for effectiveSeverity.
    • getEffectiveSeverity

      public Severity getEffectiveSeverity()
       The distro assigned severity for this vulnerability when it is
       available, and note provider assigned severity when distro has not yet
       assigned a severity for this vulnerability.
       
      .grafeas.v1beta1.vulnerability.Severity effective_severity = 8;
      Specified by:
      getEffectiveSeverity in interface DetailsOrBuilder
      Returns:
      The effectiveSeverity.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Details parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Details parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Details parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Details parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Details parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Details parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Details parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Details.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Details.Builder newBuilder()
    • newBuilder

      public static Details.Builder newBuilder(Details prototype)
    • toBuilder

      public Details.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Details.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Details getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Details> parser()
    • getParserForType

      public com.google.protobuf.Parser<Details> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Details getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder