Class VulnerabilityAssessmentNote.Assessment.Remediation.Builder (2.34.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clear()
Returns
TypeDescription
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
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

getRemediationUriBuilder()

public RelatedUrl.Builder getRemediationUriBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
TypeDescription
RelatedUrl.Builder

getRemediationUriOrBuilder()

public RelatedUrlOrBuilder getRemediationUriOrBuilder()

Contains the URL where to obtain the remediation.

.grafeas.v1.RelatedUrl remediation_uri = 3;

Returns
TypeDescription
RelatedUrlOrBuilder

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.

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.Remediation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)
Parameter
NameDescription
otherVulnerabilityAssessmentNote.Assessment.Remediation
Returns
TypeDescription
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
NameDescription
valueRelatedUrl
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The details to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for details to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVulnerabilityAssessmentNote.Assessment.Remediation.RemediationType

The remediationType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueRelatedUrl
Returns
TypeDescription
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
NameDescription
builderForValueRelatedUrl.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityAssessmentNote.Assessment.Remediation.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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