Class VulnerabilityAssessmentNote.Assessment.Builder (2.18.0)

public static final class VulnerabilityAssessmentNote.Assessment.Builder extends GeneratedMessageV3.Builder<VulnerabilityAssessmentNote.Assessment.Builder> implements VulnerabilityAssessmentNote.AssessmentOrBuilder

Assessment provides all information that is related to a single vulnerability for this product.

Protobuf type grafeas.v1.VulnerabilityAssessmentNote.Assessment

Static Methods

getDescriptor()

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

Methods

addAllImpacts(Iterable<String> values)

public VulnerabilityAssessmentNote.Assessment.Builder addAllImpacts(Iterable<String> values)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameter
NameDescription
valuesIterable<String>

The impacts to add.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

addAllRelatedUris(Iterable<? extends RelatedUrl> values)

public VulnerabilityAssessmentNote.Assessment.Builder addAllRelatedUris(Iterable<? extends RelatedUrl> values)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1.RelatedUrl>
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addAllRemediations(Iterable<? extends VulnerabilityAssessmentNote.Assessment.Remediation> values)

public VulnerabilityAssessmentNote.Assessment.Builder addAllRemediations(Iterable<? extends VulnerabilityAssessmentNote.Assessment.Remediation> values)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation>
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addImpacts(String value)

public VulnerabilityAssessmentNote.Assessment.Builder addImpacts(String value)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameter
NameDescription
valueString

The impacts to add.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

addImpactsBytes(ByteString value)

public VulnerabilityAssessmentNote.Assessment.Builder addImpactsBytes(ByteString value)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameter
NameDescription
valueByteString

The bytes of the impacts to add.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

addRelatedUris(int index, RelatedUrl value)

public VulnerabilityAssessmentNote.Assessment.Builder addRelatedUris(int index, RelatedUrl value)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameters
NameDescription
indexint
valueRelatedUrl
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRelatedUris(int index, RelatedUrl.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder addRelatedUris(int index, RelatedUrl.Builder builderForValue)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameters
NameDescription
indexint
builderForValueRelatedUrl.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRelatedUris(RelatedUrl value)

public VulnerabilityAssessmentNote.Assessment.Builder addRelatedUris(RelatedUrl value)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
valueRelatedUrl
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRelatedUris(RelatedUrl.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder addRelatedUris(RelatedUrl.Builder builderForValue)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
builderForValueRelatedUrl.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRelatedUrisBuilder()

public RelatedUrl.Builder addRelatedUrisBuilder()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
RelatedUrl.Builder

addRelatedUrisBuilder(int index)

public RelatedUrl.Builder addRelatedUrisBuilder(int index)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrl.Builder

addRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation value)

public VulnerabilityAssessmentNote.Assessment.Builder addRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation value)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameters
NameDescription
indexint
valueVulnerabilityAssessmentNote.Assessment.Remediation
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder addRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameters
NameDescription
indexint
builderForValueVulnerabilityAssessmentNote.Assessment.Remediation.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRemediations(VulnerabilityAssessmentNote.Assessment.Remediation value)

