public final class CVSSv3 extends GeneratedMessageV3 implements CVSSv3OrBuilder
Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-documentProtobuf type
grafeas.v1.CVSSv3
Modifier and Type | Class and Description |
---|---|
static class |
CVSSv3.AttackComplexity
Protobuf enum
grafeas.v1.CVSSv3.AttackComplexity |
static class |
CVSSv3.AttackVector
Protobuf enum
grafeas.v1.CVSSv3.AttackVector |
static class |
CVSSv3.Builder
Common Vulnerability Scoring System version 3.
|
static class |
CVSSv3.Impact
Protobuf enum
grafeas.v1.CVSSv3.Impact |
static class |
CVSSv3.PrivilegesRequired
Protobuf enum
grafeas.v1.CVSSv3.PrivilegesRequired |
static class |
CVSSv3.Scope
Protobuf enum
grafeas.v1.CVSSv3.Scope |
static class |
CVSSv3.UserInteraction
Protobuf enum
grafeas.v1.CVSSv3.UserInteraction |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and 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 |
EXPLOITABILITY_SCORE_FIELD_NUMBER |
static int |
IMPACT_SCORE_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 |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
CVSSv3.AttackComplexity |
getAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6; |
int |
getAttackComplexityValue()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6; |
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()
.grafeas.v1.CVSSv3.Impact availability_impact = 12; |
int |
getAvailabilityImpactValue()
.grafeas.v1.CVSSv3.Impact availability_impact = 12; |
float |
getBaseScore()
The base score is a function of the base metric scores.
|
CVSSv3.Impact |
getConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10; |
int |
getConfidentialityImpactValue()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10; |
static CVSSv3 |
getDefaultInstance() |
CVSSv3 |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
float |
getExploitabilityScore()
float exploitability_score = 2; |
float |
getImpactScore()
float impact_score = 3; |
CVSSv3.Impact |
getIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11; |
int |
getIntegrityImpactValue()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11; |
Parser<CVSSv3> |
getParserForType() |
CVSSv3.PrivilegesRequired |
getPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7; |
int |
getPrivilegesRequiredValue()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7; |
CVSSv3.Scope |
getScope()
.grafeas.v1.CVSSv3.Scope scope = 9; |
int |
getScopeValue()
.grafeas.v1.CVSSv3.Scope scope = 9; |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
CVSSv3.UserInteraction |
getUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
int |
getUserInteractionValue()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CVSSv3.Builder |
newBuilder() |
static CVSSv3.Builder |
newBuilder(CVSSv3 prototype) |
CVSSv3.Builder |
newBuilderForType() |
protected CVSSv3.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static CVSSv3 |
parseDelimitedFrom(InputStream input) |
static CVSSv3 |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static CVSSv3 |
parseFrom(byte[] data) |
static CVSSv3 |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static CVSSv3 |
parseFrom(ByteBuffer data) |
static CVSSv3 |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static CVSSv3 |
parseFrom(ByteString data) |
static CVSSv3 |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static CVSSv3 |
parseFrom(CodedInputStream input) |
static CVSSv3 |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static CVSSv3 |
parseFrom(InputStream input) |
static CVSSv3 |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<CVSSv3> |
parser() |
CVSSv3.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int BASE_SCORE_FIELD_NUMBER
public static final int EXPLOITABILITY_SCORE_FIELD_NUMBER
public static final int IMPACT_SCORE_FIELD_NUMBER
public static final int ATTACK_VECTOR_FIELD_NUMBER
public static final int ATTACK_COMPLEXITY_FIELD_NUMBER
public static final int PRIVILEGES_REQUIRED_FIELD_NUMBER
public static final int USER_INTERACTION_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
public static final int CONFIDENTIALITY_IMPACT_FIELD_NUMBER
public static final int INTEGRITY_IMPACT_FIELD_NUMBER
public static final int AVAILABILITY_IMPACT_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public float getBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
getBaseScore
in interface CVSSv3OrBuilder
public float getExploitabilityScore()
float exploitability_score = 2;
getExploitabilityScore
in interface CVSSv3OrBuilder
public float getImpactScore()
float impact_score = 3;
getImpactScore
in interface CVSSv3OrBuilder
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;
getAttackVectorValue
in interface CVSSv3OrBuilder
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;
getAttackVector
in interface CVSSv3OrBuilder
public int getAttackComplexityValue()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
getAttackComplexityValue
in interface CVSSv3OrBuilder
public CVSSv3.AttackComplexity getAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
getAttackComplexity
in interface CVSSv3OrBuilder
public int getPrivilegesRequiredValue()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequiredValue
in interface CVSSv3OrBuilder
public CVSSv3.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequired
in interface CVSSv3OrBuilder
public int getUserInteractionValue()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
getUserInteractionValue
in interface CVSSv3OrBuilder
public CVSSv3.UserInteraction getUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
getUserInteraction
in interface CVSSv3OrBuilder
public int getScopeValue()
.grafeas.v1.CVSSv3.Scope scope = 9;
getScopeValue
in interface CVSSv3OrBuilder
public CVSSv3.Scope getScope()
.grafeas.v1.CVSSv3.Scope scope = 9;
getScope
in interface CVSSv3OrBuilder
public int getConfidentialityImpactValue()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
getConfidentialityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Impact getConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
getConfidentialityImpact
in interface CVSSv3OrBuilder
public int getIntegrityImpactValue()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
getIntegrityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Impact getIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
getIntegrityImpact
in interface CVSSv3OrBuilder
public int getAvailabilityImpactValue()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
getAvailabilityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Impact getAvailabilityImpact()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
getAvailabilityImpact
in interface CVSSv3OrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static CVSSv3 parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static CVSSv3 parseFrom(InputStream input) throws IOException
IOException
public static CVSSv3 parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CVSSv3 parseDelimitedFrom(InputStream input) throws IOException
IOException
public static CVSSv3 parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static CVSSv3 parseFrom(CodedInputStream input) throws IOException
IOException
public static CVSSv3 parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public CVSSv3.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static CVSSv3.Builder newBuilder()
public static CVSSv3.Builder newBuilder(CVSSv3 prototype)
public CVSSv3.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected CVSSv3.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static CVSSv3 getDefaultInstance()
public Parser<CVSSv3> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public CVSSv3 getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.