Class VulnerabilityAssessmentNote.Assessment.Remediation.Builder (2.52.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

build()

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

buildPartial()

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

clear()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clear()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

clearDetails()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearDetails()

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

clearRemediationType()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearRemediationType()

The type of remediation that can be applied.

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

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

clearRemediationUri()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearRemediationUri()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

clone()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clone()
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

getRemediationUriBuilder()

public RelatedUrl.Builder getRemediationUriBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
RelatedUrl.Builder

getRemediationUriOrBuilder()

public RelatedUrlOrBuilder getRemediationUriOrBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
Type Description
RelatedUrlOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)
Parameter
Name Description
other VulnerabilityAssessmentNote.Assessment.Remediation
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

mergeRemediationUri(RelatedUrl value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeRemediationUri(RelatedUrl value)

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Parameter
Name Description
value RelatedUrl
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

setDetails(String value)

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

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Parameter
Name Description
value String

The details to set.

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

setDetailsBytes(ByteString value)

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

Contains a comprehensive human-readable discussion of the remediation.

string details = 2;

Parameter
Name Description
value ByteString

The bytes for details to set.

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

setRemediationType(VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationType(VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType value)

The type of remediation that can be applied.

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

Parameter
Name Description
value VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType

The remediationType to set.

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

setRemediationTypeValue(int value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationTypeValue(int value)

The type of remediation that can be applied.

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

Parameter
Name Description
value int

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

Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

setRemediationUri(RelatedUrl value)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationUri(RelatedUrl value)

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Parameter
Name Description
value RelatedUrl
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

setRemediationUri(RelatedUrl.Builder builderForValue)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationUri(RelatedUrl.Builder builderForValue)

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Parameter
Name Description
builderForValue RelatedUrl.Builder
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

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

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Remediation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides