public static final class VulnerabilityReport.Vulnerability.Details.Reference.Builder extends GeneratedMessageV3.Builder<VulnerabilityReport.Vulnerability.Details.Reference.Builder> implements VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder
A reference for this vulnerability.
Protobuf type
google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VulnerabilityReport.Vulnerability.Details.Reference build()
Returns
buildPartial()
public VulnerabilityReport.Vulnerability.Details.Reference buildPartial()
Returns
clear()
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSource()
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearSource()
The source of the reference e.g. NVD.
string source = 2;
Returns
clearUrl()
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clearUrl()
The url of the reference.
string url = 1;
Returns
clone()
public VulnerabilityReport.Vulnerability.Details.Reference.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getSource()
public String getSource()
The source of the reference e.g. NVD.
string source = 2;
Returns
Type | Description |
String | The source.
|
getSourceBytes()
public ByteString getSourceBytes()
The source of the reference e.g. NVD.
string source = 2;
Returns
getUrl()
The url of the reference.
string url = 1;
Returns
getUrlBytes()
public ByteString getUrlBytes()
The url of the reference.
string url = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(VulnerabilityReport.Vulnerability.Details.Reference other)
Parameter
Returns
public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Details.Reference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSource(String value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setSource(String value)
The source of the reference e.g. NVD.
string source = 2;
Parameter
Name | Description |
value | String
The source to set.
|
Returns
setSourceBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setSourceBytes(ByteString value)
The source of the reference e.g. NVD.
string source = 2;
Parameter
Name | Description |
value | ByteString
The bytes for source to set.
|
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final VulnerabilityReport.Vulnerability.Details.Reference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUrl(String value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setUrl(String value)
The url of the reference.
string url = 1;
Parameter
Name | Description |
value | String
The url to set.
|
Returns
setUrlBytes(ByteString value)
public VulnerabilityReport.Vulnerability.Details.Reference.Builder setUrlBytes(ByteString value)
The url of the reference.
string url = 1;
Parameter
Name | Description |
value | ByteString
The bytes for url to set.
|
Returns