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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CVSSV3_FIELD_NUMBER
public static final int CVSSV3_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_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 | |
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 | |
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;
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.
|
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