public final class OutdatedLibrary extends GeneratedMessageV3 implements OutdatedLibraryOrBuilder
Information reported for an outdated library.
Protobuf type google.cloud.websecurityscanner.v1beta.OutdatedLibrary
Static Fields
LEARN_MORE_URLS_FIELD_NUMBER
public static final int LEARN_MORE_URLS_FIELD_NUMBER
Field Value
LIBRARY_NAME_FIELD_NUMBER
public static final int LIBRARY_NAME_FIELD_NUMBER
Field Value
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static OutdatedLibrary getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static OutdatedLibrary.Builder newBuilder()
Returns
newBuilder(OutdatedLibrary prototype)
public static OutdatedLibrary.Builder newBuilder(OutdatedLibrary prototype)
Parameter
Returns
public static OutdatedLibrary parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static OutdatedLibrary parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static OutdatedLibrary parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OutdatedLibrary parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static OutdatedLibrary parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OutdatedLibrary parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OutdatedLibrary parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static OutdatedLibrary parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static OutdatedLibrary parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static OutdatedLibrary parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static OutdatedLibrary parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OutdatedLibrary parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<OutdatedLibrary> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public OutdatedLibrary getDefaultInstanceForType()
Returns
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
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public OutdatedLibrary.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OutdatedLibrary.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public OutdatedLibrary.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions