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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

string url = 2;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

A link to the KB in the Windows update catalog.

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

mergeFrom(Message other)

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

mergeFrom(VulnerabilityNote.WindowsDetail.KnowledgeBase other)

public VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder mergeFrom(VulnerabilityNote.WindowsDetail.KnowledgeBase other)
Parameter
NameDescription
otherVulnerabilityNote.WindowsDetail.KnowledgeBase
Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The url to set.

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

The bytes for url to set.

Returns
TypeDescription
VulnerabilityNote.WindowsDetail.KnowledgeBase.Builder

This builder for chaining.