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 class
Details.Builder
Details 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 int
CVSS_SCORE_FIELD_NUMBER
static int
EFFECTIVE_SEVERITY_FIELD_NUMBER
static int
LONG_DESCRIPTION_FIELD_NUMBER
static int
PACKAGE_ISSUE_FIELD_NUMBER
static int
RELATED_URLS_FIELD_NUMBER
static int
SEVERITY_FIELD_NUMBER
static int
SHORT_DESCRIPTION_FIELD_NUMBER
static int
TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
float
getCvssScore()
Output only.static Details
getDefaultInstance()
Details
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.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.String
getLongDescription()
Output only.com.google.protobuf.ByteString
getLongDescriptionBytes()
Output only.PackageIssue
getPackageIssue(int index)
Required.int
getPackageIssueCount()
Required.List<PackageIssue>
getPackageIssueList()
Required.PackageIssueOrBuilder
getPackageIssueOrBuilder(int index)
Required.List<? extends PackageIssueOrBuilder>
getPackageIssueOrBuilderList()
Required.com.google.protobuf.Parser<Details>
getParserForType()
RelatedUrl
getRelatedUrls(int index)
Output only.int
getRelatedUrlsCount()
Output only.List<RelatedUrl>
getRelatedUrlsList()
Output only.RelatedUrlOrBuilder
getRelatedUrlsOrBuilder(int index)
Output only.List<? extends RelatedUrlOrBuilder>
getRelatedUrlsOrBuilderList()
Output only.int
getSerializedSize()
Severity
getSeverity()
Output only.int
getSeverityValue()
Output only.String
getShortDescription()
Output only.com.google.protobuf.ByteString
getShortDescriptionBytes()
Output only.String
getType()
The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.ByteString
getTypeBytes()
The type of package; whether native or non native(ruby gems, node.js packages etc)com.google.protobuf.UnknownFieldSet
getUnknownFields()
int
hashCode()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Details.Builder
newBuilder()
static Details.Builder
newBuilder(Details prototype)
Details.Builder
newBuilderForType()
protected Details.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Details
parseDelimitedFrom(InputStream input)
static Details
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Details
parseFrom(byte[] data)
static Details
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Details
parseFrom(com.google.protobuf.ByteString data)
static Details
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Details
parseFrom(com.google.protobuf.CodedInputStream input)
static Details
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Details
parseFrom(InputStream input)
static Details
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Details
parseFrom(ByteBuffer data)
static Details
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Details>
parser()
Details.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
getType
in 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:
getTypeBytes
in 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:
getSeverityValue
in 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:
getSeverity
in 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:
getCvssScore
in 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:
getPackageIssueList
in 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:
getPackageIssueOrBuilderList
in 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:
getPackageIssueCount
in 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:
getPackageIssue
in 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:
getPackageIssueOrBuilder
in interfaceDetailsOrBuilder
-
getShortDescription
public String getShortDescription()
Output only. A one sentence description of this vulnerability.
string short_description = 5;
- Specified by:
getShortDescription
in 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:
getShortDescriptionBytes
in interfaceDetailsOrBuilder
- Returns:
- The bytes for shortDescription.
-
getLongDescription
public String getLongDescription()
Output only. A detailed description of this vulnerability.
string long_description = 6;
- Specified by:
getLongDescription
in 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:
getLongDescriptionBytes
in 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:
getRelatedUrlsList
in interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilderList
public List<? extends RelatedUrlOrBuilder> getRelatedUrlsOrBuilderList()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
- Specified by:
getRelatedUrlsOrBuilderList
in interfaceDetailsOrBuilder
-
getRelatedUrlsCount
public int getRelatedUrlsCount()
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
- Specified by:
getRelatedUrlsCount
in interfaceDetailsOrBuilder
-
getRelatedUrls
public RelatedUrl getRelatedUrls(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
- Specified by:
getRelatedUrls
in interfaceDetailsOrBuilder
-
getRelatedUrlsOrBuilder
public RelatedUrlOrBuilder getRelatedUrlsOrBuilder(int index)
Output only. URLs related to this vulnerability.
repeated .grafeas.v1beta1.RelatedUrl related_urls = 7;
- Specified by:
getRelatedUrlsOrBuilder
in 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:
getEffectiveSeverityValue
in 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:
getEffectiveSeverity
in interfaceDetailsOrBuilder
- Returns:
- The effectiveSeverity.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Details.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Details getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-