Package io.grafeas.v1beta1.vulnerability
Class Details
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.grafeas.v1beta1.vulnerability.Details
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DetailsOrBuilder,Serializable
public final class Details extends com.google.protobuf.GeneratedMessageV3 implements DetailsOrBuilder
Details of a vulnerability Occurrence.
Protobuf typegrafeas.v1beta1.vulnerability.Details- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDetails.BuilderDetails of a vulnerability Occurrence.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCVSS_SCORE_FIELD_NUMBERstatic intEFFECTIVE_SEVERITY_FIELD_NUMBERstatic intLONG_DESCRIPTION_FIELD_NUMBERstatic intPACKAGE_ISSUE_FIELD_NUMBERstatic intRELATED_URLS_FIELD_NUMBERstatic intSEVERITY_FIELD_NUMBERstatic intSHORT_DESCRIPTION_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)floatgetCvssScore()Output only.static DetailsgetDefaultInstance()DetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()SeveritygetEffectiveSeverity()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.intgetEffectiveSeverityValue()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.StringgetLongDescription()Output only.com.google.protobuf.ByteStringgetLongDescriptionBytes()Output only.PackageIssuegetPackageIssue(int index)Required.intgetPackageIssueCount()Required.List<PackageIssue>getPackageIssueList()Required.PackageIssueOrBuildergetPackageIssueOrBuilder(int index)Required.List<? extends PackageIssueOrBuilder>getPackageIssueOrBuilderList()Required.com.google.protobuf.Parser<Details>getParserForType()RelatedUrlgetRelatedUrls(int index)Output only.intgetRelatedUrlsCount()Output only.List<RelatedUrl>getRelatedUrlsList()Output only.RelatedUrlOrBuildergetRelatedUrlsOrBuilder(int index)Output only.List<? extends RelatedUrlOrBuilder>getRelatedUrlsOrBuilderList()Output only.intgetSerializedSize()SeveritygetSeverity()Output only.intgetSeverityValue()Output only.StringgetShortDescription()Output only.com.google.protobuf.ByteStringgetShortDescriptionBytes()Output only.StringgetType()The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.ByteStringgetTypeBytes()The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Details.BuildernewBuilder()static Details.BuildernewBuilder(Details prototype)Details.BuildernewBuilderForType()protected Details.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DetailsparseDelimitedFrom(InputStream input)static DetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DetailsparseFrom(byte[] data)static DetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DetailsparseFrom(com.google.protobuf.ByteString data)static DetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DetailsparseFrom(com.google.protobuf.CodedInputStream input)static DetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DetailsparseFrom(InputStream input)static DetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DetailsparseFrom(ByteBuffer data)static DetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Details>parser()Details.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CVSS_SCORE_FIELD_NUMBER
public static final int CVSS_SCORE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PACKAGE_ISSUE_FIELD_NUMBER
public static final int PACKAGE_ISSUE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SHORT_DESCRIPTION_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LONG_DESCRIPTION_FIELD_NUMBER
public static final int LONG_DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RELATED_URLS_FIELD_NUMBER
public static final int RELATED_URLS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EFFECTIVE_SEVERITY_FIELD_NUMBER
public static final int EFFECTIVE_SEVERITY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getType
public String 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.
-
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.
-
getSeverity
public Severity getSeverity()
Output only. The note provider assigned Severity of the vulnerability.
.grafeas.v1beta1.vulnerability.Severity severity = 2;- Specified by:
getSeverityin interfaceDetailsOrBuilder- Returns:
- The severity.
-
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.
-
getPackageIssueList
public List<PackageIssue> 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
-
getPackageIssueOrBuilderList
public List<? extends PackageIssueOrBuilder> 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
-
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
public PackageIssue getPackageIssue(int index)
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
-
getPackageIssueOrBuilder
public PackageIssueOrBuilder getPackageIssueOrBuilder(int index)
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
-
getShortDescription
public String 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.
-
getLongDescription
public String 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.
-
getRelatedUrlsList
public List<RelatedUrl> getRelatedUrlsList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsListin interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilderList
public List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsOrBuilderListin interfaceDetailsOrBuilder
-
getRelatedUrlsCount
public int getRelatedUrlsCount()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsCountin interfaceDetailsOrBuilder
-
getRelatedUrls
public RelatedUrl getRelatedUrls(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsin interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilder
public RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsOrBuilderin interfaceDetailsOrBuilder
-
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.
-
getEffectiveSeverity
public Severity 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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Details parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Details parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Details parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Details parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Details parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Details parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Details parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Details.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Details.Builder newBuilder()
-
newBuilder
public static Details.Builder newBuilder(Details prototype)
-
toBuilder
public Details.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Details.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Details getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Details> parser()
-
getParserForType
public com.google.protobuf.Parser<Details> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Details getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-