Class CVSSv3.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<CVSSv3.Builder>
com.google.cloud.osconfig.v1alpha.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.GeneratedMessage.Builder<CVSSv3.Builder> implements CVSSv3OrBuilder
 Common Vulnerability Scoring System version 3.
 For details, see https://www.first.org/cvss/specification-document
 
Protobuf type google.cloud.osconfig.v1alpha.CVSSv3
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
    This metric reflects the context by which vulnerability exploitation is possible.
    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
    The base score is a function of the base metric scores.
    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
    The Exploitability sub-score equation is derived from the Base Exploitability metrics.
    The Impact sub-score equation is derived from the Base Impact metrics.
    This metric measures the impact to integrity of a successfully exploited vulnerability.
    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
    This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
    int
    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
    This metric reflects the context by which vulnerability exploitation is possible.
    int
    This metric reflects the context by which vulnerability exploitation is possible.
    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
    int
    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
    float
    The base score is a function of the base metric scores.
    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
    int
    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    float
    The Exploitability sub-score equation is derived from the Base Exploitability metrics.
    float
    The Impact sub-score equation is derived from the Base Impact metrics.
    This metric measures the impact to integrity of a successfully exploited vulnerability.
    int
    This metric measures the impact to integrity of a successfully exploited vulnerability.
    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
    int
    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
    int
    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
    This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
    int
    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.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.
    This metric reflects the context by which vulnerability exploitation is possible.
    This metric reflects the context by which vulnerability exploitation is possible.
    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.
    setBaseScore(float value)
    The base score is a function of the base metric scores.
    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.
    The Exploitability sub-score equation is derived from the Base Exploitability metrics.
    setImpactScore(float value)
    The Impact sub-score equation is derived from the Base Impact metrics.
    This metric measures the impact to integrity of a successfully exploited vulnerability.
    This metric measures the impact to integrity of a successfully exploited vulnerability.
    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.
    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
    setScopeValue(int value)
    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.
    This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.
    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.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CVSSv3.Builder>
    • clear

      public CVSSv3.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CVSSv3.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CVSSv3.Builder>
    • getDefaultInstanceForType

      public CVSSv3 getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CVSSv3 build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CVSSv3 buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CVSSv3.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CVSSv3.Builder>
    • mergeFrom

      public CVSSv3.Builder mergeFrom(CVSSv3 other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CVSSv3.Builder>
    • mergeFrom

      public CVSSv3.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CVSSv3.Builder>
      Throws:
      IOException
    • getBaseScore

      public float getBaseScore()
       The base score is a function of the base metric scores.
       https://www.first.org/cvss/specification-document#Base-Metrics
       
      float base_score = 1;
      Specified by:
      getBaseScore in interface CVSSv3OrBuilder
      Returns:
      The baseScore.
    • setBaseScore

      public CVSSv3.Builder setBaseScore(float value)
       The base score is a function of the base metric scores.
       https://www.first.org/cvss/specification-document#Base-Metrics
       
      float base_score = 1;
      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.
       https://www.first.org/cvss/specification-document#Base-Metrics
       
      float base_score = 1;
      Returns:
      This builder for chaining.
    • getExploitabilityScore

      public float getExploitabilityScore()
       The Exploitability sub-score equation is derived from the Base
       Exploitability metrics.
       https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
       
      float exploitability_score = 2;
      Specified by:
      getExploitabilityScore in interface CVSSv3OrBuilder
      Returns:
      The exploitabilityScore.
    • setExploitabilityScore

      public CVSSv3.Builder setExploitabilityScore(float value)
       The Exploitability sub-score equation is derived from the Base
       Exploitability metrics.
       https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
       
      float exploitability_score = 2;
      Parameters:
      value - The exploitabilityScore to set.
      Returns:
      This builder for chaining.
    • clearExploitabilityScore

      public CVSSv3.Builder clearExploitabilityScore()
       The Exploitability sub-score equation is derived from the Base
       Exploitability metrics.
       https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics
       
      float exploitability_score = 2;
      Returns:
      This builder for chaining.
    • getImpactScore

      public float getImpactScore()
       The Impact sub-score equation is derived from the Base Impact metrics.
       
      float impact_score = 3;
      Specified by:
      getImpactScore in interface CVSSv3OrBuilder
      Returns:
      The impactScore.
    • setImpactScore

      public CVSSv3.Builder setImpactScore(float value)
       The Impact sub-score equation is derived from the Base Impact metrics.
       
      float impact_score = 3;
      Parameters:
      value - The impactScore to set.
      Returns:
      This builder for chaining.
    • clearImpactScore

      public CVSSv3.Builder clearImpactScore()
       The Impact sub-score equation is derived from the Base Impact metrics.
       
      float impact_score = 3;
      Returns:
      This builder for chaining.
    • getAttackVectorValue

      public int getAttackVectorValue()
       This metric reflects the context by which vulnerability exploitation is
       possible.
       
      .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
      Specified by:
      getAttackVectorValue in interface CVSSv3OrBuilder
      Returns:
      The enum numeric value on the wire for attackVector.
    • setAttackVectorValue

      public CVSSv3.Builder setAttackVectorValue(int value)
       This metric reflects the context by which vulnerability exploitation is
       possible.
       
      .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
      Parameters:
      value - The enum numeric value on the wire for attackVector to set.
      Returns:
      This builder for chaining.
    • getAttackVector

      public CVSSv3.AttackVector getAttackVector()
       This metric reflects the context by which vulnerability exploitation is
       possible.
       
      .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
      Specified by:
      getAttackVector in interface CVSSv3OrBuilder
      Returns:
      The attackVector.
    • setAttackVector

      public CVSSv3.Builder setAttackVector(CVSSv3.AttackVector value)
       This metric reflects the context by which vulnerability exploitation is
       possible.
       
      .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
      Parameters:
      value - The attackVector to set.
      Returns:
      This builder for chaining.
    • clearAttackVector

      public CVSSv3.Builder clearAttackVector()
       This metric reflects the context by which vulnerability exploitation is
       possible.
       
      .google.cloud.osconfig.v1alpha.CVSSv3.AttackVector attack_vector = 5;
      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.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
      Specified by:
      getAttackComplexityValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.AttackComplexity attack_complexity = 6;
      Specified by:
      getAttackComplexity in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
      Specified by:
      getPrivilegesRequiredValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.PrivilegesRequired privileges_required = 7;
      Specified by:
      getPrivilegesRequired in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
      Specified by:
      getUserInteractionValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.UserInteraction user_interaction = 8;
      Specified by:
      getUserInteraction in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Scope scope = 9;
      Specified by:
      getScopeValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Scope scope = 9;
      Specified by:
      getScope in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
      Specified by:
      getConfidentialityImpactValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact confidentiality_impact = 10;
      Specified by:
      getConfidentialityImpact in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
      Specified by:
      getIntegrityImpactValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact integrity_impact = 11;
      Specified by:
      getIntegrityImpact in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
      Specified by:
      getAvailabilityImpactValue in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
      Specified by:
      getAvailabilityImpact in interface CVSSv3OrBuilder
      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.osconfig.v1alpha.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.osconfig.v1alpha.CVSSv3.Impact availability_impact = 12;
      Returns:
      This builder for chaining.