Class Vulnerability.WindowsDetail.KnowledgeBase.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clear()
Returns
TypeDescription
Vulnerability.WindowsDetail.KnowledgeBase.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

clone()

public Vulnerability.WindowsDetail.KnowledgeBase.Builder clone()
Returns
TypeDescription
Vulnerability.WindowsDetail.KnowledgeBase.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for url.

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

mergeFrom(Message other)

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

mergeFrom(Vulnerability.WindowsDetail.KnowledgeBase other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The url to set.

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

The bytes for url to set.

Returns
TypeDescription
Vulnerability.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.