Class WindowsUpdate.Category.Builder (2.84.0)

public static final class WindowsUpdate.Category.Builder extends GeneratedMessage.Builder<WindowsUpdate.Category.Builder> implements WindowsUpdate.CategoryOrBuilder

The category to which the update belongs.

Protobuf type grafeas.v1.WindowsUpdate.Category

Static Methods

getDescriptor()

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

Methods

build()

public WindowsUpdate.Category build()
Returns
Type Description
WindowsUpdate.Category

buildPartial()

public WindowsUpdate.Category buildPartial()
Returns
Type Description
WindowsUpdate.Category

clear()

public WindowsUpdate.Category.Builder clear()
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

clearCategoryId()

public WindowsUpdate.Category.Builder clearCategoryId()

The identifier of the category.

string category_id = 1;

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.

clearName()

public WindowsUpdate.Category.Builder clearName()

The localized name of the category.

string name = 2;

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.

getCategoryId()

public String getCategoryId()

The identifier of the category.

string category_id = 1;

Returns
Type Description
String

The categoryId.

getCategoryIdBytes()

public ByteString getCategoryIdBytes()

The identifier of the category.

string category_id = 1;

Returns
Type Description
ByteString

The bytes for categoryId.

getDefaultInstanceForType()

public WindowsUpdate.Category getDefaultInstanceForType()
Returns
Type Description
WindowsUpdate.Category

getDescriptorForType()

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

getName()

public String getName()

The localized name of the category.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The localized name of the category.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

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

mergeFrom(Message other)

public WindowsUpdate.Category.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

mergeFrom(WindowsUpdate.Category other)

public WindowsUpdate.Category.Builder mergeFrom(WindowsUpdate.Category other)
Parameter
Name Description
other WindowsUpdate.Category
Returns
Type Description
WindowsUpdate.Category.Builder

setCategoryId(String value)

public WindowsUpdate.Category.Builder setCategoryId(String value)

The identifier of the category.

string category_id = 1;

Parameter
Name Description
value String

The categoryId to set.

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.

setCategoryIdBytes(ByteString value)

public WindowsUpdate.Category.Builder setCategoryIdBytes(ByteString value)

The identifier of the category.

string category_id = 1;

Parameter
Name Description
value ByteString

The bytes for categoryId to set.

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.

setName(String value)

public WindowsUpdate.Category.Builder setName(String value)

The localized name of the category.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.

setNameBytes(ByteString value)

public WindowsUpdate.Category.Builder setNameBytes(ByteString value)

The localized name of the category.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
WindowsUpdate.Category.Builder

This builder for chaining.