public final class Cvssv3 extends GeneratedMessageV3 implements Cvssv3OrBuilder
Common Vulnerability Scoring System version 3.
Protobuf type google.cloud.securitycenter.v1.Cvssv3
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 | |
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()
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)
public static Cvssv3 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Cvssv3 parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cvssv3 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Cvssv3 parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cvssv3 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cvssv3 parseFrom(CodedInputStream input)
public static Cvssv3 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Cvssv3 parseFrom(InputStream input)
public static Cvssv3 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Cvssv3 parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cvssv3 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
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()
This metric describes the conditions beyond the attacker's control that
must exist in order to exploit the vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
getAttackComplexityValue()
public int getAttackComplexityValue()
This metric describes the conditions beyond the attacker's control that
must exist in order to exploit the vulnerability.
.google.cloud.securitycenter.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.
This metric reflects the context by which vulnerability exploitation is
possible.
.google.cloud.securitycenter.v1.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.
This metric reflects the context by which vulnerability exploitation is
possible.
.google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for attackVector.
|
getAvailabilityImpact()
public Cvssv3.Impact getAvailabilityImpact()
This metric measures the impact to the availability of the impacted
component resulting from a successfully exploited vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
getAvailabilityImpactValue()
public int getAvailabilityImpactValue()
This metric measures the impact to the availability of the impacted
component resulting from a successfully exploited vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for availabilityImpact.
|
getBaseScore()
public double getBaseScore()
The base score is a function of the base metric scores.
double base_score = 1;
Returns |
---|
Type | Description |
double | The baseScore.
|
getConfidentialityImpact()
public Cvssv3.Impact getConfidentialityImpact()
This metric measures the impact to the confidentiality of the information
resources managed by a software component due to a successfully exploited
vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
getConfidentialityImpactValue()
public int getConfidentialityImpactValue()
This metric measures the impact to the confidentiality of the information
resources managed by a software component due to a successfully exploited
vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for confidentialityImpact.
|
getDefaultInstanceForType()
public Cvssv3 getDefaultInstanceForType()
getIntegrityImpact()
public Cvssv3.Impact getIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited
vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;
getIntegrityImpactValue()
public int getIntegrityImpactValue()
This metric measures the impact to integrity of a successfully exploited
vulnerability.
.google.cloud.securitycenter.v1.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()
This metric describes the level of privileges an attacker must possess
before successfully exploiting the vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequiredValue()
public int getPrivilegesRequiredValue()
This metric describes the level of privileges an attacker must possess
before successfully exploiting the vulnerability.
.google.cloud.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for privilegesRequired.
|
getScope()
public Cvssv3.Scope getScope()
The Scope metric captures whether a vulnerability in one vulnerable
component impacts resources in components beyond its security scope.
.google.cloud.securitycenter.v1.Cvssv3.Scope scope = 9;
getScopeValue()
public int getScopeValue()
The Scope metric captures whether a vulnerability in one vulnerable
component impacts resources in components beyond its security scope.
.google.cloud.securitycenter.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 | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
getUserInteraction()
public Cvssv3.UserInteraction getUserInteraction()
This metric captures the requirement for a human user, other than the
attacker, to participate in the successful compromise of the vulnerable
component.
.google.cloud.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
getUserInteractionValue()
public int getUserInteractionValue()
This metric captures the requirement for a human user, other than the
attacker, to participate in the successful compromise of the vulnerable
component.
.google.cloud.securitycenter.v1.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)
Overrides
toBuilder()
public Cvssv3.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides