public static final class Cvssv3.Builder extends GeneratedMessageV3.Builder<Cvssv3.Builder> implements Cvssv3OrBuilderCommon Vulnerability Scoring System version 3.
Protobuf type google.cloud.securitycenter.v1.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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| 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;
| 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;
| 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;
| 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;
| 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 |
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;
| 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.securitycenter.v1.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.securitycenter.v1.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.securitycenter.v1.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.securitycenter.v1.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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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 |
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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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;
| 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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| Name | Description |
| value | Cvssv3.AttackComplexityThe 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.securitycenter.v1.Cvssv3.AttackComplexity attack_complexity = 6;
| Name | Description |
| value | intThe 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)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;
| Name | Description |
| value | Cvssv3.AttackVectorThe attackVector to set. |
| 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;
| Name | Description |
| value | intThe 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.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
| Name | Description |
| value | Cvssv3.ImpactThe 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.securitycenter.v1.Cvssv3.Impact availability_impact = 12;
| Name | Description |
| value | intThe enum numeric value on the wire for availabilityImpact to set. |
| 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;
| Name | Description |
| value | doubleThe 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Name | Description |
| value | Cvssv3.ImpactThe 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.securitycenter.v1.Cvssv3.Impact confidentiality_impact = 10;
| Name | Description |
| value | intThe enum numeric value on the wire for confidentialityImpact 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 |
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;
| Name | Description |
| value | Cvssv3.ImpactThe 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.securitycenter.v1.Cvssv3.Impact integrity_impact = 11;
| Name | Description |
| value | intThe 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.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
| Name | Description |
| value | Cvssv3.PrivilegesRequiredThe 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.securitycenter.v1.Cvssv3.PrivilegesRequired privileges_required = 7;
| Name | Description |
| value | intThe 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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Name | Description |
| value | Cvssv3.ScopeThe 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.securitycenter.v1.Cvssv3.Scope scope = 9;
| Name | Description |
| value | intThe 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Name | Description |
| value | Cvssv3.UserInteractionThe 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.securitycenter.v1.Cvssv3.UserInteraction user_interaction = 8;
| Name | Description |
| value | intThe enum numeric value on the wire for userInteraction to set. |
| Type | Description |
| Cvssv3.Builder | This builder for chaining. |