public static final class Cve.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder> implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.Protobuf type
google.cloud.securitycenter.v1.Cve| Modifier and Type | Method and Description |
|---|---|
Cve.Builder |
addAllReferences(Iterable<? extends Reference> values)
Additional information about the CVE.
|
Cve.Builder |
addReferences(int index,
Reference.Builder builderForValue)
Additional information about the CVE.
|
Cve.Builder |
addReferences(int index,
Reference value)
Additional information about the CVE.
|
Cve.Builder |
addReferences(Reference.Builder builderForValue)
Additional information about the CVE.
|
Cve.Builder |
addReferences(Reference value)
Additional information about the CVE.
|
Reference.Builder |
addReferencesBuilder()
Additional information about the CVE.
|
Reference.Builder |
addReferencesBuilder(int index)
Additional information about the CVE.
|
Cve.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cve |
build() |
Cve |
buildPartial() |
Cve.Builder |
clear() |
Cve.Builder |
clearCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cve.Builder |
clearExploitationActivity()
The exploitation activity of the vulnerability in the wild.
|
Cve.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Cve.Builder |
clearId()
The unique identifier for the vulnerability.
|
Cve.Builder |
clearImpact()
The potential impact of the vulnerability if it was to be exploited.
|
Cve.Builder |
clearObservedInTheWild()
Whether or not the vulnerability has been observed in the wild.
|
Cve.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Cve.Builder |
clearReferences()
Additional information about the CVE.
|
Cve.Builder |
clearUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
|
Cve.Builder |
clearZeroDay()
Whether or not the vulnerability was zero day when the finding was
published.
|
Cve.Builder |
clone() |
Cvssv3 |
getCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cvssv3.Builder |
getCvssv3Builder()
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
|
Cve |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Cve.ExploitationActivity |
getExploitationActivity()
The exploitation activity of the vulnerability in the wild.
|
int |
getExploitationActivityValue()
The exploitation activity of the vulnerability in the wild.
|
String |
getId()
The unique identifier for the vulnerability.
|
com.google.protobuf.ByteString |
getIdBytes()
The unique identifier for the vulnerability.
|
Cve.RiskRating |
getImpact()
The potential impact of the vulnerability if it was to be exploited.
|
int |
getImpactValue()
The potential impact of the vulnerability if it was to be exploited.
|
boolean |
getObservedInTheWild()
Whether or not the vulnerability has been observed in the wild.
|
Reference |
getReferences(int index)
Additional information about the CVE.
|
Reference.Builder |
getReferencesBuilder(int index)
Additional information about the CVE.
|
List<Reference.Builder> |
getReferencesBuilderList()
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.
|
boolean |
getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
|
boolean |
getZeroDay()
Whether or not the vulnerability was zero day when the finding was
published.
|
boolean |
hasCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Cve.Builder |
mergeCvssv3(Cvssv3 value)
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cve.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Cve.Builder |
mergeFrom(Cve other) |
Cve.Builder |
mergeFrom(com.google.protobuf.Message other) |
Cve.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cve.Builder |
removeReferences(int index)
Additional information about the CVE.
|
Cve.Builder |
setCvssv3(Cvssv3.Builder builderForValue)
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cve.Builder |
setCvssv3(Cvssv3 value)
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
Cve.Builder |
setExploitationActivity(Cve.ExploitationActivity value)
The exploitation activity of the vulnerability in the wild.
|
Cve.Builder |
setExploitationActivityValue(int value)
The exploitation activity of the vulnerability in the wild.
|
Cve.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Cve.Builder |
setId(String value)
The unique identifier for the vulnerability.
|
Cve.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The unique identifier for the vulnerability.
|
Cve.Builder |
setImpact(Cve.RiskRating value)
The potential impact of the vulnerability if it was to be exploited.
|
Cve.Builder |
setImpactValue(int value)
The potential impact of the vulnerability if it was to be exploited.
|
Cve.Builder |
setObservedInTheWild(boolean value)
Whether or not the vulnerability has been observed in the wild.
|
Cve.Builder |
setReferences(int index,
Reference.Builder builderForValue)
Additional information about the CVE.
|
Cve.Builder |
setReferences(int index,
Reference value)
Additional information about the CVE.
|
Cve.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Cve.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Cve.Builder |
setUpstreamFixAvailable(boolean value)
Whether upstream fix is available for the CVE.
|
Cve.Builder |
setZeroDay(boolean value)
Whether or not the vulnerability was zero day when the finding was
published.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Cve build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Cve buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Cve.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cve.Builder>public Cve.Builder mergeFrom(Cve other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public Cve.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Cve.Builder>IOExceptionpublic String getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;getId in interface CveOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;getIdBytes in interface CveOrBuilderpublic Cve.Builder setId(String value)
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;value - The id to set.public Cve.Builder clearId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;public Cve.Builder setIdBytes(com.google.protobuf.ByteString value)
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;value - The bytes for id to set.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 CveOrBuilderpublic 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 CveOrBuilderpublic 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 CveOrBuilderpublic Cve.Builder setReferences(int index, Reference value)
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;public Cve.Builder setReferences(int index, Reference.Builder builderForValue)
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;public Cve.Builder addReferences(Reference value)
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;public Cve.Builder addReferences(int index, Reference value)
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;public Cve.Builder addReferences(Reference.Builder builderForValue)
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;public Cve.Builder addReferences(int index, Reference.Builder builderForValue)
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;public Cve.Builder addAllReferences(Iterable<? extends Reference> values)
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;public Cve.Builder clearReferences()
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;public Cve.Builder removeReferences(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;public Reference.Builder getReferencesBuilder(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;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 CveOrBuilderpublic 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 CveOrBuilderpublic Reference.Builder addReferencesBuilder()
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;public Reference.Builder addReferencesBuilder(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;public List<Reference.Builder> getReferencesBuilderList()
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;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 CveOrBuilderpublic 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 CveOrBuilderpublic Cve.Builder setCvssv3(Cvssv3 value)
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;public Cve.Builder setCvssv3(Cvssv3.Builder builderForValue)
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;public Cve.Builder mergeCvssv3(Cvssv3 value)
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;public Cve.Builder clearCvssv3()
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;public Cvssv3.Builder getCvssv3Builder()
Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document
.google.cloud.securitycenter.v1.Cvssv3 cvssv3 = 3;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 CveOrBuilderpublic boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;getUpstreamFixAvailable in interface CveOrBuilderpublic Cve.Builder setUpstreamFixAvailable(boolean value)
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;value - The upstreamFixAvailable to set.public Cve.Builder clearUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;public int getImpactValue()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;getImpactValue in interface CveOrBuilderpublic Cve.Builder setImpactValue(int value)
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;value - The enum numeric value on the wire for impact to set.public Cve.RiskRating getImpact()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;getImpact in interface CveOrBuilderpublic Cve.Builder setImpact(Cve.RiskRating value)
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;value - The impact to set.public Cve.Builder clearImpact()
The potential impact of the vulnerability if it was to be exploited.
.google.cloud.securitycenter.v1.Cve.RiskRating impact = 5;public int getExploitationActivityValue()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
getExploitationActivityValue in interface CveOrBuilderpublic Cve.Builder setExploitationActivityValue(int value)
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
value - The enum numeric value on the wire for exploitationActivity to set.public Cve.ExploitationActivity getExploitationActivity()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
getExploitationActivity in interface CveOrBuilderpublic Cve.Builder setExploitationActivity(Cve.ExploitationActivity value)
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
value - The exploitationActivity to set.public Cve.Builder clearExploitationActivity()
The exploitation activity of the vulnerability in the wild.
.google.cloud.securitycenter.v1.Cve.ExploitationActivity exploitation_activity = 6;
public boolean getObservedInTheWild()
Whether or not the vulnerability has been observed in the wild.
bool observed_in_the_wild = 7;getObservedInTheWild in interface CveOrBuilderpublic Cve.Builder setObservedInTheWild(boolean value)
Whether or not the vulnerability has been observed in the wild.
bool observed_in_the_wild = 7;value - The observedInTheWild to set.public Cve.Builder clearObservedInTheWild()
Whether or not the vulnerability has been observed in the wild.
bool observed_in_the_wild = 7;public boolean getZeroDay()
Whether or not the vulnerability was zero day when the finding was published.
bool zero_day = 8;getZeroDay in interface CveOrBuilderpublic Cve.Builder setZeroDay(boolean value)
Whether or not the vulnerability was zero day when the finding was published.
bool zero_day = 8;value - The zeroDay to set.public Cve.Builder clearZeroDay()
Whether or not the vulnerability was zero day when the finding was published.
bool zero_day = 8;public final Cve.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>public final Cve.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Cve.Builder>Copyright © 2024 Google LLC. All rights reserved.