Package io.grafeas.v1beta1.vulnerability
Class Details
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class Details
extends com.google.protobuf.GeneratedMessage
implements DetailsOrBuilder
Details of a vulnerability Occurrence.Protobuf type
grafeas.v1beta1.vulnerability.Details- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDetails of a vulnerability Occurrence.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatOutput only.static Detailsstatic final com.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.intRequired.Required.getPackageIssueOrBuilder(int index) Required.List<? extends PackageIssueOrBuilder>Required.com.google.protobuf.Parser<Details>getRelatedUrls(int index) Output only.intOutput only.Output only.getRelatedUrlsOrBuilder(int index) Output only.List<? extends RelatedUrlOrBuilder>Output only.intOutput 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)inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Details.Builderstatic Details.BuildernewBuilder(Details prototype) protected Details.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER- See Also:
-
SEVERITY_FIELD_NUMBER
public static final int SEVERITY_FIELD_NUMBER- See Also:
-
CVSS_SCORE_FIELD_NUMBER
public static final int CVSS_SCORE_FIELD_NUMBER- See Also:
-
PACKAGE_ISSUE_FIELD_NUMBER
public static final int PACKAGE_ISSUE_FIELD_NUMBER- See Also:
-
SHORT_DESCRIPTION_FIELD_NUMBER
public static final int SHORT_DESCRIPTION_FIELD_NUMBER- See Also:
-
LONG_DESCRIPTION_FIELD_NUMBER
public static final int LONG_DESCRIPTION_FIELD_NUMBER- See Also:
-
RELATED_URLS_FIELD_NUMBER
public static final int RELATED_URLS_FIELD_NUMBER- See Also:
-
EFFECTIVE_SEVERITY_FIELD_NUMBER
public static final int EFFECTIVE_SEVERITY_FIELD_NUMBER- See Also:
-
-
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
-
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
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
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
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
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
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
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
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
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsListin interfaceDetailsOrBuilder
-
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
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;- Specified by:
getRelatedUrlsin interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilder
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static Details parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Details parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Details parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Details.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-