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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation build()
public VulnerabilityAssessmentNote.Assessment.Remediation buildPartial()
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clear()
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearDetails()
Contains a comprehensive human-readable discussion of the remediation.
string details = 2;
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearRemediationType()
The type of remediation that can be applied.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType remediation_type = 1;
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clearRemediationUri()
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder clone()
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public String getDetails()
Contains a comprehensive human-readable discussion of the remediation.
string details = 2;
Returns |
Type |
Description |
String |
The details.
|
public ByteString getDetailsBytes()
Contains a comprehensive human-readable discussion of the remediation.
string details = 2;
Returns |
Type |
Description |
ByteString |
The bytes for details.
|
public VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType getRemediationType()
The type of remediation that can be applied.
.grafeas.v1.VulnerabilityAssessmentNote.Assessment.Remediation.RemediationType remediation_type = 1;
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.
|
public RelatedUrl getRemediationUri()
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
Returns |
Type |
Description |
RelatedUrl |
The remediationUri.
|
public RelatedUrl.Builder getRemediationUriBuilder()
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
public RelatedUrlOrBuilder getRemediationUriOrBuilder()
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeFrom(VulnerabilityAssessmentNote.Assessment.Remediation other)
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeRemediationUri(RelatedUrl value)
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
public final VulnerabilityAssessmentNote.Assessment.Remediation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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.
|
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.
|
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
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.
|
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationUri(RelatedUrl value)
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRemediationUri(RelatedUrl.Builder builderForValue)
Contains the URL where to obtain the remediation.
.grafeas.v1.RelatedUrl remediation_uri = 3;
public VulnerabilityAssessmentNote.Assessment.Remediation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final VulnerabilityAssessmentNote.Assessment.Remediation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides