Class CVSSv3

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

@Generated public final class CVSSv3 extends com.google.protobuf.GeneratedMessage implements CVSSv3OrBuilder
 Common Vulnerability Scoring System version 3.
 For details, see https://www.first.org/cvss/specification-document
 
Protobuf type grafeas.v1beta1.vulnerability.CVSSv3
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.AttackVector
    static final class 
    Common Vulnerability Scoring System version 3.
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.Impact
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.Scope
    static enum 
    Protobuf enum grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    .grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
    Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
    int
    Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
    float
    The base score is a function of the base metric scores.
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
    static CVSSv3
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    float
    float exploitability_score = 2;
    float
    float impact_score = 3;
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
    com.google.protobuf.Parser<CVSSv3>
     
    .grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
    .grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
    int
     
    .grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
    int
    .grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(CVSSv3 prototype)
     
     
    protected CVSSv3.Builder
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
    static CVSSv3
     
    static CVSSv3
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static CVSSv3
    parseFrom(byte[] data)
     
    static CVSSv3
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static CVSSv3
    parseFrom(com.google.protobuf.ByteString data)
     
    static CVSSv3
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static CVSSv3
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static CVSSv3
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static CVSSv3
     
    static CVSSv3
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static CVSSv3
     
    static CVSSv3
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<CVSSv3>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • BASE_SCORE_FIELD_NUMBER

      public static final int BASE_SCORE_FIELD_NUMBER
      See Also:
    • EXPLOITABILITY_SCORE_FIELD_NUMBER

      public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER
      See Also:
    • IMPACT_SCORE_FIELD_NUMBER

      public static final int IMPACT_SCORE_FIELD_NUMBER
      See Also:
    • ATTACK_VECTOR_FIELD_NUMBER

      public static final int ATTACK_VECTOR_FIELD_NUMBER
      See Also:
    • ATTACK_COMPLEXITY_FIELD_NUMBER

      public static final int ATTACK_COMPLEXITY_FIELD_NUMBER
      See Also:
    • PRIVILEGES_REQUIRED_FIELD_NUMBER

      public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER
      See Also:
    • USER_INTERACTION_FIELD_NUMBER

      public static final int USER_INTERACTION_FIELD_NUMBER
      See Also:
    • SCOPE_FIELD_NUMBER

      public static final int SCOPE_FIELD_NUMBER
      See Also:
    • CONFIDENTIALITY_IMPACT_FIELD_NUMBER

      public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER
      See Also:
    • INTEGRITY_IMPACT_FIELD_NUMBER

      public static final int INTEGRITY_IMPACT_FIELD_NUMBER
      See Also:
    • AVAILABILITY_IMPACT_FIELD_NUMBER

      public static final int AVAILABILITY_IMPACT_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
    • getBaseScore

      public float getBaseScore()
       The base score is a function of the base metric scores.
       
      float base_score = 1;
      Specified by:
      getBaseScore in interface CVSSv3OrBuilder
      Returns:
      The baseScore.
    • getExploitabilityScore

      public float getExploitabilityScore()
      float exploitability_score = 2;
      Specified by:
      getExploitabilityScore in interface CVSSv3OrBuilder
      Returns:
      The exploitabilityScore.
    • getImpactScore

      public float getImpactScore()
      float impact_score = 3;
      Specified by:
      getImpactScore in interface CVSSv3OrBuilder
      Returns:
      The impactScore.
    • getAttackVectorValue

      public int getAttackVectorValue()
       Base Metrics
       Represents the intrinsic characteristics of a vulnerability that are
       constant over time and across user environments.
       
      .grafeas.v1beta1.vulnerability.CVSSv3.AttackVector attack_vector = 5;
      Specified by:
      getAttackVectorValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for attackVector.
    • getAttackVector

      public CVSSv3.AttackVector getAttackVector()
       Base Metrics
       Represents the intrinsic characteristics of a vulnerability that are
       constant over time and across user environments.
       
      .grafeas.v1beta1.vulnerability.CVSSv3.AttackVector attack_vector = 5;
      Specified by:
      getAttackVector in interface CVSSv3OrBuilder
      Returns:
      The attackVector.
    • getAttackComplexityValue

      public int getAttackComplexityValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
      Specified by:
      getAttackComplexityValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for attackComplexity.
    • getAttackComplexity

      public CVSSv3.AttackComplexity getAttackComplexity()
      .grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
      Specified by:
      getAttackComplexity in interface CVSSv3OrBuilder
      Returns:
      The attackComplexity.
    • getPrivilegesRequiredValue

      public int getPrivilegesRequiredValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
      Specified by:
      getPrivilegesRequiredValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for privilegesRequired.
    • getPrivilegesRequired

      public CVSSv3.PrivilegesRequired getPrivilegesRequired()
      .grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
      Specified by:
      getPrivilegesRequired in interface CVSSv3OrBuilder
      Returns:
      The privilegesRequired.
    • getUserInteractionValue

      public int getUserInteractionValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
      Specified by:
      getUserInteractionValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for userInteraction.
    • getUserInteraction

      public CVSSv3.UserInteraction getUserInteraction()
      .grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
      Specified by:
      getUserInteraction in interface CVSSv3OrBuilder
      Returns:
      The userInteraction.
    • getScopeValue

      public int getScopeValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
      Specified by:
      getScopeValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for scope.
    • getScope

      public CVSSv3.Scope getScope()
      .grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
      Specified by:
      getScope in interface CVSSv3OrBuilder
      Returns:
      The scope.
    • getConfidentialityImpactValue

      public int getConfidentialityImpactValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
      Specified by:
      getConfidentialityImpactValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for confidentialityImpact.
    • getConfidentialityImpact

      public CVSSv3.Impact getConfidentialityImpact()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
      Specified by:
      getConfidentialityImpact in interface CVSSv3OrBuilder
      Returns:
      The confidentialityImpact.
    • getIntegrityImpactValue

      public int getIntegrityImpactValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
      Specified by:
      getIntegrityImpactValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for integrityImpact.
    • getIntegrityImpact

      public CVSSv3.Impact getIntegrityImpact()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
      Specified by:
      getIntegrityImpact in interface CVSSv3OrBuilder
      Returns:
      The integrityImpact.
    • getAvailabilityImpactValue

      public int getAvailabilityImpactValue()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
      Specified by:
      getAvailabilityImpactValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for availabilityImpact.
    • getAvailabilityImpact

      public CVSSv3.Impact getAvailabilityImpact()
      .grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
      Specified by:
      getAvailabilityImpact in interface CVSSv3OrBuilder
      Returns:
      The availabilityImpact.
    • 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 CVSSv3 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CVSSv3.Builder newBuilder()
    • newBuilder

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

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

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

      public static CVSSv3 getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<CVSSv3> 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 CVSSv3 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder