- 2.59.0 (latest)
- 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()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.securitycenter.v1.Reference> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Reference |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Reference.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Reference |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Reference.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
Reference.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Cve.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
Cve.Builder |
build()
public Cve build()
Returns | |
---|---|
Type | Description |
Cve |
buildPartial()
public Cve buildPartial()
Returns | |
---|---|
Type | Description |
Cve |
clear()
public Cve.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Cve.Builder |
clearField(Descriptors.FieldDescriptor field)
public Cve.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
Cve.Builder |
clearId()
public Cve.Builder clearId()
The unique identifier for the vulnerability. e.g. CVE-2021-34527
string id = 1;
Returns | |
---|---|
Type | Description |
Cve.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Cve.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Cve.Builder |
clearUpstreamFixAvailable()
public Cve.Builder clearUpstreamFixAvailable()
Whether upstream fix is available for the CVE.
bool upstream_fix_available = 4;
Returns | |
---|---|
Type | Description |
Cve.Builder | This builder for chaining. |
clone()
public Cve.Builder clone()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
Cvssv3OrBuilder |
getDefaultInstanceForType()
public Cve getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Cve |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getId()
public String 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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the cvssv3 field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Cvssv3 |
Returns | |
---|---|
Type | Description |
Cve.Builder |
mergeFrom(Cve other)
public Cve.Builder mergeFrom(Cve other)
Parameter | |
---|---|
Name | Description |
other | Cve |
Returns | |
---|---|
Type | Description |
Cve.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Cve.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Cve.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Cve.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
Cve.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Cve.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Cvssv3 |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Cvssv3.Builder |
Returns | |
---|---|
Type | Description |
Cve.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Cve.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The id to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for id to set. |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
value | Reference |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index | int |
builderForValue | Reference.Builder |
Returns | |
---|---|
Type | Description |
Cve.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Cve.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
Cve.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Cve.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | boolean The upstreamFixAvailable to set. |
Returns | |
---|---|
Type | Description |
Cve.Builder | This builder for chaining. |