Class VulnerabilityNote.WindowsDetail.Builder (2.46.0)

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
Type Description
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
Name Description
values Iterable<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase>
Returns
Type Description
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
Name Description
index int
value VulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
Type Description
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
Name Description
index int
builderForValue VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
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
Name Description
value VulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
Type Description
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
Name Description
builderForValue VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityNote.WindowsDetail.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

build()

public VulnerabilityNote.WindowsDetail build()
Returns
Type Description
VulnerabilityNote.WindowsDetail

buildPartial()

public VulnerabilityNote.WindowsDetail buildPartial()
Returns
Type Description
VulnerabilityNote.WindowsDetail

clear()

public VulnerabilityNote.WindowsDetail.Builder clear()
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

clearCpeUri()

public VulnerabilityNote.WindowsDetail.Builder clearCpeUri()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearDescription()

public VulnerabilityNote.WindowsDetail.Builder clearDescription()

The description of this vulnerability.

string description = 3;

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VulnerabilityNote.WindowsDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
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
Type Description
VulnerabilityNote.WindowsDetail.Builder

clearName()

public VulnerabilityNote.WindowsDetail.Builder clearName()

Required. The name of this vulnerability.

string name = 2;

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VulnerabilityNote.WindowsDetail.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

clone()

public VulnerabilityNote.WindowsDetail.Builder clone()
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

getCpeUri()

public String getCpeUri()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
Type Description
String

The cpeUri.

getCpeUriBytes()

public ByteString getCpeUriBytes()

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Returns
Type Description
ByteString

The bytes for cpeUri.

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

The description of this vulnerability.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of this vulnerability.

string description = 3;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBaseOrBuilder

getFixingKbsOrBuilderList()

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

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

Returns
Type Description
List<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBaseOrBuilder>

getName()

public String getName()

Required. The name of this vulnerability.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of this vulnerability.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

mergeFrom(VulnerabilityNote.WindowsDetail other)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(VulnerabilityNote.WindowsDetail other)
Parameter
Name Description
other VulnerabilityNote.WindowsDetail
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityNote.WindowsDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

removeFixingKbs(int index)

public VulnerabilityNote.WindowsDetail.Builder removeFixingKbs(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
Name Description
index int
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

setCpeUri(String value)

public VulnerabilityNote.WindowsDetail.Builder setCpeUri(String value)

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Parameter
Name Description
value String

The cpeUri to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setCpeUriBytes(ByteString value)

public VulnerabilityNote.WindowsDetail.Builder setCpeUriBytes(ByteString value)

Required. The CPE URI this vulnerability affects.

string cpe_uri = 1;

Parameter
Name Description
value ByteString

The bytes for cpeUri to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setDescription(String value)

public VulnerabilityNote.WindowsDetail.Builder setDescription(String value)

The description of this vulnerability.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public VulnerabilityNote.WindowsDetail.Builder setDescriptionBytes(ByteString value)

The description of this vulnerability.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityNote.WindowsDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

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

public VulnerabilityNote.WindowsDetail.Builder setFixingKbs(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
Name Description
index int
value VulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

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

public VulnerabilityNote.WindowsDetail.Builder setFixingKbs(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
Name Description
index int
builderForValue VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

setName(String value)

public VulnerabilityNote.WindowsDetail.Builder setName(String value)

Required. The name of this vulnerability.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VulnerabilityNote.WindowsDetail.Builder setNameBytes(ByteString value)

Required. The name of this vulnerability.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VulnerabilityNote.WindowsDetail.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityNote.WindowsDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VulnerabilityNote.WindowsDetail.Builder
Overrides