public final class CVSSv3 extends GeneratedMessageV3 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
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()
newBuilder()
public static CVSSv3.Builder newBuilder()
newBuilder(CVSSv3 prototype)
public static CVSSv3.Builder newBuilder(CVSSv3 prototype)
Parameter |
Name |
Description |
prototype |
CVSSv3
|
public static CVSSv3 parseDelimitedFrom(InputStream input)
Returns |
Type |
Description |
CVSSv3 |
|
public static CVSSv3 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(byte[] data)
public static CVSSv3 parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(ByteString data)
public static CVSSv3 parseFrom(ByteString data)
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
public static CVSSv3 parseFrom(CodedInputStream input)
Returns |
Type |
Description |
CVSSv3 |
|
public static CVSSv3 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
public static CVSSv3 parseFrom(InputStream input)
Returns |
Type |
Description |
CVSSv3 |
|
public static CVSSv3 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(ByteBuffer data)
public static CVSSv3 parseFrom(ByteBuffer data)
Returns |
Type |
Description |
CVSSv3 |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static CVSSv3 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Returns |
Type |
Description |
CVSSv3 |
|
parser()
public static Parser<CVSSv3> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getAttackComplexity()
public CVSSv3.AttackComplexity getAttackComplexity()
.grafeas.v1beta1.vulnerability.CVSSv3.AttackComplexity attack_complexity = 6;
getAttackComplexityValue()
public int getAttackComplexityValue()
.grafeas.v1beta1.vulnerability.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.v1beta1.vulnerability.CVSSv3.AttackVector attack_vector = 5;
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;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for attackVector.
|
getAvailabilityImpact()
public CVSSv3.Impact getAvailabilityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact availability_impact = 12;
getAvailabilityImpactValue()
public int getAvailabilityImpactValue()
.grafeas.v1beta1.vulnerability.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.v1beta1.vulnerability.CVSSv3.Impact confidentiality_impact = 10;
Returns |
Type |
Description |
CVSSv3.Impact |
The confidentialityImpact.
|
getConfidentialityImpactValue()
public int getConfidentialityImpactValue()
.grafeas.v1beta1.vulnerability.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()
Returns |
Type |
Description |
float |
The impactScore.
|
getIntegrityImpact()
public CVSSv3.Impact getIntegrityImpact()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
getIntegrityImpactValue()
public int getIntegrityImpactValue()
.grafeas.v1beta1.vulnerability.CVSSv3.Impact integrity_impact = 11;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for integrityImpact.
|
getParserForType()
public Parser<CVSSv3> getParserForType()
Overrides
getPrivilegesRequired()
public CVSSv3.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequiredValue()
public int getPrivilegesRequiredValue()
.grafeas.v1beta1.vulnerability.CVSSv3.PrivilegesRequired privileges_required = 7;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for privilegesRequired.
|
getScope()
public CVSSv3.Scope getScope()
.grafeas.v1beta1.vulnerability.CVSSv3.Scope scope = 9;
getScopeValue()
public int getScopeValue()
.grafeas.v1beta1.vulnerability.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 |
|
Overrides
getUserInteraction()
public CVSSv3.UserInteraction getUserInteraction()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
getUserInteractionValue()
public int getUserInteractionValue()
.grafeas.v1beta1.vulnerability.CVSSv3.UserInteraction user_interaction = 8;
Returns |
Type |
Description |
int |
The enum numeric value on the wire for userInteraction.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public CVSSv3.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected CVSSv3.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public CVSSv3.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides