public final class Cve extends GeneratedMessageV3 implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures. More information: https://cve.mitre.orgProtobuf type
google.cloud.securitycenter.v1.Cve
Modifier and Type | Class and Description |
---|---|
static class |
Cve.Builder
CVE stands for Common Vulnerabilities and Exposures.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
CVSSV3_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
REFERENCES_FIELD_NUMBER |
static int |
UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Cvssv3 |
getCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cvssv3OrBuilder |
getCvssv3OrBuilder()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
static Cve |
getDefaultInstance() |
Cve |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
String |
getId()
The unique identifier for the vulnerability.
|
ByteString |
getIdBytes()
The unique identifier for the vulnerability.
|
Parser<Cve> |
getParserForType() |
Reference |
getReferences(int index)
Additional information about the CVE.
|
int |
getReferencesCount()
Additional information about the CVE.
|
List<Reference> |
getReferencesList()
Additional information about the CVE.
|
ReferenceOrBuilder |
getReferencesOrBuilder(int index)
Additional information about the CVE.
|
List<? extends ReferenceOrBuilder> |
getReferencesOrBuilderList()
Additional information about the CVE.
|
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
|
boolean |
hasCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Cve.Builder |
newBuilder() |
static Cve.Builder |
newBuilder(Cve prototype) |
Cve.Builder |
newBuilderForType() |
protected Cve.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static Cve |
parseDelimitedFrom(InputStream input) |
static Cve |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cve |
parseFrom(byte[] data) |
static Cve |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static Cve |
parseFrom(ByteBuffer data) |
static Cve |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static Cve |
parseFrom(ByteString data) |
static Cve |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static Cve |
parseFrom(CodedInputStream input) |
static Cve |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static Cve |
parseFrom(InputStream input) |
static Cve |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<Cve> |
parser() |
Cve.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int ID_FIELD_NUMBER
public static final int REFERENCES_FIELD_NUMBER
public static final int CVSSV3_FIELD_NUMBER
public static final int UPSTREAM_FIX_AVAILABLE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
getId
in interface CveOrBuilder
public ByteString getIdBytes()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
getIdBytes
in interface CveOrBuilder
public List<Reference> getReferencesList()
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
repeated .google.cloud.securitycenter.v1.Reference references = 2;
getReferencesList
in interface CveOrBuilder
public List<? extends ReferenceOrBuilder> getReferencesOrBuilderList()
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
repeated .google.cloud.securitycenter.v1.Reference references = 2;
getReferencesOrBuilderList
in interface CveOrBuilder
public int getReferencesCount()
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
repeated .google.cloud.securitycenter.v1.Reference references = 2;
getReferencesCount
in interface CveOrBuilder
public Reference getReferences(int index)
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
repeated .google.cloud.securitycenter.v1.Reference references = 2;
getReferences
in interface CveOrBuilder
public ReferenceOrBuilder getReferencesOrBuilder(int index)
Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527
repeated .google.cloud.securitycenter.v1.Reference references = 2;
getReferencesOrBuilder
in interface CveOrBuilder
public boolean hasCvssv3()
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
hasCvssv3
in interface CveOrBuilder
public Cvssv3 getCvssv3()
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
getCvssv3
in interface CveOrBuilder
public Cvssv3OrBuilder getCvssv3OrBuilder()
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;
getCvssv3OrBuilder
in interface CveOrBuilder
public boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
getUpstreamFixAvailable
in interface CveOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static Cve parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Cve parseFrom(InputStream input) throws IOException
IOException
public static Cve parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Cve parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Cve parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Cve parseFrom(CodedInputStream input) throws IOException
IOException
public static Cve parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Cve.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Cve.Builder newBuilder()
public static Cve.Builder newBuilder(Cve prototype)
public Cve.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Cve.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Cve getDefaultInstance()
public Parser<Cve> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Cve getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.