Class Vulnerability.WindowsDetail.KnowledgeBase.Builder (2.84.0)

public static final class Vulnerability.WindowsDetail.KnowledgeBase.Builder extends GeneratedMessage.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

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

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.

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.

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 GeneratedMessage.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

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.

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.