Class WindowsUpdate.Category.Builder (2.50.0)

public static final class WindowsUpdate.Category.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsUpdate.Category.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public WindowsUpdate.Category.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

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.

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsUpdate.Category.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsUpdate.Category.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

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.

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsUpdate.Category.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsUpdate.Category.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
WindowsUpdate.Category.Builder
Overrides