Class Vulnerability.WindowsDetail.KnowledgeBase.Builder (2.53.0)

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

Protobuf type grafeas.v1beta1.vulnerability.Vulnerability.WindowsDetail.KnowledgeBase

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clearName()

The KB name (generally of the form KB[0-9]+ i.e. KB123456).

string name = 1;

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clearUrl()

A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/

string url = 2;

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

clone()

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clone()
Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder
Overrides

getDefaultInstanceForType()

public Vulnerability.WindowsDetail.KnowledgeBase getDefaultInstanceForType()
Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase

getDescriptorForType()

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

getName()

public String getName()

The KB name (generally of the form KB[0-9]+ i.e. KB123456).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The KB name (generally of the form KB[0-9]+ i.e. KB123456).

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getUrl()

public String getUrl()

A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/

string url = 2;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/

string url = 2;

Returns
Type Description
ByteString

The bytes for url.

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

mergeFrom(Message other)

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

mergeFrom(Vulnerability.WindowsDetail.KnowledgeBase other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public Vulnerability.WindowsDetail.KnowledgeBase.Builder setName(String value)

The KB name (generally of the form KB[0-9]+ i.e. KB123456).

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Vulnerability.WindowsDetail.KnowledgeBase.Builder setNameBytes(ByteString value)

The KB name (generally of the form KB[0-9]+ i.e. KB123456).

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

public Vulnerability.WindowsDetail.KnowledgeBase.Builder setUrl(String value)

A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/

string url = 2;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public Vulnerability.WindowsDetail.KnowledgeBase.Builder setUrlBytes(ByteString value)

A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/

string url = 2;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.