public static final class PackageIssue.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder> implements PackageIssueOrBuilder
This message wraps a location affected by a vulnerability and its associated fix (if one is available).Protobuf type
grafeas.v1beta1.vulnerability.PackageIssue| Modifier and Type | Method and Description |
|---|---|
PackageIssue.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PackageIssue |
build() |
PackageIssue |
buildPartial() |
PackageIssue.Builder |
clear() |
PackageIssue.Builder |
clearAffectedLocation()
The location of the vulnerability.
|
PackageIssue.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PackageIssue.Builder |
clearFixedLocation()
The location of the available fix for vulnerability.
|
PackageIssue.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PackageIssue.Builder |
clearSeverityName()
The severity (e.g., distro assigned severity) for this vulnerability.
|
PackageIssue.Builder |
clone() |
VulnerabilityLocation |
getAffectedLocation()
The location of the vulnerability.
|
VulnerabilityLocation.Builder |
getAffectedLocationBuilder()
The location of the vulnerability.
|
VulnerabilityLocationOrBuilder |
getAffectedLocationOrBuilder()
The location of the vulnerability.
|
PackageIssue |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
VulnerabilityLocation |
getFixedLocation()
The location of the available fix for vulnerability.
|
VulnerabilityLocation.Builder |
getFixedLocationBuilder()
The location of the available fix for vulnerability.
|
VulnerabilityLocationOrBuilder |
getFixedLocationOrBuilder()
The location of the available fix for vulnerability.
|
String |
getSeverityName()
The severity (e.g., distro assigned severity) for this vulnerability.
|
com.google.protobuf.ByteString |
getSeverityNameBytes()
The severity (e.g., distro assigned severity) for this vulnerability.
|
boolean |
hasAffectedLocation()
The location of the vulnerability.
|
boolean |
hasFixedLocation()
The location of the available fix for vulnerability.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PackageIssue.Builder |
mergeAffectedLocation(VulnerabilityLocation value)
The location of the vulnerability.
|
PackageIssue.Builder |
mergeFixedLocation(VulnerabilityLocation value)
The location of the available fix for vulnerability.
|
PackageIssue.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PackageIssue.Builder |
mergeFrom(com.google.protobuf.Message other) |
PackageIssue.Builder |
mergeFrom(PackageIssue other) |
PackageIssue.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PackageIssue.Builder |
setAffectedLocation(VulnerabilityLocation.Builder builderForValue)
The location of the vulnerability.
|
PackageIssue.Builder |
setAffectedLocation(VulnerabilityLocation value)
The location of the vulnerability.
|
PackageIssue.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PackageIssue.Builder |
setFixedLocation(VulnerabilityLocation.Builder builderForValue)
The location of the available fix for vulnerability.
|
PackageIssue.Builder |
setFixedLocation(VulnerabilityLocation value)
The location of the available fix for vulnerability.
|
PackageIssue.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PackageIssue.Builder |
setSeverityName(String value)
The severity (e.g., distro assigned severity) for this vulnerability.
|
PackageIssue.Builder |
setSeverityNameBytes(com.google.protobuf.ByteString value)
The severity (e.g., distro assigned severity) for this vulnerability.
|
PackageIssue.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PackageIssue build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PackageIssue buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PackageIssue.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PackageIssue.Builder>public PackageIssue.Builder mergeFrom(PackageIssue other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public PackageIssue.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PackageIssue.Builder>IOExceptionpublic boolean hasAffectedLocation()
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;hasAffectedLocation in interface PackageIssueOrBuilderpublic VulnerabilityLocation getAffectedLocation()
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;getAffectedLocation in interface PackageIssueOrBuilderpublic PackageIssue.Builder setAffectedLocation(VulnerabilityLocation value)
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;public PackageIssue.Builder setAffectedLocation(VulnerabilityLocation.Builder builderForValue)
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;public PackageIssue.Builder mergeAffectedLocation(VulnerabilityLocation value)
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;public PackageIssue.Builder clearAffectedLocation()
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;public VulnerabilityLocation.Builder getAffectedLocationBuilder()
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;public VulnerabilityLocationOrBuilder getAffectedLocationOrBuilder()
The location of the vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation affected_location = 1;getAffectedLocationOrBuilder in interface PackageIssueOrBuilderpublic boolean hasFixedLocation()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;hasFixedLocation in interface PackageIssueOrBuilderpublic VulnerabilityLocation getFixedLocation()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;getFixedLocation in interface PackageIssueOrBuilderpublic PackageIssue.Builder setFixedLocation(VulnerabilityLocation value)
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;public PackageIssue.Builder setFixedLocation(VulnerabilityLocation.Builder builderForValue)
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;public PackageIssue.Builder mergeFixedLocation(VulnerabilityLocation value)
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;public PackageIssue.Builder clearFixedLocation()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;public VulnerabilityLocation.Builder getFixedLocationBuilder()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;public VulnerabilityLocationOrBuilder getFixedLocationOrBuilder()
The location of the available fix for vulnerability.
.grafeas.v1beta1.vulnerability.VulnerabilityLocation fixed_location = 2;getFixedLocationOrBuilder in interface PackageIssueOrBuilderpublic String getSeverityName()
The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;getSeverityName in interface PackageIssueOrBuilderpublic com.google.protobuf.ByteString getSeverityNameBytes()
The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;getSeverityNameBytes in interface PackageIssueOrBuilderpublic PackageIssue.Builder setSeverityName(String value)
The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;public PackageIssue.Builder clearSeverityName()
The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;public PackageIssue.Builder setSeverityNameBytes(com.google.protobuf.ByteString value)
The severity (e.g., distro assigned severity) for this vulnerability.
string severity_name = 3;public final PackageIssue.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>public final PackageIssue.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PackageIssue.Builder>Copyright © 2019 Google LLC. All rights reserved.