public static final class Cvssv3.Builder extends GeneratedMessage.Builder<Cvssv3.Builder> implements Cvssv3OrBuilderCommon Vulnerability Scoring System version 3.
Protobuf type google.cloud.securitycenter.v1.Cvssv3
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Cvssv3.BuilderImplements
Cvssv3OrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Cvssv3 build()| Returns | |
|---|---|
| Type | Description |
Cvssv3 |
|
buildPartial()
public Cvssv3 buildPartial()| Returns | |
|---|---|
| Type | Description |
Cvssv3 |
|
clear()
public Cvssv3.Builder clear()| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clearAttackVector()
public Cvssv3.Builder clearAttackVector()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 |
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.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clearBaseScore()
public Cvssv3.Builder clearBaseScore()The base score is a function of the base metric scores.
double base_score = 1;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clearPrivilegesRequired()
public Cvssv3.Builder clearPrivilegesRequired()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 |
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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| 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.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;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.AttackVector |
The attackVector. |
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;
| Returns | |
|---|---|
| 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.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;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for confidentialityImpact. |
getDefaultInstanceForType()
public Cvssv3 getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Cvssv3 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Impact |
The integrityImpact. |
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. |
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;
| Returns | |
|---|---|
| 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.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;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for userInteraction. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Cvssv3 other)
public Cvssv3.Builder mergeFrom(Cvssv3 other)| Parameter | |
|---|---|
| Name | Description |
other |
Cvssv3 |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cvssv3.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Cvssv3.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.AttackComplexityThe attackComplexity to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for attackComplexity to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
setAttackVector(Cvssv3.AttackVector value)
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. This metric reflects the context by which vulnerability exploitation is possible.
.google.cloud.securitycenter.v1.Cvssv3.AttackVector attack_vector = 5;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.AttackVectorThe attackVector to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
setAttackVectorValue(int value)
public Cvssv3.Builder setAttackVectorValue(int value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for attackVector to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.ImpactThe availabilityImpact to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for availabilityImpact to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
setBaseScore(double value)
public Cvssv3.Builder setBaseScore(double value)The base score is a function of the base metric scores.
double base_score = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe baseScore to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.ImpactThe confidentialityImpact to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for confidentialityImpact to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.ImpactThe integrityImpact to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for integrityImpact to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.PrivilegesRequiredThe privilegesRequired to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for privilegesRequired to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.ScopeThe scope to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for scope to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |
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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
Cvssv3.UserInteractionThe userInteraction to set. |
| Returns | |
|---|---|
| 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for userInteraction to set. |
| Returns | |
|---|---|
| Type | Description |
Cvssv3.Builder |
This builder for chaining. |