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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Vulnerability build()
buildPartial()
public Vulnerability buildPartial()
clear()
public Vulnerability.Builder clear()
Overrides
clearCve()
public Vulnerability.Builder clearCve()
clearField(Descriptors.FieldDescriptor field)
public Vulnerability.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Vulnerability.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Vulnerability.Builder clone()
Overrides
getCve()
Returns |
---|
Type | Description |
Cve | The cve.
|
getCveBuilder()
public Cve.Builder getCveBuilder()
getCveOrBuilder()
public CveOrBuilder getCveOrBuilder()
getDefaultInstanceForType()
public Vulnerability getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasCve()
Returns |
---|
Type | Description |
boolean | Whether the cve field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeCve(Cve value)
public Vulnerability.Builder mergeCve(Cve value)
Parameter |
---|
Name | Description |
value | Cve
|
mergeFrom(Vulnerability other)
public Vulnerability.Builder mergeFrom(Vulnerability other)
public Vulnerability.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Vulnerability.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setCve(Cve value)
public Vulnerability.Builder setCve(Cve value)
Parameter |
---|
Name | Description |
value | Cve
|
setCve(Cve.Builder builderForValue)
public Vulnerability.Builder setCve(Cve.Builder builderForValue)
setField(Descriptors.FieldDescriptor field, Object value)
public Vulnerability.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Vulnerability.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Vulnerability.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides