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
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
FIXING_KBS_FIELD_NUMBER
public static final int FIXING_KBS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static Vulnerability.WindowsDetail getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static Vulnerability.WindowsDetail.Builder newBuilder()
Returns
newBuilder(Vulnerability.WindowsDetail prototype)
public static Vulnerability.WindowsDetail.Builder newBuilder(Vulnerability.WindowsDetail prototype)
Parameter
Returns
public static Vulnerability.WindowsDetail parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.WindowsDetail parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Vulnerability.WindowsDetail parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.WindowsDetail parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Vulnerability.WindowsDetail parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.WindowsDetail parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Vulnerability.WindowsDetail parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.WindowsDetail parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Vulnerability.WindowsDetail parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Vulnerability.WindowsDetail parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Vulnerability.WindowsDetail parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Vulnerability.WindowsDetail parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Vulnerability.WindowsDetail> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
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
getDefaultInstanceForType()
public Vulnerability.WindowsDetail getDefaultInstanceForType()
Returns
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
Returns
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
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
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
Returns
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()
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
getParserForType()
public Parser<Vulnerability.WindowsDetail> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public Vulnerability.WindowsDetail.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Vulnerability.WindowsDetail.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public Vulnerability.WindowsDetail.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions