Class CVSSv3 (2.81.0)

publicfinalclass CVSSv3extendsGeneratedMessageV3implementsCVSSv3OrBuilder

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

Protobuf type grafeas.v1beta1.vulnerability.CVSSv3

Implements

CVSSv3OrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

ATTACK_COMPLEXITY_FIELD_NUMBER

publicstaticfinalintATTACK_COMPLEXITY_FIELD_NUMBER
Field Value
Type Description
int

ATTACK_VECTOR_FIELD_NUMBER

publicstaticfinalintATTACK_VECTOR_FIELD_NUMBER
Field Value
Type Description
int

AVAILABILITY_IMPACT_FIELD_NUMBER

publicstaticfinalintAVAILABILITY_IMPACT_FIELD_NUMBER
Field Value
Type Description
int

BASE_SCORE_FIELD_NUMBER

publicstaticfinalintBASE_SCORE_FIELD_NUMBER
Field Value
Type Description
int

CONFIDENTIALITY_IMPACT_FIELD_NUMBER

publicstaticfinalintCONFIDENTIALITY_IMPACT_FIELD_NUMBER
Field Value
Type Description
int

EXPLOITABILITY_SCORE_FIELD_NUMBER

publicstaticfinalintEXPLOITABILITY_SCORE_FIELD_NUMBER
Field Value
Type Description
int

IMPACT_SCORE_FIELD_NUMBER

publicstaticfinalintIMPACT_SCORE_FIELD_NUMBER
Field Value
Type Description
int

INTEGRITY_IMPACT_FIELD_NUMBER

publicstaticfinalintINTEGRITY_IMPACT_FIELD_NUMBER
Field Value
Type Description
int

PRIVILEGES_REQUIRED_FIELD_NUMBER

publicstaticfinalintPRIVILEGES_REQUIRED_FIELD_NUMBER
Field Value
Type Description
int

SCOPE_FIELD_NUMBER

publicstaticfinalintSCOPE_FIELD_NUMBER
Field Value
Type Description
int

USER_INTERACTION_FIELD_NUMBER

publicstaticfinalintUSER_INTERACTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticCVSSv3getDefaultInstance()
Returns
Type Description
CVSSv3

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticCVSSv3.BuildernewBuilder()
Returns
Type Description
CVSSv3.Builder

newBuilder(CVSSv3 prototype)

publicstaticCVSSv3.BuildernewBuilder(CVSSv3prototype)
Parameter
Name Description
prototype CVSSv3
Returns
Type Description
CVSSv3.Builder

parseDelimitedFrom(InputStream input)

publicstaticCVSSv3parseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticCVSSv3parseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticCVSSv3parseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticCVSSv3parseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticCVSSv3parseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticCVSSv3parseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticCVSSv3parseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CVSSv3
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<CVSSv3>parser()
Returns
Type Description
Parser<CVSSv3>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAttackComplexity()

publicCVSSv3.AttackComplexitygetAttackComplexity()

.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;

Returns
Type Description
CVSSv3.AttackComplexity

The attackComplexity.

getAttackComplexityValue()

publicintgetAttackComplexityValue()

.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;

Returns
Type Description
int

The enum numeric value on the wire for attackComplexity.

getAttackVector()

publicCVSSv3.AttackVectorgetAttackVector()

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;

Returns
Type Description
CVSSv3.AttackVector

The attackVector.

getAttackVectorValue()

publicintgetAttackVectorValue()

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;

Returns
Type Description
int

The enum numeric value on the wire for attackVector.

getAvailabilityImpact()

publicCVSSv3.ImpactgetAvailabilityImpact()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;

Returns
Type Description
CVSSv3.Impact

The availabilityImpact.

getAvailabilityImpactValue()

publicintgetAvailabilityImpactValue()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;

Returns
Type Description
int

The enum numeric value on the wire for availabilityImpact.

getBaseScore()

publicfloatgetBaseScore()

The base score is a function of the base metric scores.

float base_score = 1;

Returns
Type Description
float

The baseScore.

getConfidentialityImpact()

publicCVSSv3.ImpactgetConfidentialityImpact()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;

Returns
Type Description
CVSSv3.Impact

The confidentialityImpact.

getConfidentialityImpactValue()

publicintgetConfidentialityImpactValue()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;

Returns
Type Description
int

The enum numeric value on the wire for confidentialityImpact.

getDefaultInstanceForType()

publicCVSSv3getDefaultInstanceForType()
Returns
Type Description
CVSSv3

getExploitabilityScore()

publicfloatgetExploitabilityScore()

float exploitability_score = 2;

Returns
Type Description
float

The exploitabilityScore.

getImpactScore()

publicfloatgetImpactScore()

float impact_score = 3;

Returns
Type Description
float

The impactScore.

getIntegrityImpact()

publicCVSSv3.ImpactgetIntegrityImpact()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;

Returns
Type Description
CVSSv3.Impact

The integrityImpact.

getIntegrityImpactValue()

publicintgetIntegrityImpactValue()

.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;

Returns
Type Description
int

The enum numeric value on the wire for integrityImpact.

getParserForType()

publicParser<CVSSv3>getParserForType()
Returns
Type Description
Parser<CVSSv3>
Overrides

getPrivilegesRequired()

publicCVSSv3.PrivilegesRequiredgetPrivilegesRequired()

.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;

Returns
Type Description
CVSSv3.PrivilegesRequired

The privilegesRequired.

getPrivilegesRequiredValue()

publicintgetPrivilegesRequiredValue()

.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;

Returns
Type Description
int

The enum numeric value on the wire for privilegesRequired.

getScope()

publicCVSSv3.ScopegetScope()

.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;

Returns
Type Description
CVSSv3.Scope

The scope.

getScopeValue()

publicintgetScopeValue()

.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;

Returns
Type Description
int

The enum numeric value on the wire for scope.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUserInteraction()

publicCVSSv3.UserInteractiongetUserInteraction()

.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;

Returns
Type Description
CVSSv3.UserInteraction

The userInteraction.

getUserInteractionValue()

publicintgetUserInteractionValue()

.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;

Returns
Type Description
int

The enum numeric value on the wire for userInteraction.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicCVSSv3.BuildernewBuilderForType()
Returns
Type Description
CVSSv3.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedCVSSv3.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CVSSv3.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicCVSSv3.BuildertoBuilder()
Returns
Type Description
CVSSv3.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.