Class OutdatedLibrary (2.33.0)

public final class OutdatedLibrary extends GeneratedMessageV3 implements OutdatedLibraryOrBuilder

Information reported for an outdated library.

Protobuf type google.cloud.websecurityscanner.v1.OutdatedLibrary

Static Fields

LEARN_MORE_URLS_FIELD_NUMBER

public static final int LEARN_MORE_URLS_FIELD_NUMBER
Field Value
TypeDescription
int

LIBRARY_NAME_FIELD_NUMBER

public static final int LIBRARY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OutdatedLibrary getDefaultInstance()
Returns
TypeDescription
OutdatedLibrary

getDescriptor()

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

newBuilder()

public static OutdatedLibrary.Builder newBuilder()
Returns
TypeDescription
OutdatedLibrary.Builder

newBuilder(OutdatedLibrary prototype)

public static OutdatedLibrary.Builder newBuilder(OutdatedLibrary prototype)
Parameter
NameDescription
prototypeOutdatedLibrary
Returns
TypeDescription
OutdatedLibrary.Builder

parseDelimitedFrom(InputStream input)

public static OutdatedLibrary parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OutdatedLibrary parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OutdatedLibrary parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OutdatedLibrary parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OutdatedLibrary parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OutdatedLibrary parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OutdatedLibrary
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OutdatedLibrary> parser()
Returns
TypeDescription
Parser<OutdatedLibrary>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OutdatedLibrary getDefaultInstanceForType()
Returns
TypeDescription
OutdatedLibrary

getLearnMoreUrls(int index)

public String getLearnMoreUrls(int index)

URLs to learn more information about the vulnerabilities in the library.

repeated string learn_more_urls = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The learnMoreUrls at the given index.

getLearnMoreUrlsBytes(int index)

public ByteString getLearnMoreUrlsBytes(int index)

URLs to learn more information about the vulnerabilities in the library.

repeated string learn_more_urls = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the learnMoreUrls at the given index.

getLearnMoreUrlsCount()

public int getLearnMoreUrlsCount()

URLs to learn more information about the vulnerabilities in the library.

repeated string learn_more_urls = 3;

Returns
TypeDescription
int

The count of learnMoreUrls.

getLearnMoreUrlsList()

public ProtocolStringList getLearnMoreUrlsList()

URLs to learn more information about the vulnerabilities in the library.

repeated string learn_more_urls = 3;

Returns
TypeDescription
ProtocolStringList

A list containing the learnMoreUrls.

getLibraryName()

public String getLibraryName()

The name of the outdated library.

string library_name = 1;

Returns
TypeDescription
String

The libraryName.

getLibraryNameBytes()

public ByteString getLibraryNameBytes()

The name of the outdated library.

string library_name = 1;

Returns
TypeDescription
ByteString

The bytes for libraryName.

getParserForType()

public Parser<OutdatedLibrary> getParserForType()
Returns
TypeDescription
Parser<OutdatedLibrary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public String getVersion()

The version number.

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version number.

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

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 OutdatedLibrary.Builder newBuilderForType()
Returns
TypeDescription
OutdatedLibrary.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OutdatedLibrary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OutdatedLibrary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public OutdatedLibrary.Builder toBuilder()
Returns
TypeDescription
OutdatedLibrary.Builder

writeTo(CodedOutputStream output)

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