Class VulnerabilityAssessmentNote.Assessment.Remediation (2.21.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
TypeDescription
int

REMEDIATION_TYPE_FIELD_NUMBER

public static final int REMEDIATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

REMEDIATION_URI_FIELD_NUMBER

public static final int REMEDIATION_URI_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityAssessmentNote.Assessment.Remediation getDefaultInstance()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation

getDescriptor()

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

newBuilder()

public static VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

newBuilder(VulnerabilityAssessmentNote.Assessment.Remediation prototype)

public static VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilder(VulnerabilityAssessmentNote.Assessment.Remediation prototype)
Parameter
NameDescription
prototypeVulnerabilityAssessmentNote.Assessment.Remediation
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityAssessmentNote.Assessment.Remediation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getDetails()

public String getDetails()

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Returns
TypeDescription
ByteString

The bytes for details.

getParserForType()

public Parser<VulnerabilityAssessmentNote.Assessment.Remediation> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
RelatedUrl

The remediationUri.

getRemediationUriOrBuilder()

public RelatedUrlOrBuilder getRemediationUriOrBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
TypeDescription
RelatedUrlOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasRemediationUri()

public boolean hasRemediationUri()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
TypeDescription
boolean

Whether the remediationUri field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Assessment.Remediation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder toBuilder()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException