Class WindowsUpdate.Category.Builder (2.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public WindowsUpdate.Category.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

build()

public WindowsUpdate.Category build()
Returns
TypeDescription
WindowsUpdate.Category

buildPartial()

public WindowsUpdate.Category buildPartial()
Returns
TypeDescription
WindowsUpdate.Category

clear()

public WindowsUpdate.Category.Builder clear()
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

clearCategoryId()

public WindowsUpdate.Category.Builder clearCategoryId()

The identifier of the category.

string category_id = 1;

Returns
TypeDescription
WindowsUpdate.Category.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public WindowsUpdate.Category.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

clearName()

public WindowsUpdate.Category.Builder clearName()

The localized name of the category.

string name = 2;

Returns
TypeDescription
WindowsUpdate.Category.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public WindowsUpdate.Category.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

clone()

public WindowsUpdate.Category.Builder clone()
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

getCategoryId()

public String getCategoryId()

The identifier of the category.

string category_id = 1;

Returns
TypeDescription
String

The categoryId.

getCategoryIdBytes()

public ByteString getCategoryIdBytes()

The identifier of the category.

string category_id = 1;

Returns
TypeDescription
ByteString

The bytes for categoryId.

getDefaultInstanceForType()

public WindowsUpdate.Category getDefaultInstanceForType()
Returns
TypeDescription
WindowsUpdate.Category

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The localized name of the category.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The localized name of the category.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public WindowsUpdate.Category.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public WindowsUpdate.Category.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

mergeFrom(WindowsUpdate.Category other)

public WindowsUpdate.Category.Builder mergeFrom(WindowsUpdate.Category other)
Parameter
NameDescription
otherWindowsUpdate.Category
Returns
TypeDescription
WindowsUpdate.Category.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final WindowsUpdate.Category.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

setCategoryId(String value)

public WindowsUpdate.Category.Builder setCategoryId(String value)

The identifier of the category.

string category_id = 1;

Parameter
NameDescription
valueString

The categoryId to set.

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

The bytes for categoryId to set.

Returns
TypeDescription
WindowsUpdate.Category.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public WindowsUpdate.Category.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

setName(String value)

public WindowsUpdate.Category.Builder setName(String value)

The localized name of the category.

string name = 2;

Parameter
NameDescription
valueString

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final WindowsUpdate.Category.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
WindowsUpdate.Category.Builder
Overrides