Class VulnerabilityAssessmentNote.Assessment.Remediation.Builder (2.18.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public VulnerabilityAssessmentNote.Assessment.Remediation build()

buildPartial()

public VulnerabilityAssessmentNote.Assessment.Remediation buildPartial()

clear()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public VulnerabilityAssessmentNote.Assessment.Remediation getDefaultInstanceForType()

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;

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
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)

public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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