public static final class Vulnerability.Builder extends GeneratedMessageV3.Builder<Vulnerability.Builder> implements VulnerabilityOrBuilder
Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
Protobuf type google.cloud.securitycenter.v1.Vulnerability
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Vulnerability build()
Returns
buildPartial()
public Vulnerability buildPartial()
Returns
clear()
public Vulnerability.Builder clear()
Returns
Overrides
clearCve()
public Vulnerability.Builder clearCve()
Returns
clearField(Descriptors.FieldDescriptor field)
public Vulnerability.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Vulnerability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Vulnerability.Builder clone()
Returns
Overrides
getCve()
Returns
Type | Description |
Cve | The cve.
|
getCveBuilder()
public Cve.Builder getCveBuilder()
Returns
getCveOrBuilder()
public CveOrBuilder getCveOrBuilder()
Returns
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasCve()
Returns
Type | Description |
boolean | Whether the cve field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeCve(Cve value)
public Vulnerability.Builder mergeCve(Cve value)
Parameter
Returns
mergeFrom(Vulnerability other)
public Vulnerability.Builder mergeFrom(Vulnerability other)
Parameter
Returns
public Vulnerability.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Vulnerability.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCve(Cve value)
public Vulnerability.Builder setCve(Cve value)
Parameter
Returns
setCve(Cve.Builder builderForValue)
public Vulnerability.Builder setCve(Cve.Builder builderForValue)
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Vulnerability.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides