Class VulnerabilityAssessmentNote.Assessment.Justification (2.25.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
TypeDescription
int

JUSTIFICATION_TYPE_FIELD_NUMBER

public static final int JUSTIFICATION_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

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

getDescriptor()

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

newBuilder()

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

newBuilder(VulnerabilityAssessmentNote.Assessment.Justification prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getDetails()

public String getDetails()

Additional details on why this justification was chosen.

string details = 2;

Returns
TypeDescription
String

The details.

getDetailsBytes()

public ByteString getDetailsBytes()

Additional details on why this justification was chosen.

string details = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for justificationType.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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