Class Cvssv3
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.securitycenter.v1.Cvssv3
-
- All Implemented Interfaces:
Cvssv3OrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Cvssv3 extends com.google.protobuf.GeneratedMessageV3 implements Cvssv3OrBuilder
Common Vulnerability Scoring System version 3.
Protobuf typegoogle.cloud.securitycenter.v1.Cvssv3
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cvssv3.AttackComplexity
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.static class
Cvssv3.AttackVector
This metric reflects the context by which vulnerability exploitation is possible.static class
Cvssv3.Builder
Common Vulnerability Scoring System version 3.static class
Cvssv3.Impact
The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack.static class
Cvssv3.PrivilegesRequired
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.static class
Cvssv3.Scope
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.static class
Cvssv3.UserInteraction
This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ATTACK_COMPLEXITY_FIELD_NUMBER
static int
ATTACK_VECTOR_FIELD_NUMBER
static int
AVAILABILITY_IMPACT_FIELD_NUMBER
static int
BASE_SCORE_FIELD_NUMBER
static int
CONFIDENTIALITY_IMPACT_FIELD_NUMBER
static int
INTEGRITY_IMPACT_FIELD_NUMBER
static int
PRIVILEGES_REQUIRED_FIELD_NUMBER
static int
SCOPE_FIELD_NUMBER
static int
USER_INTERACTION_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
Cvssv3.AttackComplexity
getAttackComplexity()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.int
getAttackComplexityValue()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.Cvssv3.AttackVector
getAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.int
getAttackVectorValue()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.Cvssv3.Impact
getAvailabilityImpact()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.int
getAvailabilityImpactValue()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.double
getBaseScore()
The base score is a function of the base metric scores.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.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.static Cvssv3
getDefaultInstance()
Cvssv3
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
Cvssv3.Impact
getIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.int
getIntegrityImpactValue()
This metric measures the impact to integrity of a successfully exploited vulnerability.com.google.protobuf.Parser<Cvssv3>
getParserForType()
Cvssv3.PrivilegesRequired
getPrivilegesRequired()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.int
getPrivilegesRequiredValue()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Cvssv3.Scope
getScope()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.int
getScopeValue()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.int
getSerializedSize()
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.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.int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Cvssv3.Builder
newBuilder()
static Cvssv3.Builder
newBuilder(Cvssv3 prototype)
Cvssv3.Builder
newBuilderForType()
protected Cvssv3.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Cvssv3
parseDelimitedFrom(InputStream input)
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
parseFrom(InputStream input)
static Cvssv3
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Cvssv3
parseFrom(ByteBuffer data)
static Cvssv3
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Cvssv3>
parser()
Cvssv3.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, 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, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
BASE_SCORE_FIELD_NUMBER
public static final int BASE_SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTACK_VECTOR_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTACK_COMPLEXITY_FIELD_NUMBER
public static final int ATTACK_COMPLEXITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVILEGES_REQUIRED_FIELD_NUMBER
public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_INTERACTION_FIELD_NUMBER
public static final int USER_INTERACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCOPE_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONFIDENTIALITY_IMPACT_FIELD_NUMBER
public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTEGRITY_IMPACT_FIELD_NUMBER
public static final int INTEGRITY_IMPACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVAILABILITY_IMPACT_FIELD_NUMBER
public static final int AVAILABILITY_IMPACT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getBaseScore
public double getBaseScore()
The base score is a function of the base metric scores.
double base_score = 1;
- Specified by:
getBaseScore
in interfaceCvssv3OrBuilder
- Returns:
- The baseScore.
-
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;
- Specified by:
getAttackVectorValue
in interfaceCvssv3OrBuilder
- 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. This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5;
- Specified by:
getAttackVector
in interfaceCvssv3OrBuilder
- Returns:
- The attackVector.
-
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;
- Specified by:
getAttackComplexityValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for attackComplexity.
-
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;
- Specified by:
getAttackComplexity
in interfaceCvssv3OrBuilder
- Returns:
- The attackComplexity.
-
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;
- Specified by:
getPrivilegesRequiredValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for privilegesRequired.
-
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;
- Specified by:
getPrivilegesRequired
in interfaceCvssv3OrBuilder
- Returns:
- The privilegesRequired.
-
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;
- Specified by:
getUserInteractionValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for userInteraction.
-
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;
- Specified by:
getUserInteraction
in interfaceCvssv3OrBuilder
- Returns:
- The userInteraction.
-
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;
- Specified by:
getScopeValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for scope.
-
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;
- Specified by:
getScope
in interfaceCvssv3OrBuilder
- Returns:
- The scope.
-
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;
- Specified by:
getConfidentialityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for confidentialityImpact.
-
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;
- Specified by:
getConfidentialityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The confidentialityImpact.
-
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;
- Specified by:
getIntegrityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for integrityImpact.
-
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;
- Specified by:
getIntegrityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The integrityImpact.
-
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;
- Specified by:
getAvailabilityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for availabilityImpact.
-
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;
- Specified by:
getAvailabilityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The availabilityImpact.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.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 interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.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 interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Cvssv3.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
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 interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Cvssv3 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-