- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
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-document
Protobuf type google.cloud.osconfig.v1alpha.CVSSv3
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CVSSv3.BuilderImplements
CVSSv3OrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CVSSv3.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CVSSv3.Builder |
build()
public CVSSv3 build()
Type | Description |
CVSSv3 |
buildPartial()
public CVSSv3 buildPartial()
Type | Description |
CVSSv3 |
clear()
public CVSSv3.Builder clear()
Type | Description |
CVSSv3.Builder |
clearAttackComplexity()
public CVSSv3.Builder clearAttackComplexity()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearAttackVector()
public CVSSv3.Builder clearAttackVector()
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearAvailabilityImpact()
public CVSSv3.Builder clearAvailabilityImpact()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearBaseScore()
public CVSSv3.Builder clearBaseScore()
The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics
float base_score = 1;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearConfidentialityImpact()
public CVSSv3.Builder clearConfidentialityImpact()
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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearExploitabilityScore()
public CVSSv3.Builder clearExploitabilityScore()
The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
float exploitability_score = 2;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public CVSSv3.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CVSSv3.Builder |
clearImpactScore()
public CVSSv3.Builder clearImpactScore()
The Impact sub-score equation is derived from the Base Impact metrics.
float impact_score = 3;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearIntegrityImpact()
public CVSSv3.Builder clearIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CVSSv3.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CVSSv3.Builder |
clearPrivilegesRequired()
public CVSSv3.Builder clearPrivilegesRequired()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearScope()
public CVSSv3.Builder clearScope()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
.google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clearUserInteraction()
public CVSSv3.Builder clearUserInteraction()
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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
Type | Description |
CVSSv3.Builder | This builder for chaining. |
clone()
public CVSSv3.Builder clone()
Type | Description |
CVSSv3.Builder |
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.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
Type | Description |
CVSSv3.AttackComplexity | The attackComplexity. |
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.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
Type | Description |
int | The enum numeric value on the wire for attackComplexity. |
getAttackVector()
public CVSSv3.AttackVector getAttackVector()
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
Type | Description |
CVSSv3.AttackVector | The attackVector. |
getAttackVectorValue()
public int getAttackVectorValue()
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
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.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
Type | Description |
CVSSv3.Impact | The availabilityImpact. |
getAvailabilityImpactValue()
public int getAvailabilityImpactValue()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
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. https://www.first.org/cvss/specification-document#Base-Metrics
float base_score = 1;
Type | Description |
float | 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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
Type | Description |
CVSSv3.Impact | The confidentialityImpact. |
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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
Type | Description |
int | The enum numeric value on the wire for confidentialityImpact. |
getDefaultInstanceForType()
public CVSSv3 getDefaultInstanceForType()
Type | Description |
CVSSv3 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExploitabilityScore()
public float getExploitabilityScore()
The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
float exploitability_score = 2;
Type | Description |
float | The exploitabilityScore. |
getImpactScore()
public float getImpactScore()
The Impact sub-score equation is derived from the Base Impact metrics.
float impact_score = 3;
Type | Description |
float | The impactScore. |
getIntegrityImpact()
public CVSSv3.Impact getIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
Type | Description |
CVSSv3.Impact | The integrityImpact. |
getIntegrityImpactValue()
public int getIntegrityImpactValue()
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
Type | Description |
int | The enum numeric value on the wire for integrityImpact. |
getPrivilegesRequired()
public CVSSv3.PrivilegesRequired getPrivilegesRequired()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
Type | Description |
CVSSv3.PrivilegesRequired | The privilegesRequired. |
getPrivilegesRequiredValue()
public int getPrivilegesRequiredValue()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
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.osconfig.v1alpha.CVSSv3.Scope scope = 9;
Type | Description |
CVSSv3.Scope | The scope. |
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.osconfig.v1alpha.CVSSv3.Scope scope = 9;
Type | Description |
int | The enum numeric value on the wire for scope. |
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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
Type | Description |
CVSSv3.UserInteraction | The userInteraction. |
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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
Type | Description |
int | The enum numeric value on the wire for userInteraction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CVSSv3 other)
public CVSSv3.Builder mergeFrom(CVSSv3 other)
Name | Description |
other | CVSSv3 |
Type | Description |
CVSSv3.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CVSSv3.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CVSSv3.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CVSSv3.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CVSSv3.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CVSSv3.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CVSSv3.Builder |
setAttackComplexity(CVSSv3.AttackComplexity value)
public CVSSv3.Builder setAttackComplexity(CVSSv3.AttackComplexity value)
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
Name | Description |
value | CVSSv3.AttackComplexity The attackComplexity to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setAttackComplexityValue(int value)
public CVSSv3.Builder setAttackComplexityValue(int value)
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
Name | Description |
value | int The enum numeric value on the wire for attackComplexity to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setAttackVector(CVSSv3.AttackVector value)
public CVSSv3.Builder setAttackVector(CVSSv3.AttackVector value)
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
Name | Description |
value | CVSSv3.AttackVector The attackVector to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setAttackVectorValue(int value)
public CVSSv3.Builder setAttackVectorValue(int value)
This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
Name | Description |
value | int The enum numeric value on the wire for attackVector to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setAvailabilityImpact(CVSSv3.Impact value)
public CVSSv3.Builder setAvailabilityImpact(CVSSv3.Impact value)
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
Name | Description |
value | CVSSv3.Impact The availabilityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setAvailabilityImpactValue(int value)
public CVSSv3.Builder setAvailabilityImpactValue(int value)
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
Name | Description |
value | int The enum numeric value on the wire for availabilityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setBaseScore(float value)
public CVSSv3.Builder setBaseScore(float value)
The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics
float base_score = 1;
Name | Description |
value | float The baseScore to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setConfidentialityImpact(CVSSv3.Impact value)
public CVSSv3.Builder setConfidentialityImpact(CVSSv3.Impact value)
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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
Name | Description |
value | CVSSv3.Impact The confidentialityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setConfidentialityImpactValue(int value)
public CVSSv3.Builder setConfidentialityImpactValue(int value)
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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
Name | Description |
value | int The enum numeric value on the wire for confidentialityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setExploitabilityScore(float value)
public CVSSv3.Builder setExploitabilityScore(float value)
The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
float exploitability_score = 2;
Name | Description |
value | float The exploitabilityScore to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public CVSSv3.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CVSSv3.Builder |
setImpactScore(float value)
public CVSSv3.Builder setImpactScore(float value)
The Impact sub-score equation is derived from the Base Impact metrics.
float impact_score = 3;
Name | Description |
value | float The impactScore to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setIntegrityImpact(CVSSv3.Impact value)
public CVSSv3.Builder setIntegrityImpact(CVSSv3.Impact value)
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
Name | Description |
value | CVSSv3.Impact The integrityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setIntegrityImpactValue(int value)
public CVSSv3.Builder setIntegrityImpactValue(int value)
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
Name | Description |
value | int The enum numeric value on the wire for integrityImpact to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setPrivilegesRequired(CVSSv3.PrivilegesRequired value)
public CVSSv3.Builder setPrivilegesRequired(CVSSv3.PrivilegesRequired value)
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
Name | Description |
value | CVSSv3.PrivilegesRequired The privilegesRequired to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setPrivilegesRequiredValue(int value)
public CVSSv3.Builder setPrivilegesRequiredValue(int value)
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
.google.cloud.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
Name | Description |
value | int The enum numeric value on the wire for privilegesRequired to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CVSSv3.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CVSSv3.Builder |
setScope(CVSSv3.Scope value)
public CVSSv3.Builder setScope(CVSSv3.Scope value)
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
.google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9;
Name | Description |
value | CVSSv3.Scope The scope to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setScopeValue(int value)
public CVSSv3.Builder setScopeValue(int value)
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
.google.cloud.osconfig.v1alpha.CVSSv3.Scope scope = 9;
Name | Description |
value | int The enum numeric value on the wire for scope to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final CVSSv3.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CVSSv3.Builder |
setUserInteraction(CVSSv3.UserInteraction value)
public CVSSv3.Builder setUserInteraction(CVSSv3.UserInteraction value)
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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
Name | Description |
value | CVSSv3.UserInteraction The userInteraction to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |
setUserInteractionValue(int value)
public CVSSv3.Builder setUserInteractionValue(int value)
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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
Name | Description |
value | int The enum numeric value on the wire for userInteraction to set. |
Type | Description |
CVSSv3.Builder | This builder for chaining. |