public final class Cve extends GeneratedMessageV3 implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures.
More information: https://cve.mitre.org
Protobuf type google.cloud.securitycenter.v1.Cve
Static Fields
CVSSV3_FIELD_NUMBER
public static final int CVSSV3_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
REFERENCES_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
Field Value
UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
public static final int UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Cve getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Cve.Builder newBuilder()
Returns
newBuilder(Cve prototype)
public static Cve.Builder newBuilder(Cve prototype)
Parameter
Name | Description |
prototype | Cve
|
Returns
public static Cve parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cve parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Cve parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Cve parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cve parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Cve parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Cve parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Cve parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Cve parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Cve parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Cve> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getCvssv3()
public Cvssv3 getCvssv3()
Returns
Type | Description |
Cvssv3 | The cvssv3.
|
getCvssv3OrBuilder()
public Cvssv3OrBuilder getCvssv3OrBuilder()
Returns
getDefaultInstanceForType()
public Cve getDefaultInstanceForType()
Returns
getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Returns
getIdBytes()
public ByteString getIdBytes()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Returns
getParserForType()
public Parser<Cve> getParserForType()
Returns
Overrides
getReferences(int index)
public Reference getReferences(int index)
Parameter
Returns
getReferencesCount()
public int getReferencesCount()
Returns
getReferencesList()
public List<Reference> getReferencesList()
Returns
getReferencesOrBuilder(int index)
public ReferenceOrBuilder getReferencesOrBuilder(int index)
Parameter
Returns
getReferencesOrBuilderList()
public List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
Returns
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.ReferenceOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getUpstreamFixAvailable()
public boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Returns
Type | Description |
boolean | The upstreamFixAvailable.
|
hasCvssv3()
public boolean hasCvssv3()
Returns
Type | Description |
boolean | Whether the cvssv3 field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Cve.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Cve.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Cve.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions