public static final class Cve.Builder extends GeneratedMessageV3.Builder<Cve.Builder> implements CveOrBuilder
CVE stands for Common Vulnerabilities and Exposures. More information: https://cve.mitre.orgProtobuf 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(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 |
clearField(Descriptors.FieldDescriptor field) |
Cve.Builder |
clearId()
The unique identifier for the vulnerability.
|
Cve.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
Cve.Builder |
clearReferences()
Additional information about the CVE.
|
Cve.Builder |
clearUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
|
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 Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getId()
The unique identifier for the vulnerability.
|
ByteString |
getIdBytes()
The unique identifier for the vulnerability.
|
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 |
hasCvssv3()
Describe Common Vulnerability Scoring System specified at
https://www.first.org/cvss/v3.1/specification-document
|
protected 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(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
Cve.Builder |
mergeFrom(Cve other) |
Cve.Builder |
mergeFrom(Message other) |
Cve.Builder |
mergeUnknownFields(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 |
setField(Descriptors.FieldDescriptor field,
Object value) |
Cve.Builder |
setId(String value)
The unique identifier for the vulnerability.
|
Cve.Builder |
setIdBytes(ByteString value)
The unique identifier for the vulnerability.
|
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(Descriptors.FieldDescriptor field,
int index,
Object value) |
Cve.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
Cve.Builder |
setUpstreamFixAvailable(boolean value)
Whether upstream fix is available for the CVE.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<Cve.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public Cve build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public Cve buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public Cve.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<Cve.Builder>
public Cve.Builder mergeFrom(Cve other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<Cve.Builder>
public Cve.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<Cve.Builder>
IOException
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 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(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 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 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 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 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 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 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 CveOrBuilder
public boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
getUpstreamFixAvailable
in interface CveOrBuilder
public 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 final Cve.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<Cve.Builder>
public final Cve.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<Cve.Builder>
Copyright © 2022 Google LLC. All rights reserved.