Class VulnerabilityNote.WindowsDetail.Builder (2.6.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
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.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
TypeDescription
List<? extends io.grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBaseOrBuilder>

getName()

public String getName()

Required. The name of this vulnerability.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of this vulnerability.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

mergeFrom(VulnerabilityNote.WindowsDetail other)

public VulnerabilityNote.WindowsDetail.Builder mergeFrom(VulnerabilityNote.WindowsDetail other)
Parameter
NameDescription
otherVulnerabilityNote.WindowsDetail
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityNote.WindowsDetail.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The cpeUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cpeUri to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VulnerabilityNote.WindowsDetail.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueVulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVulnerabilityNote.WindowsDetail.KnowledgeBase.Builder
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder

setName(String value)

public VulnerabilityNote.WindowsDetail.Builder setName(String value)

Required. The name of this vulnerability.

string name = 2;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VulnerabilityNote.WindowsDetail.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.Builder
Overrides