Class VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder (2.54.0)

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

Protobuf type grafeas.v1.VulnerabilityNote.WindowsDetail.KnowledgeBase

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder clearName()

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

string name = 1;

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUrl()

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder clearUrl()

A link to the KB in the Windows update catalog.

string url = 2;

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public VulnerabilityNote.WindowsDetail.KnowledgeBase getDefaultInstanceForType()
Returns
Type Description
VulnerabilityNote.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]+ (e.g., KB123456)).

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The KB name (generally of the form KB[0-9]+ (e.g., 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.

string url = 2;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

A link to the KB in the Windows update catalog.

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

mergeFrom(Message other)

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

mergeFrom(VulnerabilityNote.WindowsDetail.KnowledgeBase other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

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

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

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

setNameBytes(ByteString value)

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

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

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUrl(String value)

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

A link to the KB in the Windows update catalog.

string url = 2;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.

setUrlBytes(ByteString value)

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

A link to the KB in the Windows update catalog.

string url = 2;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.