Class Vulnerability.WindowsDetail.Builder (2.36.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
TypeDescription
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
NameDescription
valuesIterable<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase>
Returns
TypeDescription
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
NameDescription
indexint
valueVulnerability.WindowsDetail.KnowledgeBase
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVulnerability.WindowsDetail.KnowledgeBase.Builder
Returns
TypeDescription
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
NameDescription
valueVulnerability.WindowsDetail.KnowledgeBase
Returns
TypeDescription
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
NameDescription
builderForValueVulnerability.WindowsDetail.KnowledgeBase.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Vulnerability.WindowsDetail.KnowledgeBase.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Vulnerability.WindowsDetail.Builder clear()
Returns
TypeDescription
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
TypeDescription
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearDescription()

public Vulnerability.WindowsDetail.Builder clearDescription()

The description of the vulnerability.

string description = 3;

Returns
TypeDescription
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Vulnerability.WindowsDetail.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Vulnerability.WindowsDetail.Builder

clearName()

public Vulnerability.WindowsDetail.Builder clearName()

Required. The name of the vulnerability.

string name = 2;

Returns
TypeDescription
Vulnerability.WindowsDetail.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The bytes for cpeUri.

getDefaultInstanceForType()

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

getDescription()

public String getDescription()

The description of the vulnerability.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

The description of the vulnerability.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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 kb's presence is considered a fix.

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

Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends io.grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBaseOrBuilder>

getName()

public String getName()

Required. The name of the vulnerability.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the 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 Vulnerability.WindowsDetail.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Vulnerability.WindowsDetail.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

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

mergeFrom(Vulnerability.WindowsDetail other)

public Vulnerability.WindowsDetail.Builder mergeFrom(Vulnerability.WindowsDetail other)
Parameter
NameDescription
otherVulnerability.WindowsDetail
Returns
TypeDescription
Vulnerability.WindowsDetail.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The cpeUri to set.

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

The bytes for cpeUri to set.

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

The description to set.

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

The bytes for description to set.

Returns
TypeDescription
Vulnerability.WindowsDetail.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Vulnerability.WindowsDetail.Builder setName(String value)

Required. The name of the vulnerability.

string name = 2;

Parameter
NameDescription
valueString

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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