Class OutdatedLibrary (2.47.0)

public final class OutdatedLibrary extends GeneratedMessageV3 implements OutdatedLibraryOrBuilder

Information reported for an outdated library.

Protobuf type google.cloud.websecurityscanner.v1alpha.OutdatedLibrary

Static Fields

LEARN_MORE_URLS_FIELD_NUMBER

public static final int LEARN_MORE_URLS_FIELD_NUMBER
Field Value
Type Description
int

LIBRARY_NAME_FIELD_NUMBER

public static final int LIBRARY_NAME_FIELD_NUMBER
Field Value
Type Description
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OutdatedLibrary getDefaultInstance()
Returns
Type Description
OutdatedLibrary

getDescriptor()

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

newBuilder()

public static OutdatedLibrary.Builder newBuilder()
Returns
Type Description
OutdatedLibrary.Builder

newBuilder(OutdatedLibrary prototype)

public static OutdatedLibrary.Builder newBuilder(OutdatedLibrary prototype)
Parameter
Name Description
prototype OutdatedLibrary
Returns
Type Description
OutdatedLibrary.Builder

parseDelimitedFrom(InputStream input)

public static OutdatedLibrary parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OutdatedLibrary parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OutdatedLibrary parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OutdatedLibrary parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OutdatedLibrary parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OutdatedLibrary parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OutdatedLibrary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OutdatedLibrary
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OutdatedLibrary> parser()
Returns
Type Description
Parser<OutdatedLibrary>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public OutdatedLibrary getDefaultInstanceForType()
Returns
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
ProtocolStringList

A list containing the learnMoreUrls.

getLibraryName()

public String getLibraryName()

The name of the outdated library.

string library_name = 1;

Returns
Type Description
String

The libraryName.

getLibraryNameBytes()

public ByteString getLibraryNameBytes()

The name of the outdated library.

string library_name = 1;

Returns
Type Description
ByteString

The bytes for libraryName.

getParserForType()

public Parser<OutdatedLibrary> getParserForType()
Returns
Type Description
Parser<OutdatedLibrary>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVersion()

public String getVersion()

The version number.

string version = 2;

Returns
Type Description
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

The version number.

string version = 2;

Returns
Type Description
ByteString

The bytes for version.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OutdatedLibrary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OutdatedLibrary.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public OutdatedLibrary.Builder toBuilder()
Returns
Type Description
OutdatedLibrary.Builder

writeTo(CodedOutputStream output)

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