Class Vulnerability.WindowsDetail.Builder (2.56.0)

public static final class Vulnerability.WindowsDetail.Builder extends GeneratedMessageV3.Builder<Vulnerability.WindowsDetail.Builder> implements Vulnerability.WindowsDetailOrBuilder

Protobuf type grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail

Static Methods

getDescriptor()

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

Methods

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

public Vulnerability.WindowsDetail.Builder addAllFixingKbs(Iterable<? extends Vulnerability.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 kb's presence is considered a fix.

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

Parameter
Name Description
values Iterable<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase>
Returns
Type Description
Vulnerability.WindowsDetail.Builder

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

public Vulnerability.WindowsDetail.Builder addFixingKbs(int index, Vulnerability.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 kb's presence is considered a fix.

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

Parameters
Name Description
index int
value Vulnerability.WindowsDetail.KnowledgeBase
Returns
Type Description
Vulnerability.WindowsDetail.Builder

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

public Vulnerability.WindowsDetail.Builder addFixingKbs(int index, Vulnerability.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 kb's presence is considered a fix.

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

Parameters
Name Description
index int
builderForValue Vulnerability.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
Vulnerability.WindowsDetail.Builder

addFixingKbs(Vulnerability.WindowsDetail.KnowledgeBase value)

public Vulnerability.WindowsDetail.Builder addFixingKbs(Vulnerability.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 kb's presence is considered a fix.

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

Parameter
Name Description
value Vulnerability.WindowsDetail.KnowledgeBase
Returns
Type Description
Vulnerability.WindowsDetail.Builder

addFixingKbs(Vulnerability.WindowsDetail.KnowledgeBase.Builder builderForValue)

public Vulnerability.WindowsDetail.Builder addFixingKbs(Vulnerability.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 kb's presence is considered a fix.

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

Parameter
Name Description
builderForValue Vulnerability.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
Vulnerability.WindowsDetail.Builder

addFixingKbsBuilder()

public Vulnerability.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 kb's presence is considered a fix.

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

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

addFixingKbsBuilder(int index)

public Vulnerability.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 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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearCpeUri()

public Vulnerability.WindowsDetail.Builder clearCpeUri()

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
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearDescription()

public Vulnerability.WindowsDetail.Builder clearDescription()

The description of the vulnerability.

string description = 3;

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Vulnerability.WindowsDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Vulnerability.WindowsDetail.Builder
Overrides

clearFixingKbs()

public Vulnerability.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 kb's presence is considered a fix.

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

Returns
Type Description
Vulnerability.WindowsDetail.Builder

clearName()

public Vulnerability.WindowsDetail.Builder clearName()

Required. The name of the vulnerability.

string name = 2;

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getFixingKbsBuilder(int index)

public Vulnerability.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 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.Builder

getFixingKbsBuilderList()

public List<Vulnerability.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 kb's presence is considered a fix.

repeated .grafeas.v1beta1.vulnerability.Vulnerability.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 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.

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 Vulnerability.WindowsDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Vulnerability.WindowsDetail.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(Vulnerability.WindowsDetail other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFixingKbs(int index)

public Vulnerability.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 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.Builder

setCpeUri(String value)

public Vulnerability.WindowsDetail.Builder setCpeUri(String value)

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;

Parameter
Name Description
value String

The cpeUri to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setCpeUriBytes(ByteString value)

public Vulnerability.WindowsDetail.Builder setCpeUriBytes(ByteString value)

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;

Parameter
Name Description
value ByteString

The bytes for cpeUri to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setDescription(String value)

public Vulnerability.WindowsDetail.Builder setDescription(String value)

The description of the vulnerability.

string description = 3;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Vulnerability.WindowsDetail.Builder setDescriptionBytes(ByteString value)

The description of the vulnerability.

string description = 3;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public Vulnerability.WindowsDetail.Builder setFixingKbs(int index, Vulnerability.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 kb's presence is considered a fix.

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

Parameters
Name Description
index int
value Vulnerability.WindowsDetail.KnowledgeBase
Returns
Type Description
Vulnerability.WindowsDetail.Builder

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

public Vulnerability.WindowsDetail.Builder setFixingKbs(int index, Vulnerability.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 kb's presence is considered a fix.

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

Parameters
Name Description
index int
builderForValue Vulnerability.WindowsDetail.KnowledgeBase.Builder
Returns
Type Description
Vulnerability.WindowsDetail.Builder

setName(String value)

public Vulnerability.WindowsDetail.Builder setName(String value)

Required. The name of the vulnerability.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Vulnerability.WindowsDetail.Builder setNameBytes(ByteString value)

Required. The name of the vulnerability.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Vulnerability.WindowsDetail.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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