- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public final class CVSSv3 extends GeneratedMessageV3 implements CVSSv3OrBuilder
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document
Protobuf type grafeas.v1.CVSSv3
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CVSSv3Implements
CVSSv3OrBuilderStatic Fields
ATTACK_COMPLEXITY_FIELD_NUMBER
public static final int ATTACK_COMPLEXITY_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
ATTACK_VECTOR_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
AVAILABILITY_IMPACT_FIELD_NUMBER
public static final int AVAILABILITY_IMPACT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
BASE_SCORE_FIELD_NUMBER
public static final int BASE_SCORE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
CONFIDENTIALITY_IMPACT_FIELD_NUMBER
public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
EXPLOITABILITY_SCORE_FIELD_NUMBER
public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
IMPACT_SCORE_FIELD_NUMBER
public static final int IMPACT_SCORE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
INTEGRITY_IMPACT_FIELD_NUMBER
public static final int INTEGRITY_IMPACT_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
PRIVILEGES_REQUIRED_FIELD_NUMBER
public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
USER_INTERACTION_FIELD_NUMBER
public static final int USER_INTERACTION_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static CVSSv3 getDefaultInstance()
Returns | |
---|---|
Type | Description |
CVSSv3 |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static CVSSv3.Builder newBuilder()
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
newBuilder(CVSSv3 prototype)
public static CVSSv3.Builder newBuilder(CVSSv3 prototype)
Parameter | |
---|---|
Name | Description |
prototype | CVSSv3 |
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
parseDelimitedFrom(InputStream input)
public static CVSSv3 parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static CVSSv3 parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static CVSSv3 parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static CVSSv3 parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static CVSSv3 parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static CVSSv3 parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CVSSv3 |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<CVSSv3> parser()
Returns | |
---|---|
Type | Description |
Parser<CVSSv3> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAttackComplexity()
public CVSSv3.AttackComplexity getAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
Returns | |
---|---|
Type | Description |
CVSSv3.AttackComplexity | The attackComplexity. |
getAttackComplexityValue()
public int getAttackComplexityValue()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for attackComplexity. |
getAttackVector()
public CVSSv3.AttackVector getAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1.CVSSv3.AttackVector attack_vector = 5;
Returns | |
---|---|
Type | Description |
CVSSv3.AttackVector | The attackVector. |
getAttackVectorValue()
public int getAttackVectorValue()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
.grafeas.v1.CVSSv3.AttackVector attack_vector = 5;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for attackVector. |
getAvailabilityImpact()
public CVSSv3.Impact getAvailabilityImpact()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
Returns | |
---|---|
Type | Description |
CVSSv3.Impact | The availabilityImpact. |
getAvailabilityImpactValue()
public int getAvailabilityImpactValue()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for availabilityImpact. |
getBaseScore()
public float getBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
Returns | |
---|---|
Type | Description |
float | The baseScore. |
getConfidentialityImpact()
public CVSSv3.Impact getConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
Returns | |
---|---|
Type | Description |
CVSSv3.Impact | The confidentialityImpact. |
getConfidentialityImpactValue()
public int getConfidentialityImpactValue()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for confidentialityImpact. |
getDefaultInstanceForType()
public CVSSv3 getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CVSSv3 |
getExploitabilityScore()
public float getExploitabilityScore()
float exploitability_score = 2;
Returns | |
---|---|
Type | Description |
float | The exploitabilityScore. |
getImpactScore()
public float getImpactScore()
float impact_score = 3;
Returns | |
---|---|
Type | Description |
float | The impactScore. |
getIntegrityImpact()
public CVSSv3.Impact getIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
Returns | |
---|---|
Type | Description |
CVSSv3.Impact | The integrityImpact. |
getIntegrityImpactValue()
public int getIntegrityImpactValue()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for integrityImpact. |
getParserForType()
public Parser<CVSSv3> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<CVSSv3> |
getPrivilegesRequired()
public CVSSv3.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
Returns | |
---|---|
Type | Description |
CVSSv3.PrivilegesRequired | The privilegesRequired. |
getPrivilegesRequiredValue()
public int getPrivilegesRequiredValue()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for privilegesRequired. |
getScope()
public CVSSv3.Scope getScope()
.grafeas.v1.CVSSv3.Scope scope = 9;
Returns | |
---|---|
Type | Description |
CVSSv3.Scope | The scope. |
getScopeValue()
public int getScopeValue()
.grafeas.v1.CVSSv3.Scope scope = 9;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for scope. |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getUserInteraction()
public CVSSv3.UserInteraction getUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
Returns | |
---|---|
Type | Description |
CVSSv3.UserInteraction | The userInteraction. |
getUserInteractionValue()
public int getUserInteractionValue()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for userInteraction. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public CVSSv3.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CVSSv3.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public CVSSv3.Builder toBuilder()
Returns | |
---|---|
Type | Description |
CVSSv3.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |