Class VulnerabilityAssessmentNote.Assessment.Remediation (2.44.0)

public static final class VulnerabilityAssessmentNote.Assessment.Remediation extends GeneratedMessageV3 implements VulnerabilityAssessmentNote.Assessment.RemediationOrBuilder

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

Protobuf type grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityAssessmentNote.Assessment.Remediation

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

REMEDIATION_TYPE_FIELD_NUMBER

public static final int REMEDIATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

REMEDIATION_URI_FIELD_NUMBER

public static final int REMEDIATION_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote.Assessment.Remediation getDefaultInstance()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

newBuilder(VulnerabilityAssessmentNote.Assessment.Remediation prototype)

public static VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilder(VulnerabilityAssessmentNote.Assessment.Remediation prototype)
Parameter
Name Description
prototype VulnerabilityAssessmentNote.Assessment.Remediation
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityAssessmentNote.Assessment.Remediation> parser()
Returns
Type Description
Parser<Remediation>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VulnerabilityAssessmentNote.Assessment.Remediation getDefaultInstanceForType()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation

getDetails()

public String getDetails()

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Returns
Type Description
ByteString

The bytes for details.

getParserForType()

public Parser<VulnerabilityAssessmentNote.Assessment.Remediation> getParserForType()
Returns
Type Description
Parser<Remediation>
Overrides

getRemediationType()

public VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType getRemediationType()

The type of remediation that can be applied.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType remediation_type = 1;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType

The remediationType.

getRemediationTypeValue()

public int getRemediationTypeValue()

The type of remediation that can be applied.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType remediation_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for remediationType.

getRemediationUri()

public RelatedUrl getRemediationUri()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
RelatedUrl

The remediationUri.

getRemediationUriOrBuilder()

public RelatedUrlOrBuilder getRemediationUriOrBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
RelatedUrlOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasRemediationUri()

public boolean hasRemediationUri()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
boolean

Whether the remediationUri field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilderForType()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder toBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException