Class Vulnerability.WindowsDetail (2.43.0)

public static final class Vulnerability.WindowsDetail extends GeneratedMessageV3 implements Vulnerability.WindowsDetailOrBuilder

Protobuf type grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail

Static Fields

CPE_URI_FIELD_NUMBER

public static final int CPE_URI_FIELD_NUMBER
Field Value
Type Description
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int

FIXING_KBS_FIELD_NUMBER

public static final int FIXING_KBS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Vulnerability.WindowsDetail getDefaultInstance()
Returns
Type Description
Vulnerability.WindowsDetail

getDescriptor()

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

newBuilder()

public static Vulnerability.WindowsDetail.Builder newBuilder()
Returns
Type Description
Vulnerability.WindowsDetail.Builder

newBuilder(Vulnerability.WindowsDetail prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Vulnerability.WindowsDetail> parser()
Returns
Type Description
Parser<WindowsDetail>

Methods

equals(Object obj)

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

getCpeUri()

public String getCpeUri()

Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.

string cpe_uri = 1;

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

public ByteString getCpeUriBytes()

Required. The CPE URI in cpe format in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar.

string cpe_uri = 1;

Returns
Type Description
ByteString

The bytes for cpeUri.

getDefaultInstanceForType()

public Vulnerability.WindowsDetail getDefaultInstanceForType()
Returns
Type Description
Vulnerability.WindowsDetail

getDescription()

public String getDescription()

The description of the vulnerability.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the vulnerability.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getFixingKbs(int index)

public Vulnerability.WindowsDetail.KnowledgeBase getFixingKbs(int index)

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase

getFixingKbsCount()

public int getFixingKbsCount()

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
Type Description
int

getFixingKbsList()

public List<Vulnerability.WindowsDetail.KnowledgeBase> getFixingKbsList()

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
Type Description
List<KnowledgeBase>

getFixingKbsOrBuilder(int index)

public Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder getFixingKbsOrBuilder(int index)

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
Name Description
index int
Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder

getFixingKbsOrBuilderList()

public List<? extends Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder> getFixingKbsOrBuilderList()

Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
Type Description
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder>

getName()

public String getName()

Required. The name of the vulnerability.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the vulnerability.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<Vulnerability.WindowsDetail> getParserForType()
Returns
Type Description
Parser<WindowsDetail>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Vulnerability.WindowsDetail.Builder toBuilder()
Returns
Type Description
Vulnerability.WindowsDetail.Builder

writeTo(CodedOutputStream output)

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