Class VulnerabilityNote.WindowsDetail.Builder (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
public static final class VulnerabilityNote.WindowsDetail.Builder extends GeneratedMessageV3.Builder<VulnerabilityNote.WindowsDetail.Builder> implements VulnerabilityNote.WindowsDetailOrBuilder

Protobuf type grafeas.v1.VulnerabilityNote.WindowsDetail

Static Methods

getDescriptor()

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

Methods

addAllFixingKbs(Iterable<? extends VulnerabilityNote.WindowsDetail.KnowledgeBase> values)

public VulnerabilityNote.WindowsDetail.Builder addAllFixingKbs(Iterable<? extends VulnerabilityNote.WindowsDetail.KnowledgeBase> values)

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
valuesIterable<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase>
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

addFixingKbs(int index, VulnerabilityNote.WindowsDetail.KnowledgeBase value)

public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(int index, VulnerabilityNote.WindowsDetail.KnowledgeBase value)

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameters
NameDescription
indexint
valueVulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

addFixingKbs(int index, VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)

public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(int index, VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameters
NameDescription
indexint
builderForValueVulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

addFixingKbs(VulnerabilityNote.WindowsDetail.KnowledgeBase value)

public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(VulnerabilityNote.WindowsDetail.KnowledgeBase value)

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
valueVulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

addFixingKbs(VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)

public VulnerabilityNote.WindowsDetail.Builder addFixingKbs(VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder builderForValue)

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
builderForValueVulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

addFixingKbsBuilder()

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder addFixingKbsBuilder()

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

addFixingKbsBuilder(int index)

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder addFixingKbsBuilder(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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityNote.WindowsDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

build()

public VulnerabilityNote.WindowsDetail build()
Returns
TypeDescription
VulnerabilityNote.WindowsDetail

buildPartial()

public VulnerabilityNote.WindowsDetail buildPartial()
Returns
TypeDescription
VulnerabilityNote.WindowsDetail

clear()

public VulnerabilityNote.WindowsDetail.Builder clear()
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

clearCpeUri()

public VulnerabilityNote.WindowsDetail.Builder clearCpeUri()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearDescription()

public VulnerabilityNote.WindowsDetail.Builder clearDescription()

The description of this vulnerability.

string description = 3;

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityNote.WindowsDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

clearFixingKbs()

public VulnerabilityNote.WindowsDetail.Builder clearFixingKbs()

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

clearName()

public VulnerabilityNote.WindowsDetail.Builder clearName()

Required. The name of this vulnerability.

string name = 2;

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityNote.WindowsDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

clone()

public VulnerabilityNote.WindowsDetail.Builder clone()
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

getCpeUri()

public String getCpeUri()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
TypeDescription
String

The cpeUri.

getCpeUriBytes()

public ByteString getCpeUriBytes()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
TypeDescription
ByteString

The bytes for cpeUri.

getDefaultInstanceForType()

public VulnerabilityNote.WindowsDetail getDefaultInstanceForType()
Returns
TypeDescription
VulnerabilityNote.WindowsDetail

getDescription()

public String getDescription()

The description of this vulnerability.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of this vulnerability.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFixingKbs(int index)

public VulnerabilityNote.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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase

getFixingKbsBuilder(int index)

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder getFixingKbsBuilder(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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

getFixingKbsBuilderList()

public List<VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder> getFixingKbsBuilderList()

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
TypeDescription
List<Builder>

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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
TypeDescription
int

getFixingKbsList()

public List<VulnerabilityNote.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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Returns
TypeDescription
List<KnowledgeBase>

getFixingKbsOrBuilder(int index)

public VulnerabilityNote.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 KBs presence is considered a fix.

repeated .grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase fixing_kbs = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBaseOrBuilder

getFixingKbsOrBuilderList()

public List<? extends VulnerabilityNote.WindowsDetail.KnowledgeBaseO