- 2.60.0 (latest)
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.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.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class Cvssv3.Builder extends GeneratedMessageV3.Builder<Cvssv3.Builder> implements Cvssv3OrBuilder
Common Vulnerability Scoring System version 3.
Protobuf type google.cloud.securitycenter.v2.Cvssv3
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cvssv3.BuilderImplements
Cvssv3OrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cvssv3.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
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.v2.Cvssv3.AttackComplexity attack_complexity = 3;
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.v2.Cvssv3.AttackVector attack_vector = 2;
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.v2.Cvssv3.Impact availability_impact = 9;
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.v2.Cvssv3.Impact confidentiality_impact = 7;
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Cvssv3.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
clearIntegrityImpact()
public Cvssv3.Builder clearIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.
.google.cloud.securitycenter.v2.Cvssv3.Impact integrity_impact = 8;
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cvssv3.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
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.v2.Cvssv3.PrivilegesRequired privileges_required = 4;
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.v2.Cvssv3.Scope scope = 6;
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.v2.Cvssv3.UserInteraction user_interaction = 5;
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |
clone()
public Cvssv3.Builder clone()
Returns | |
---|---|
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.v2.Cvssv3.AttackComplexity attack_complexity = 3;
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.v2.Cvssv3.AttackComplexity attack_complexity = 3;
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.v2.Cvssv3.AttackVector attack_vector = 2;
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.v2.Cvssv3.AttackVector attack_vector = 2;
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.v2.Cvssv3.Impact availability_impact = 9;
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.v2.Cvssv3.Impact availability_impact = 9;
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.v2.Cvssv3.Impact confidentiality_impact = 7;
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.v2.Cvssv3.Impact confidentiality_impact = 7;
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.v2.Cvssv3.Impact integrity_impact = 8;
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.v2.Cvssv3.Impact integrity_impact = 8;
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.v2.Cvssv3.PrivilegesRequired privileges_required = 4;
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.v2.Cvssv3.PrivilegesRequired privileges_required = 4;
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.v2.Cvssv3.Scope scope = 6;
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.v2.Cvssv3.Scope scope = 6;
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.v2.Cvssv3.UserInteraction user_interaction = 5;
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.v2.Cvssv3.UserInteraction user_interaction = 5;
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for userInteraction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cvssv3.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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.v2.Cvssv3.AttackComplexity attack_complexity = 3;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.AttackComplexity The 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.v2.Cvssv3.AttackComplexity attack_complexity = 3;
Parameter | |
---|---|
Name | Description |
value |
int The 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.v2.Cvssv3.AttackVector attack_vector = 2;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.AttackVector The 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.v2.Cvssv3.AttackVector attack_vector = 2;
Parameter | |
---|---|
Name | Description |
value |
int The 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.v2.Cvssv3.Impact availability_impact = 9;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.Impact The 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.v2.Cvssv3.Impact availability_impact = 9;
Parameter | |
---|---|
Name | Description |
value |
int The 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 |
double The 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.v2.Cvssv3.Impact confidentiality_impact = 7;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.Impact The 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.v2.Cvssv3.Impact confidentiality_impact = 7;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for confidentialityImpact to set. |
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Cvssv3.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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.v2.Cvssv3.Impact integrity_impact = 8;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.Impact The 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.v2.Cvssv3.Impact integrity_impact = 8;
Parameter | |
---|---|
Name | Description |
value |
int The 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.v2.Cvssv3.PrivilegesRequired privileges_required = 4;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.PrivilegesRequired The 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.v2.Cvssv3.PrivilegesRequired privileges_required = 4;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for privilegesRequired to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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.v2.Cvssv3.Scope scope = 6;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.Scope The 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.v2.Cvssv3.Scope scope = 6;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for scope to set. |
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cvssv3.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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.v2.Cvssv3.UserInteraction user_interaction = 5;
Parameter | |
---|---|
Name | Description |
value |
Cvssv3.UserInteraction The 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.v2.Cvssv3.UserInteraction user_interaction = 5;
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for userInteraction to set. |
Returns | |
---|---|
Type | Description |
Cvssv3.Builder |
This builder for chaining. |