Class VulnerabilityReport.Vulnerability.Details.Reference (2.45.0)

public static final class VulnerabilityReport.Vulnerability.Details.Reference extends GeneratedMessageV3 implements VulnerabilityReport.Vulnerability.Details.ReferenceOrBuilder

A reference for this vulnerability.

Protobuf type google.cloud.osconfig.v1alpha.VulnerabilityReport.Vulnerability.Details.Reference

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VulnerabilityReport.Vulnerability.Details.Reference

Static Fields

SOURCE_FIELD_NUMBER

public static final int SOURCE_FIELD_NUMBER
Field Value
Type Description
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

newBuilder(VulnerabilityReport.Vulnerability.Details.Reference prototype)

public static VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilder(VulnerabilityReport.Vulnerability.Details.Reference prototype)
Parameter
Name Description
prototype VulnerabilityReport.Vulnerability.Details.Reference
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VulnerabilityReport.Vulnerability.Details.Reference> parser()
Returns
Type Description
Parser<Reference>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference

getParserForType()

public Parser<VulnerabilityReport.Vulnerability.Details.Reference> getParserForType()
Returns
Type Description
Parser<Reference>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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
Type Description
ByteString

The bytes for source.

getUrl()

public String getUrl()

The url of the reference.

string url = 1;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

The url of the reference.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilderForType()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder toBuilder()
Returns
Type Description
VulnerabilityReport.Vulnerability.Details.Reference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException