Class Cvssv3.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
- com.google.cloud.securitycenter.v1.Cvssv3.Builder
-
- All Implemented Interfaces:
Cvssv3OrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Cvssv3
public static final class Cvssv3.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder> implements Cvssv3OrBuilder
Common Vulnerability Scoring System version 3.
Protobuf typegoogle.cloud.securitycenter.v1.Cvssv3
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Cvssv3.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Cvssv3
build()
Cvssv3
buildPartial()
Cvssv3.Builder
clear()
Cvssv3.Builder
clearAttackComplexity()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.Cvssv3.Builder
clearAttackVector()
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.Cvssv3.Builder
clearAvailabilityImpact()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.Cvssv3.Builder
clearBaseScore()
The base score is a function of the base metric scores.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.Cvssv3.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Cvssv3.Builder
clearIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.Cvssv3.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Cvssv3.Builder
clearPrivilegesRequired()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Cvssv3.Builder
clearScope()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.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.Cvssv3.Builder
clone()
Cvssv3.AttackComplexity
getAttackComplexity()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.int
getAttackComplexityValue()
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.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()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.int
getAvailabilityImpactValue()
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.double
getBaseScore()
The base score is a function of the base metric scores.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.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.Cvssv3
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Cvssv3.Impact
getIntegrityImpact()
This metric measures the impact to integrity of a successfully exploited vulnerability.int
getIntegrityImpactValue()
This metric measures the impact to integrity of a successfully exploited vulnerability.Cvssv3.PrivilegesRequired
getPrivilegesRequired()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.int
getPrivilegesRequiredValue()
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Cvssv3.Scope
getScope()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.int
getScopeValue()
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.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.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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Cvssv3.Builder
mergeFrom(Cvssv3 other)
Cvssv3.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Cvssv3.Builder
mergeFrom(com.google.protobuf.Message other)
Cvssv3.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.Cvssv3.Builder
setAttackComplexityValue(int value)
This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.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)
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.Cvssv3.Builder
setAvailabilityImpactValue(int value)
This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.Cvssv3.Builder
setBaseScore(double value)
The base score is a function of the base metric scores.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.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.Cvssv3.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Cvssv3.Builder
setIntegrityImpact(Cvssv3.Impact value)
This metric measures the impact to integrity of a successfully exploited vulnerability.Cvssv3.Builder
setIntegrityImpactValue(int value)
This metric measures the impact to integrity of a successfully exploited vulnerability.Cvssv3.Builder
setPrivilegesRequired(Cvssv3.PrivilegesRequired value)
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Cvssv3.Builder
setPrivilegesRequiredValue(int value)
This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.Cvssv3.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
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.Cvssv3.Builder
setScopeValue(int value)
The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.Cvssv3.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
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.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.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
clear
public Cvssv3.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
getDefaultInstanceForType
public Cvssv3 getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Cvssv3 build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Cvssv3 buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Cvssv3.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
setField
public Cvssv3.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
clearField
public Cvssv3.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
clearOneof
public Cvssv3.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
setRepeatedField
public Cvssv3.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
addRepeatedField
public Cvssv3.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
mergeFrom
public Cvssv3.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cvssv3.Builder>
-
mergeFrom
public Cvssv3.Builder mergeFrom(Cvssv3 other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
mergeFrom
public Cvssv3.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Cvssv3.Builder>
- Throws:
IOException
-
getBaseScore
public double getBaseScore()
The base score is a function of the base metric scores.
double base_score = 1;
- Specified by:
getBaseScore
in interfaceCvssv3OrBuilder
- Returns:
- The baseScore.
-
setBaseScore
public Cvssv3.Builder setBaseScore(double value)
The base score is a function of the base metric scores.
double base_score = 1;
- Parameters:
value
- The baseScore to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getAttackVectorValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for attackVector.
-
setAttackVectorValue
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;
- Parameters:
value
- The enum numeric value on the wire for attackVector to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getAttackVector
in interfaceCvssv3OrBuilder
- Returns:
- The attackVector.
-
setAttackVector
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;
- Parameters:
value
- The attackVector to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getAttackComplexityValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for attackComplexity.
-
setAttackComplexityValue
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;
- Parameters:
value
- The enum numeric value on the wire for attackComplexity to set.- Returns:
- 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;
- Specified by:
getAttackComplexity
in interfaceCvssv3OrBuilder
- Returns:
- The attackComplexity.
-
setAttackComplexity
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;
- Parameters:
value
- The attackComplexity to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
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;
- Specified by:
getPrivilegesRequiredValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for privilegesRequired.
-
setPrivilegesRequiredValue
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;
- Parameters:
value
- The enum numeric value on the wire for privilegesRequired to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getPrivilegesRequired
in interfaceCvssv3OrBuilder
- Returns:
- The privilegesRequired.
-
setPrivilegesRequired
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;
- Parameters:
value
- The privilegesRequired to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getUserInteractionValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for userInteraction.
-
setUserInteractionValue
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;
- Parameters:
value
- The enum numeric value on the wire for userInteraction to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getUserInteraction
in interfaceCvssv3OrBuilder
- Returns:
- The userInteraction.
-
setUserInteraction
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;
- Parameters:
value
- The userInteraction to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getScopeValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for scope.
-
setScopeValue
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;
- Parameters:
value
- The enum numeric value on the wire for scope to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getScope
in interfaceCvssv3OrBuilder
- Returns:
- The scope.
-
setScope
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;
- Parameters:
value
- The scope to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getConfidentialityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for confidentialityImpact.
-
setConfidentialityImpactValue
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;
- Parameters:
value
- The enum numeric value on the wire for confidentialityImpact to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getConfidentialityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The confidentialityImpact.
-
setConfidentialityImpact
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;
- Parameters:
value
- The confidentialityImpact to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getIntegrityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for integrityImpact.
-
setIntegrityImpactValue
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;
- Parameters:
value
- The enum numeric value on the wire for integrityImpact to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getIntegrityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The integrityImpact.
-
setIntegrityImpact
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;
- Parameters:
value
- The integrityImpact to set.- Returns:
- 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:
- This builder for chaining.
-
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;
- Specified by:
getAvailabilityImpactValue
in interfaceCvssv3OrBuilder
- Returns:
- The enum numeric value on the wire for availabilityImpact.
-
setAvailabilityImpactValue
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;
- Parameters:
value
- The enum numeric value on the wire for availabilityImpact to set.- Returns:
- This builder for chaining.
-
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;
- Specified by:
getAvailabilityImpact
in interfaceCvssv3OrBuilder
- Returns:
- The availabilityImpact.
-
setAvailabilityImpact
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;
- Parameters:
value
- The availabilityImpact to set.- Returns:
- 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:
- This builder for chaining.
-
setUnknownFields
public final Cvssv3.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
mergeUnknownFields
public final Cvssv3.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Cvssv3.Builder>
-
-