public static final class CVSSv3.Builder extends GeneratedMessageV3.Builder<CVSSv3.Builder> 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 | Method and Description |
---|---|
CVSSv3.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
CVSSv3 |
build() |
CVSSv3 |
buildPartial() |
CVSSv3.Builder |
clear() |
CVSSv3.Builder |
clearAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6; |
CVSSv3.Builder |
clearAttackVector()
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
|
CVSSv3.Builder |
clearAvailabilityImpact()
.grafeas.v1.CVSSv3.Impact availability_impact = 12; |
CVSSv3.Builder |
clearBaseScore()
The base score is a function of the base metric scores.
|
CVSSv3.Builder |
clearConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10; |
CVSSv3.Builder |
clearExploitabilityScore()
float exploitability_score = 2; |
CVSSv3.Builder |
clearField(Descriptors.FieldDescriptor field) |
CVSSv3.Builder |
clearImpactScore()
float impact_score = 3; |
CVSSv3.Builder |
clearIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11; |
CVSSv3.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
CVSSv3.Builder |
clearPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7; |
CVSSv3.Builder |
clearScope()
.grafeas.v1.CVSSv3.Scope scope = 9; |
CVSSv3.Builder |
clearUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
CVSSv3.Builder |
clone() |
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; |
CVSSv3 |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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; |
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; |
CVSSv3.UserInteraction |
getUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
int |
getUserInteractionValue()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CVSSv3.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
CVSSv3.Builder |
mergeFrom(CVSSv3 other) |
CVSSv3.Builder |
mergeFrom(Message other) |
CVSSv3.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
CVSSv3.Builder |
setAttackComplexity(CVSSv3.AttackComplexity value)
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6; |
CVSSv3.Builder |
setAttackComplexityValue(int value)
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6; |
CVSSv3.Builder |
setAttackVector(CVSSv3.AttackVector value)
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
|
CVSSv3.Builder |
setAttackVectorValue(int value)
Base Metrics
Represents the intrinsic characteristics of a vulnerability that are
constant over time and across user environments.
|
CVSSv3.Builder |
setAvailabilityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact availability_impact = 12; |
CVSSv3.Builder |
setAvailabilityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact availability_impact = 12; |
CVSSv3.Builder |
setBaseScore(float value)
The base score is a function of the base metric scores.
|
CVSSv3.Builder |
setConfidentialityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10; |
CVSSv3.Builder |
setConfidentialityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10; |
CVSSv3.Builder |
setExploitabilityScore(float value)
float exploitability_score = 2; |
CVSSv3.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
CVSSv3.Builder |
setImpactScore(float value)
float impact_score = 3; |
CVSSv3.Builder |
setIntegrityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact integrity_impact = 11; |
CVSSv3.Builder |
setIntegrityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact integrity_impact = 11; |
CVSSv3.Builder |
setPrivilegesRequired(CVSSv3.PrivilegesRequired value)
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7; |
CVSSv3.Builder |
setPrivilegesRequiredValue(int value)
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7; |
CVSSv3.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
CVSSv3.Builder |
setScope(CVSSv3.Scope value)
.grafeas.v1.CVSSv3.Scope scope = 9; |
CVSSv3.Builder |
setScopeValue(int value)
.grafeas.v1.CVSSv3.Scope scope = 9; |
CVSSv3.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
CVSSv3.Builder |
setUserInteraction(CVSSv3.UserInteraction value)
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
CVSSv3.Builder |
setUserInteractionValue(int value)
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3 getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CVSSv3 build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CVSSv3 buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CVSSv3.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CVSSv3.Builder>
public CVSSv3.Builder mergeFrom(CVSSv3 other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public CVSSv3.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CVSSv3.Builder>
IOException
public float getBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
getBaseScore
in interface CVSSv3OrBuilder
public CVSSv3.Builder setBaseScore(float value)
The base score is a function of the base metric scores.
float base_score = 1;
public CVSSv3.Builder clearBaseScore()
The base score is a function of the base metric scores.
float base_score = 1;
public float getExploitabilityScore()
float exploitability_score = 2;
getExploitabilityScore
in interface CVSSv3OrBuilder
public CVSSv3.Builder setExploitabilityScore(float value)
float exploitability_score = 2;
public CVSSv3.Builder clearExploitabilityScore()
float exploitability_score = 2;
public float getImpactScore()
float impact_score = 3;
getImpactScore
in interface CVSSv3OrBuilder
public CVSSv3.Builder setImpactScore(float value)
float impact_score = 3;
public CVSSv3.Builder clearImpactScore()
float impact_score = 3;
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.Builder setAttackVectorValue(int value)
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;
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 CVSSv3.Builder setAttackVector(CVSSv3.AttackVector value)
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;
public CVSSv3.Builder clearAttackVector()
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;
public int getAttackComplexityValue()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
getAttackComplexityValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setAttackComplexityValue(int value)
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
public CVSSv3.AttackComplexity getAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
getAttackComplexity
in interface CVSSv3OrBuilder
public CVSSv3.Builder setAttackComplexity(CVSSv3.AttackComplexity value)
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
public CVSSv3.Builder clearAttackComplexity()
.grafeas.v1.CVSSv3.AttackComplexity attack_complexity = 6;
public int getPrivilegesRequiredValue()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequiredValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setPrivilegesRequiredValue(int value)
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
public CVSSv3.PrivilegesRequired getPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
getPrivilegesRequired
in interface CVSSv3OrBuilder
public CVSSv3.Builder setPrivilegesRequired(CVSSv3.PrivilegesRequired value)
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
public CVSSv3.Builder clearPrivilegesRequired()
.grafeas.v1.CVSSv3.PrivilegesRequired privileges_required = 7;
public int getUserInteractionValue()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
getUserInteractionValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setUserInteractionValue(int value)
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
public CVSSv3.UserInteraction getUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
getUserInteraction
in interface CVSSv3OrBuilder
public CVSSv3.Builder setUserInteraction(CVSSv3.UserInteraction value)
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
public CVSSv3.Builder clearUserInteraction()
.grafeas.v1.CVSSv3.UserInteraction user_interaction = 8;
public int getScopeValue()
.grafeas.v1.CVSSv3.Scope scope = 9;
getScopeValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setScopeValue(int value)
.grafeas.v1.CVSSv3.Scope scope = 9;
public CVSSv3.Scope getScope()
.grafeas.v1.CVSSv3.Scope scope = 9;
getScope
in interface CVSSv3OrBuilder
public CVSSv3.Builder setScope(CVSSv3.Scope value)
.grafeas.v1.CVSSv3.Scope scope = 9;
public CVSSv3.Builder clearScope()
.grafeas.v1.CVSSv3.Scope scope = 9;
public int getConfidentialityImpactValue()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
getConfidentialityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setConfidentialityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
public CVSSv3.Impact getConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
getConfidentialityImpact
in interface CVSSv3OrBuilder
public CVSSv3.Builder setConfidentialityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
public CVSSv3.Builder clearConfidentialityImpact()
.grafeas.v1.CVSSv3.Impact confidentiality_impact = 10;
public int getIntegrityImpactValue()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
getIntegrityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setIntegrityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
public CVSSv3.Impact getIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
getIntegrityImpact
in interface CVSSv3OrBuilder
public CVSSv3.Builder setIntegrityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
public CVSSv3.Builder clearIntegrityImpact()
.grafeas.v1.CVSSv3.Impact integrity_impact = 11;
public int getAvailabilityImpactValue()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
getAvailabilityImpactValue
in interface CVSSv3OrBuilder
public CVSSv3.Builder setAvailabilityImpactValue(int value)
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
public CVSSv3.Impact getAvailabilityImpact()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
getAvailabilityImpact
in interface CVSSv3OrBuilder
public CVSSv3.Builder setAvailabilityImpact(CVSSv3.Impact value)
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
public CVSSv3.Builder clearAvailabilityImpact()
.grafeas.v1.CVSSv3.Impact availability_impact = 12;
public final CVSSv3.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
public final CVSSv3.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CVSSv3.Builder>
Copyright © 2019 Google LLC. All rights reserved.