Class VulnerabilityAssessmentNote.Assessment.Justification (2.50.0)

public static final class VulnerabilityAssessmentNote.Assessment.Justification extends GeneratedMessageV3 implements VulnerabilityAssessmentNote.Assessment.JustificationOrBuilder

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

Protobuf type grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification

Inheritance

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

Static Fields

DETAILS_FIELD_NUMBER

public static final int DETAILS_FIELD_NUMBER
Field Value
Type Description
int

JUSTIFICATION_TYPE_FIELD_NUMBER

public static final int JUSTIFICATION_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(VulnerabilityAssessmentNote.Assessment.Justification prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDetails()

public String getDetails()

Additional details on why this justification was chosen.

string details = 2;

Returns
Type Description
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Additional details on why this justification was chosen.

string details = 2;

Returns
Type Description
ByteString

The bytes for details.

getJustificationType()

public VulnerabilityAssessmentNote.Assessment.Justification.JustificationType getJustificationType()

The justification type for this vulnerability.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification.JustificationType justification_type = 1;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Justification.JustificationType

The justificationType.

getJustificationTypeValue()

public int getJustificationTypeValue()

The justification type for this vulnerability.

.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Justification.JustificationType justification_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for justificationType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.Justification.Builder newBuilderForType()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Justification.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityAssessmentNote.Assessment.Justification.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Justification.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.Justification.Builder toBuilder()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Justification.Builder

writeTo(CodedOutputStream output)

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