Class VulnerabilityAssessmentNote.Assessment.Justification.Builder (2.28.0)

public static final class VulnerabilityAssessmentNote.Assessment.Justification.Builder extends GeneratedMessageV3.Builder<VulnerabilityAssessmentNote.Assessment.Justification.Builder> 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VulnerabilityAssessmentNote.Assessment.Justification.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

build()

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

buildPartial()

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

clear()

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clear()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

clearDetails()

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clearDetails()

Additional details on why this justification was chosen.

string details = 2;

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

clearJustificationType()

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clearJustificationType()

The justification type for this vulnerability.

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

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

clone()

public VulnerabilityAssessmentNote.Assessment.Justification.Builder clone()
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

mergeFrom(VulnerabilityAssessmentNote.Assessment.Justification other)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment.Justification other)
Parameter
NameDescription
otherVulnerabilityAssessmentNote.Assessment.Justification
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Justification.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

setDetails(String value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setDetails(String value)

Additional details on why this justification was chosen.

string details = 2;

Parameter
NameDescription
valueString

The details to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setDetailsBytes(ByteString value)

Additional details on why this justification was chosen.

string details = 2;

Parameter
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

setJustificationType(VulnerabilityAssessmentNote.Assessment.Justification.JustificationType value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setJustificationType(VulnerabilityAssessmentNote.Assessment.Justification.JustificationType value)

The justification type for this vulnerability.

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

Parameter
NameDescription
valueVulnerabilityAssessmentNote.Assessment.Justification.JustificationType

The justificationType to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

setJustificationTypeValue(int value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setJustificationTypeValue(int value)

The justification type for this vulnerability.

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

Parameter
NameDescription
valueint

The enum numeric value on the wire for justificationType to set.

Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VulnerabilityAssessmentNote.Assessment.Justification.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Justification.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Justification.Builder
Overrides