Class VulnerabilityReport.Vulnerability.Details.Reference (2.8.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
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstance()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilder()
Returns
TypeDescription
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
NameDescription
prototypeVulnerabilityReport.Vulnerability.Details.Reference
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

parseDelimitedFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VulnerabilityReport.Vulnerability.Details.Reference parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VulnerabilityReport.Vulnerability.Details.Reference getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSource()

public String getSource()

The source of the reference e.g. NVD.

string source = 2;

Returns
TypeDescription
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

The source of the reference e.g. NVD.

string source = 2;

Returns
TypeDescription
ByteString

The bytes for source.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUrl()

public String getUrl()

The url of the reference.

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

The url of the reference.

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilderForType()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VulnerabilityReport.Vulnerability.Details.Reference.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VulnerabilityReport.Vulnerability.Details.Reference.Builder toBuilder()
Returns
TypeDescription
VulnerabilityReport.Vulnerability.Details.Reference.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException