Class CVSS.Builder (2.37.0)

public static final class CVSS.Builder extends GeneratedMessageV3.Builder<CVSS.Builder> implements CVSSOrBuilder

Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.

Protobuf type grafeas.v1.CVSS

Implements

CVSSOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CVSS.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CVSS.Builder
Overrides

build()

public CVSS build()
Returns
TypeDescription
CVSS

buildPartial()

public CVSS buildPartial()
Returns
TypeDescription
CVSS

clear()

public CVSS.Builder clear()
Returns
TypeDescription
CVSS.Builder
Overrides

clearAttackComplexity()

public CVSS.Builder clearAttackComplexity()

.grafeas.v1.CVSS.AttackComplexity attack_complexity = 5;

Returns
TypeDescription
CVSS.Builder

This builder for chaining.

clearAttackVector()

public CVSS.Builder clearAttackVector()

Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.

.grafeas.v1.CVSS.AttackVector attack_vector = 4;

Returns
TypeDescription
CVSS.Builder

This builder for chaining.

clearAuthentication()

public CVSS.Builder clearAuthentication()

.grafeas.v1.CVSS.Authentication authenticat