- 2.61.0 (latest)
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
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.org
Protobuf type google.cloud.securitycenter.v1.Cve
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Cve.BuilderImplements
CveOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllReferences(Iterable<? extends Reference> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Reference> |
Type | Description |
Cve.Builder |
addReferences(Reference value)
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;
Name | Description |
value | Reference |
Type | Description |
Cve.Builder |
addReferences(Reference.Builder builderForValue)
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;
Name | Description |
builderForValue | Reference.Builder |
Type | Description |
Cve.Builder |
addReferences(int index, Reference value)
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;
Name | Description |
index | int |
value | Reference |
Type | Description |
Cve.Builder |
addReferences(int index, Reference.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Reference.Builder |
Type | Description |
Cve.Builder |
addReferencesBuilder()
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;
Type | Description |
Reference.Builder |
addReferencesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Reference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cve.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cve.Builder |
build()
public Cve build()
Type | Description |
Cve |
buildPartial()
public Cve buildPartial()
Type | Description |
Cve |
clear()
public Cve.Builder clear()
Type | Description |
Cve.Builder |
clearCvssv3()
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;
Type | Description |
Cve.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cve.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Cve.Builder |
clearId()
public Cve.Builder clearId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Type | Description |
Cve.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cve.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Cve.Builder |
clearReferences()
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;
Type | Description |
Cve.Builder |
clearUpstreamFixAvailable()
public Cve.Builder clearUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Type | Description |
Cve.Builder | This builder for chaining. |
clone()
public Cve.Builder clone()
Type | Description |
Cve.Builder |
getCvssv3()
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;
Type | Description |
Cvssv3 | The cvssv3. |
getCvssv3Builder()
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;
Type | Description |
Cvssv3.Builder |
getCvssv3OrBuilder()
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;
Type | Description |
Cvssv3OrBuilder |
getDefaultInstanceForType()
public Cve getDefaultInstanceForType()
Type | Description |
Cve |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getId()
public String getId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Type | Description |
String | The id. |
getIdBytes()
public ByteString getIdBytes()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Type | Description |
ByteString | The bytes for id. |
getReferences(int index)
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;
Name | Description |
index | int |
Type | Description |
Reference |
getReferencesBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
Reference.Builder |
getReferencesBuilderList()
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;
Type | Description |
List<Builder> |
getReferencesCount()
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;
Type | Description |
int |
getReferencesList()
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;
Type | Description |
List<Reference> |
getReferencesOrBuilder(int index)
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;
Name | Description |
index | int |
Type | Description |
ReferenceOrBuilder |
getReferencesOrBuilderList()
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;
Type | Description |
List<? extends com.google.cloud.securitycenter.v1.ReferenceOrBuilder> |
getUpstreamFixAvailable()
public boolean getUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Type | Description |
boolean | The upstreamFixAvailable. |
hasCvssv3()
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;
Type | Description |
boolean | Whether the cvssv3 field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCvssv3(Cvssv3 value)
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;
Name | Description |
value | Cvssv3 |
Type | Description |
Cve.Builder |
mergeFrom(Cve other)
public Cve.Builder mergeFrom(Cve other)
Name | Description |
other | Cve |
Type | Description |
Cve.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cve.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Cve.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Cve.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Cve.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cve.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cve.Builder |
removeReferences(int index)
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;
Name | Description |
index | int |
Type | Description |
Cve.Builder |
setCvssv3(Cvssv3 value)
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;
Name | Description |
value | Cvssv3 |
Type | Description |
Cve.Builder |
setCvssv3(Cvssv3.Builder builderForValue)
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;
Name | Description |
builderForValue | Cvssv3.Builder |
Type | Description |
Cve.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cve.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Cve.Builder |
setId(String value)
public Cve.Builder setId(String value)
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Name | Description |
value | String The id to set. |
Type | Description |
Cve.Builder | This builder for chaining. |
setIdBytes(ByteString value)
public Cve.Builder setIdBytes(ByteString value)
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Name | Description |
value | ByteString The bytes for id to set. |
Type | Description |
Cve.Builder | This builder for chaining. |
setReferences(int index, Reference value)
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;
Name | Description |
index | int |
value | Reference |
Type | Description |
Cve.Builder |
setReferences(int index, Reference.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | Reference.Builder |
Type | Description |
Cve.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cve.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Cve.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cve.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Cve.Builder |
setUpstreamFixAvailable(boolean value)
public Cve.Builder setUpstreamFixAvailable(boolean value)
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Name | Description |
value | boolean The upstreamFixAvailable to set. |
Type | Description |
Cve.Builder | This builder for chaining. |