public VulnerabilityAssessmentNote.Assessment.Builder addRemediations(VulnerabilityAssessmentNote.Assessment.Remediation value)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
valueVulnerabilityAssessmentNote.Assessment.Remediation
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRemediations(VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder addRemediations(VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
builderForValueVulnerabilityAssessmentNote.Assessment.Remediation.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

addRemediationsBuilder()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder addRemediationsBuilder()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

addRemediationsBuilder(int index)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder addRemediationsBuilder(int index)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VulnerabilityAssessmentNote.Assessment build()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment

buildPartial()

public VulnerabilityAssessmentNote.Assessment buildPartial()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment

clear()

public VulnerabilityAssessmentNote.Assessment.Builder clear()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

clearCve()

public VulnerabilityAssessmentNote.Assessment.Builder clearCve()

Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.

string cve = 1;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityAssessmentNote.Assessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

clearImpacts()

public VulnerabilityAssessmentNote.Assessment.Builder clearImpacts()

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

clearJustification()

public VulnerabilityAssessmentNote.Assessment.Builder clearJustification()

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

clearLongDescription()

public VulnerabilityAssessmentNote.Assessment.Builder clearLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityAssessmentNote.Assessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

clearRelatedUris()

public VulnerabilityAssessmentNote.Assessment.Builder clearRelatedUris()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

clearRemediations()

public VulnerabilityAssessmentNote.Assessment.Builder clearRemediations()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

clearShortDescription()

public VulnerabilityAssessmentNote.Assessment.Builder clearShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

clearState()

public VulnerabilityAssessmentNote.Assessment.Builder clearState()

Provides the state of this Vulnerability assessment.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

clone()

public VulnerabilityAssessmentNote.Assessment.Builder clone()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

getCve()

public String getCve()

Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.

string cve = 1;

Returns
TypeDescription
String

The cve.

getCveBytes()

public ByteString getCveBytes()

Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.

string cve = 1;

Returns
TypeDescription
ByteString

The bytes for cve.

getDefaultInstanceForType()

public VulnerabilityAssessmentNote.Assessment getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getImpacts(int index)

public String getImpacts(int index)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The impacts at the given index.

getImpactsBytes(int index)

public ByteString getImpactsBytes(int index)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the impacts at the given index.

getImpactsCount()

public int getImpactsCount()

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Returns
TypeDescription
int

The count of impacts.

getImpactsList()

public ProtocolStringList getImpactsList()

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Returns
TypeDescription
ProtocolStringList

A list containing the impacts.

getJustification()

public VulnerabilityAssessmentNote.Assessment.Justification getJustification()

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification

The justification.

getJustificationBuilder()

public VulnerabilityAssessmentNote.Assessment.Justification.Builder getJustificationBuilder()

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

getJustificationOrBuilder()

public VulnerabilityAssessmentNote.Assessment.JustificationOrBuilder getJustificationOrBuilder()

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.JustificationOrBuilder

getLongDescription()

public String getLongDescription()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
String

The longDescription.

getLongDescriptionBytes()

public ByteString getLongDescriptionBytes()

A detailed description of this Vex.

string long_description = 3;

Returns
TypeDescription
ByteString

The bytes for longDescription.

getRelatedUris(int index)

public RelatedUrl getRelatedUris(int index)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrl

getRelatedUrisBuilder(int index)

public RelatedUrl.Builder getRelatedUrisBuilder(int index)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrl.Builder

getRelatedUrisBuilderList()

public List<RelatedUrl.Builder> getRelatedUrisBuilderList()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
List<Builder>

getRelatedUrisCount()

public int getRelatedUrisCount()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
int

getRelatedUrisList()

public List<RelatedUrl> getRelatedUrisList()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
List<RelatedUrl>

getRelatedUrisOrBuilder(int index)

public RelatedUrlOrBuilder getRelatedUrisOrBuilder(int index)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
RelatedUrlOrBuilder

getRelatedUrisOrBuilderList()

public List<? extends RelatedUrlOrBuilder> getRelatedUrisOrBuilderList()

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Returns
TypeDescription
List<? extends io.grafeas.v1.RelatedUrlOrBuilder>

getRemediations(int index)

public VulnerabilityAssessmentNote.Assessment.Remediation getRemediations(int index)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation

getRemediationsBuilder(int index)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder getRemediationsBuilder(int index)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

getRemediationsBuilderList()

public List<VulnerabilityAssessmentNote.Assessment.Remediation.Builder> getRemediationsBuilderList()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
List<Builder>

getRemediationsCount()

public int getRemediationsCount()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
int

getRemediationsList()

public List<VulnerabilityAssessmentNote.Assessment.Remediation> getRemediationsList()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
List<Remediation>

getRemediationsOrBuilder(int index)

public VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder getRemediationsOrBuilder(int index)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder

getRemediationsOrBuilderList()

public List<? extends VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder> getRemediationsOrBuilderList()

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Returns
TypeDescription
List<? extends io.grafeas.v1.VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder>

getShortDescription()

public String getShortDescription()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
String

The shortDescription.

getShortDescriptionBytes()

public ByteString getShortDescriptionBytes()

A one sentence description of this Vex.

string short_description = 2;

Returns
TypeDescription
ByteString

The bytes for shortDescription.

getState()

public VulnerabilityAssessmentNote.Assessment.State getState()

Provides the state of this Vulnerability assessment.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.State

The state.

getStateValue()

public int getStateValue()

Provides the state of this Vulnerability assessment.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

hasJustification()

public boolean hasJustification()

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Returns
TypeDescription
boolean

Whether the justification field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

mergeFrom(VulnerabilityAssessmentNote.Assessment other)

public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment other)
Parameter
NameDescription
otherVulnerabilityAssessmentNote.Assessment
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

mergeJustification(VulnerabilityAssessmentNote.Assessment.Justification value)

public VulnerabilityAssessmentNote.Assessment.Builder mergeJustification(VulnerabilityAssessmentNote.Assessment.Justification value)

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Parameter
NameDescription
valueVulnerabilityAssessmentNote.Assessment.Justification
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

removeRelatedUris(int index)

public VulnerabilityAssessmentNote.Assessment.Builder removeRelatedUris(int index)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

removeRemediations(int index)

public VulnerabilityAssessmentNote.Assessment.Builder removeRemediations(int index)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setCve(String value)

public VulnerabilityAssessmentNote.Assessment.Builder setCve(String value)

Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.

string cve = 1;

Parameter
NameDescription
valueString

The cve to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setCveBytes(ByteString value)

public VulnerabilityAssessmentNote.Assessment.Builder setCveBytes(ByteString value)

Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.

string cve = 1;

Parameter
NameDescription
valueByteString

The bytes for cve to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Assessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

setImpacts(int index, String value)

public VulnerabilityAssessmentNote.Assessment.Builder setImpacts(int index, String value)

Contains information about the impact of this vulnerability, this will change with time.

repeated string impacts = 6;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The impacts to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setJustification(VulnerabilityAssessmentNote.Assessment.Justification value)

public VulnerabilityAssessmentNote.Assessment.Builder setJustification(VulnerabilityAssessmentNote.Assessment.Justification value)

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Parameter
NameDescription
valueVulnerabilityAssessmentNote.Assessment.Justification
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setJustification(VulnerabilityAssessmentNote.Assessment.Justification.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder setJustification(VulnerabilityAssessmentNote.Assessment.Justification.Builder builderForValue)

Justification provides the justification when the state of the assessment if NOT_AFFECTED.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification justification = 7;

Parameter
NameDescription
builderForValueVulnerabilityAssessmentNote.Assessment.Justification.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setLongDescription(String value)

public VulnerabilityAssessmentNote.Assessment.Builder setLongDescription(String value)

A detailed description of this Vex.

string long_description = 3;

Parameter
NameDescription
valueString

The longDescription to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setLongDescriptionBytes(ByteString value)

public VulnerabilityAssessmentNote.Assessment.Builder setLongDescriptionBytes(ByteString value)

A detailed description of this Vex.

string long_description = 3;

Parameter
NameDescription
valueByteString

The bytes for longDescription to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setRelatedUris(int index, RelatedUrl value)

public VulnerabilityAssessmentNote.Assessment.Builder setRelatedUris(int index, RelatedUrl value)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameters
NameDescription
indexint
valueRelatedUrl
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setRelatedUris(int index, RelatedUrl.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder setRelatedUris(int index, RelatedUrl.Builder builderForValue)

Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.

repeated .grafeas.v1.RelatedUrl related_uris = 4;

Parameters
NameDescription
indexint
builderForValueRelatedUrl.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation value)

public VulnerabilityAssessmentNote.Assessment.Builder setRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation value)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameters
NameDescription
indexint
valueVulnerabilityAssessmentNote.Assessment.Remediation
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Builder setRemediations(int index, VulnerabilityAssessmentNote.Assessment.Remediation.Builder builderForValue)

Specifies details on how to handle (and presumably, fix) a vulnerability.

repeated .grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation remediations = 8;

Parameters
NameDescription
indexint
builderForValueVulnerabilityAssessmentNote.Assessment.Remediation.Builder
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VulnerabilityAssessmentNote.Assessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides

setShortDescription(String value)

public VulnerabilityAssessmentNote.Assessment.Builder setShortDescription(String value)

A one sentence description of this Vex.

string short_description = 2;

Parameter
NameDescription
valueString

The shortDescription to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setShortDescriptionBytes(ByteString value)

public VulnerabilityAssessmentNote.Assessment.Builder setShortDescriptionBytes(ByteString value)

A one sentence description of this Vex.

string short_description = 2;

Parameter
NameDescription
valueByteString

The bytes for shortDescription to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setState(VulnerabilityAssessmentNote.Assessment.State value)

public VulnerabilityAssessmentNote.Assessment.Builder setState(VulnerabilityAssessmentNote.Assessment.State value)

Provides the state of this Vulnerability assessment.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;

Parameter
NameDescription
valueVulnerabilityAssessmentNote.Assessment.State

The state to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setStateValue(int value)

public VulnerabilityAssessmentNote.Assessment.Builder setStateValue(int value)

Provides the state of this Vulnerability assessment.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Builder
Overrides