Package io.grafeas.v1beta1.vulnerability
Class Details.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Details.Builder>
io.grafeas.v1beta1.vulnerability.Details.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DetailsOrBuilder,Cloneable
- Enclosing class:
- Details
public static final class Details.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Details.Builder>
implements DetailsOrBuilder
Details of a vulnerability Occurrence.Protobuf type
grafeas.v1beta1.vulnerability.Details-
Method Summary
Modifier and TypeMethodDescriptionaddAllPackageIssue(Iterable<? extends PackageIssue> values) Required.addAllRelatedUrls(Iterable<? extends RelatedUrl> values) Output only.addPackageIssue(int index, PackageIssue value) Required.addPackageIssue(int index, PackageIssue.Builder builderForValue) Required.addPackageIssue(PackageIssue value) Required.addPackageIssue(PackageIssue.Builder builderForValue) Required.Required.addPackageIssueBuilder(int index) Required.addRelatedUrls(int index, RelatedUrl value) Output only.addRelatedUrls(int index, RelatedUrl.Builder builderForValue) Output only.addRelatedUrls(RelatedUrl value) Output only.addRelatedUrls(RelatedUrl.Builder builderForValue) Output only.Output only.addRelatedUrlsBuilder(int index) Output only.build()clear()Output only.The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.Output only.Required.Output only.Output only.Output only.The type of package; whether native or non native(ruby gems, node.js packages etc)floatOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.intThe distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.Output only.com.google.protobuf.ByteStringOutput only.getPackageIssue(int index) Required.getPackageIssueBuilder(int index) Required.Required.intRequired.Required.getPackageIssueOrBuilder(int index) Required.List<? extends PackageIssueOrBuilder>Required.getRelatedUrls(int index) Output only.getRelatedUrlsBuilder(int index) Output only.Output only.intOutput only.Output only.getRelatedUrlsOrBuilder(int index) Output only.List<? extends RelatedUrlOrBuilder>Output only.Output only.intOutput only.Output only.com.google.protobuf.ByteStringOutput only.getType()The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.ByteStringThe type of package; whether native or non native(ruby gems, node.js packages etc)protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removePackageIssue(int index) Required.removeRelatedUrls(int index) Output only.setCvssScore(float value) Output only.setEffectiveSeverity(Severity value) The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.setEffectiveSeverityValue(int value) The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.setLongDescription(String value) Output only.setLongDescriptionBytes(com.google.protobuf.ByteString value) Output only.setPackageIssue(int index, PackageIssue value) Required.setPackageIssue(int index, PackageIssue.Builder builderForValue) Required.setRelatedUrls(int index, RelatedUrl value) Output only.setRelatedUrls(int index, RelatedUrl.Builder builderForValue) Output only.setSeverity(Severity value) Output only.setSeverityValue(int value) Output only.setShortDescription(String value) Output only.setShortDescriptionBytes(com.google.protobuf.ByteString value) Output only.The type of package; whether native or non native(ruby gems, node.js packages etc)setTypeBytes(com.google.protobuf.ByteString value) The type of package; whether native or non native(ruby gems, node.js packages etc)Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Details.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Details.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Details.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Details.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Details.Builder>
-
mergeFrom
public Details.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Details.Builder>- Throws:
IOException
-
getType
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Specified by:
getTypein interfaceDetailsOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Specified by:
getTypeBytesin interfaceDetailsOrBuilder- Returns:
- The bytes for type.
-
setType
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Returns:
- This builder for chaining.
-
setTypeBytes
The type of package; whether native or non native(ruby gems, node.js packages etc)
string type = 1;- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
getSeverityValue
public int getSeverityValue()Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Specified by:
getSeverityValuein interfaceDetailsOrBuilder- Returns:
- The enum numeric value on the wire for severity.
-
setSeverityValue
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Parameters:
value- The enum numeric value on the wire for severity to set.- Returns:
- This builder for chaining.
-
getSeverity
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Specified by:
getSeverityin interfaceDetailsOrBuilder- Returns:
- The severity.
-
setSeverity
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Parameters:
value- The severity to set.- Returns:
- This builder for chaining.
-
clearSeverity
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Returns:
- This builder for chaining.
-
getCvssScore
public float getCvssScore()Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 3;- Specified by:
getCvssScorein interfaceDetailsOrBuilder- Returns:
- The cvssScore.
-
setCvssScore
Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 3;- Parameters:
value- The cvssScore to set.- Returns:
- This builder for chaining.
-
clearCvssScore
Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
float cvss_score = 3;- Returns:
- This builder for chaining.
-
getPackageIssueList
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;- Specified by:
getPackageIssueListin interfaceDetailsOrBuilder
-
getPackageIssueCount
public int getPackageIssueCount()Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;- Specified by:
getPackageIssueCountin interfaceDetailsOrBuilder
-
getPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;- Specified by:
getPackageIssuein interfaceDetailsOrBuilder
-
setPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
setPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addAllPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
clearPackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
removePackageIssue
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueBuilder
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueOrBuilder
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;- Specified by:
getPackageIssueOrBuilderin interfaceDetailsOrBuilder
-
getPackageIssueOrBuilderList
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4;- Specified by:
getPackageIssueOrBuilderListin interfaceDetailsOrBuilder
-
addPackageIssueBuilder
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
addPackageIssueBuilder
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getPackageIssueBuilderList
Required. The set of affected locations and their fixes (if available) within the associated resource.
repeated .grafeas.v1beta1.vulnerability.PackageIssue package_issue = 4; -
getShortDescription
Output only. A one sentence description of this vulnerability.
string short_description = 5;- Specified by:
getShortDescriptionin interfaceDetailsOrBuilder- Returns:
- The shortDescription.
-
getShortDescriptionBytes
public com.google.protobuf.ByteString getShortDescriptionBytes()Output only. A one sentence description of this vulnerability.
string short_description = 5;- Specified by:
getShortDescriptionBytesin interfaceDetailsOrBuilder- Returns:
- The bytes for shortDescription.
-
setShortDescription
Output only. A one sentence description of this vulnerability.
string short_description = 5;- Parameters:
value- The shortDescription to set.- Returns:
- This builder for chaining.
-
clearShortDescription
Output only. A one sentence description of this vulnerability.
string short_description = 5;- Returns:
- This builder for chaining.
-
setShortDescriptionBytes
Output only. A one sentence description of this vulnerability.
string short_description = 5;- Parameters:
value- The bytes for shortDescription to set.- Returns:
- This builder for chaining.
-
getLongDescription
Output only. A detailed description of this vulnerability.
string long_description = 6;- Specified by:
getLongDescriptionin interfaceDetailsOrBuilder- Returns:
- The longDescription.
-
getLongDescriptionBytes
public com.google.protobuf.ByteString getLongDescriptionBytes()Output only. A detailed description of this vulnerability.
string long_description = 6;- Specified by:
getLongDescriptionBytesin interfaceDetailsOrBuilder- Returns:
- The bytes for longDescription.
-
setLongDescription
Output only. A detailed description of this vulnerability.
string long_description = 6;- Parameters:
value- The longDescription to set.- Returns:
- This builder for chaining.
-
clearLongDescription
Output only. A detailed description of this vulnerability.
string long_description = 6;- Returns:
- This builder for chaining.
-
setLongDescriptionBytes
Output only. A detailed description of this vulnerability.
string long_description = 6;- Parameters:
value- The bytes for longDescription to set.- Returns:
- This builder for chaining.
-
getRelatedUrlsList
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsListin interfaceDetailsOrBuilder
-
getRelatedUrlsCount
public int getRelatedUrlsCount()Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsCountin interfaceDetailsOrBuilder
-
getRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsin interfaceDetailsOrBuilder
-
setRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
setRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addAllRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
clearRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
removeRelatedUrls
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsBuilder
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsOrBuilder
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsOrBuilderin interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilderList
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsOrBuilderListin interfaceDetailsOrBuilder
-
addRelatedUrlsBuilder
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
addRelatedUrlsBuilder
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getRelatedUrlsBuilderList
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7; -
getEffectiveSeverityValue
public int getEffectiveSeverityValue()The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Specified by:
getEffectiveSeverityValuein interfaceDetailsOrBuilder- Returns:
- The enum numeric value on the wire for effectiveSeverity.
-
setEffectiveSeverityValue
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Parameters:
value- The enum numeric value on the wire for effectiveSeverity to set.- Returns:
- This builder for chaining.
-
getEffectiveSeverity
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Specified by:
getEffectiveSeverityin interfaceDetailsOrBuilder- Returns:
- The effectiveSeverity.
-
setEffectiveSeverity
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Parameters:
value- The effectiveSeverity to set.- Returns:
- This builder for chaining.
-
clearEffectiveSeverity
The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
.grafeas.v1beta1.vulnerability.Severity effective_severity = 8;- Returns:
- This builder for chaining.
-