- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityAssessmentNote.Assessment.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<String> The impacts to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.RelatedUrl> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends io.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The impacts to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes of the impacts to add. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | RelatedUrl |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | RelatedUrl |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | VulnerabilityAssessmentNote.Assessment.Remediation |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | VulnerabilityAssessmentNote.Assessment.Remediation.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment.Remediation |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | VulnerabilityAssessmentNote.Assessment.Remediation.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Remediation.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Assessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
build()
public VulnerabilityAssessmentNote.Assessment build()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment |
buildPartial()
public VulnerabilityAssessmentNote.Assessment buildPartial()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment |
clear()
public VulnerabilityAssessmentNote.Assessment.Builder clear()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
clearCve()
public VulnerabilityAssessmentNote.Assessment.Builder clearCve()
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
string cve = 1;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityAssessmentNote.Assessment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
clearImpacts()
public VulnerabilityAssessmentNote.Assessment.Builder clearImpacts()
Contains information about the impact of this vulnerability, this will change with time.
repeated string impacts = 6;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
clearLongDescription()
public VulnerabilityAssessmentNote.Assessment.Builder clearLongDescription()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityAssessmentNote.Assessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
clearShortDescription()
public VulnerabilityAssessmentNote.Assessment.Builder clearShortDescription()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder | This builder for chaining. |
clone()
public VulnerabilityAssessmentNote.Assessment.Builder clone()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
getCve()
public String getCve()
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
string cve = 1;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ByteString | The bytes for cve. |
getDefaultInstanceForType()
public VulnerabilityAssessmentNote.Assessment getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.JustificationOrBuilder |
getLongDescription()
public String getLongDescription()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
String | The longDescription. |
getLongDescriptionBytes()
public ByteString getLongDescriptionBytes()
A detailed description of this Vex.
string long_description = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
List<? extends io.grafeas.v1.VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder> |
getShortDescription()
public String getShortDescription()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
String | The shortDescription. |
getShortDescriptionBytes()
public ByteString getShortDescriptionBytes()
A one sentence description of this Vex.
string short_description = 2;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.State | The state. |
getStateValue()
public int getStateValue()
Provides the state of this Vulnerability assessment.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment.State state = 5;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the justification field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
mergeFrom(VulnerabilityAssessmentNote.Assessment other)
public VulnerabilityAssessmentNote.Assessment.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment other)
Parameter | |
---|---|
Name | Description |
other | VulnerabilityAssessmentNote.Assessment |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment.Justification |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Assessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The cve to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for cve to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityAssessmentNote.Assessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
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 | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The impacts to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment.Justification |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | VulnerabilityAssessmentNote.Assessment.Justification.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
setLongDescription(String value)
public VulnerabilityAssessmentNote.Assessment.Builder setLongDescription(String value)
A detailed description of this Vex.
string long_description = 3;
Parameter | |
---|---|
Name | Description |
value | String The longDescription to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for longDescription to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | RelatedUrl |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | RelatedUrl.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | VulnerabilityAssessmentNote.Assessment.Remediation |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | VulnerabilityAssessmentNote.Assessment.Remediation.Builder |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityAssessmentNote.Assessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |
setShortDescription(String value)
public VulnerabilityAssessmentNote.Assessment.Builder setShortDescription(String value)
A one sentence description of this Vex.
string short_description = 2;
Parameter | |
---|---|
Name | Description |
value | String The shortDescription to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for shortDescription to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VulnerabilityAssessmentNote.Assessment.State The state to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for state to set. |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityAssessmentNote.Assessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VulnerabilityAssessmentNote.Assessment.Builder |