Send feedback
Class Cve (2.45.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.45.0 keyboard_arrow_down
public final class Cve extends GeneratedMessageV3 implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures.
Information from the CVE
record that describes this
vulnerability.
Protobuf type google.cloud.securitycenter.v1.Cve
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CVSSV3_FIELD_NUMBER
public static final int CVSSV3_FIELD_NUMBER
Field Value Type Description int
EXPLOITATION_ACTIVITY_FIELD_NUMBER
public static final int EXPLOITATION_ACTIVITY_FIELD_NUMBER
Field Value Type Description int
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value Type Description int
IMPACT_FIELD_NUMBER
public static final int IMPACT_FIELD_NUMBER
Field Value Type Description int
OBSERVED_IN_THE_WILD_FIELD_NUMBER
public static final int OBSERVED_IN_THE_WILD_FIELD_NUMBER
Field Value Type Description int
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
Field Value Type Description int
UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
public static final int UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
Field Value Type Description int
ZERO_DAY_FIELD_NUMBER
public static final int ZERO_DAY_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static Cve getDefaultInstance ()
Returns Type Description Cve
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static Cve . Builder newBuilder ()
newBuilder(Cve prototype)
public static Cve . Builder newBuilder ( Cve prototype )
Parameter Name Description prototype
Cve
public static Cve parseDelimitedFrom ( InputStream input )
Returns Type Description Cve
public static Cve parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
parseFrom(byte[] data)
public static Cve parseFrom ( byte [] data )
Parameter Name Description data
byte []
Returns Type Description Cve
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
parseFrom(ByteString data)
public static Cve parseFrom ( ByteString data )
Returns Type Description Cve
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
public static Cve parseFrom ( CodedInputStream input )
Returns Type Description Cve
public static Cve parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
public static Cve parseFrom ( InputStream input )
Returns Type Description Cve
public static Cve parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
parseFrom(ByteBuffer data)
public static Cve parseFrom ( ByteBuffer data )
Returns Type Description Cve
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Returns Type Description Cve
parser()
public static Parser<Cve> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getCvssv3()
public Cvssv3 getCvssv3 ()
Returns Type Description Cvssv3
The cvssv3.
getCvssv3OrBuilder()
public Cvssv3OrBuilder getCvssv3OrBuilder ()
getDefaultInstanceForType()
public Cve getDefaultInstanceForType ()
Returns Type Description Cve
getExploitationActivity()
public Cve . ExploitationActivity getExploitationActivity ()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
getExploitationActivityValue()
public int getExploitationActivityValue ()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
Returns Type Description int
The enum numeric value on the wire for exploitationActivity.
getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Returns Type Description String
The id.
getIdBytes()
public ByteString getIdBytes ()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
getImpact()
public Cve . RiskRating getImpact ()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;
getImpactValue()
public int getImpactValue ()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;
Returns Type Description int
The enum numeric value on the wire for impact.
getObservedInTheWild()
public boolean getObservedInTheWild ()
Whether or not the vulnerability has been observed in the wild.
bool observed_in_the_wild = 7;
Returns Type Description boolean
The observedInTheWild.
getParserForType()
public Parser<Cve> getParserForType ()
Overrides
getReferences(int index)
public Reference getReferences ( int index )
Parameter Name Description index
int
getReferencesCount()
public int getReferencesCount ()
Returns Type Description int
getReferencesList()
public List<Reference> getReferencesList ()
getReferencesOrBuilder(int index)
public ReferenceOrBuilder getReferencesOrBuilder ( int index )
Parameter Name Description index
int
getReferencesOrBuilderList()
public List <? extends ReferenceOrBuilder > getReferencesOrBuilderList ()
Returns Type Description List <? extends com.google.cloud.securitycenter.v1.ReferenceOrBuilder >
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
getUpstreamFixAvailable()
public boolean getUpstreamFixAvailable ()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Returns Type Description boolean
The upstreamFixAvailable.
getZeroDay()
public boolean getZeroDay ()
Whether or not the vulnerability was zero day when the finding was
published.
bool zero_day = 8;
Returns Type Description boolean
The zeroDay.
hasCvssv3()
public boolean hasCvssv3 ()
Returns Type Description boolean
Whether the cvssv3 field is set.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public Cve . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cve . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public Cve . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-14 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-14 UTC."],[],[]]