Class Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder (2.50.0)

public static final class Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder extends GeneratedMessageV3.Builder<Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder> implements Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilder

Categories specified by the Windows Update.

Protobuf type google.cloud.osconfig.v1.Inventory.WindowsUpdatePackage.WindowsUpdateCategory

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

build()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory build()
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

buildPartial()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial()
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

clear()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clear()
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clearId()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearId()

The identifier of the windows update category.

string id = 1;

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

clearName()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearName()

The name of the windows update category.

string name = 2;

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clone()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clone()
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

getDefaultInstanceForType()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType()
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

getDescriptorForType()

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

getId()

public String getId()

The identifier of the windows update category.

string id = 1;

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

The identifier of the windows update category.

string id = 1;

Returns
Type Description
ByteString

The bytes for id.

getName()

public String getName()

The name of the windows update category.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the windows update 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(Inventory.WindowsUpdatePackage.WindowsUpdateCategory other)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Inventory.WindowsUpdatePackage.WindowsUpdateCategory other)
Parameter
Name Description
other Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

setId(String value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setId(String value)

The identifier of the windows update category.

string id = 1;

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setIdBytes(ByteString value)

The identifier of the windows update category.

string id = 1;

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

setName(String value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setName(String value)

The name of the windows update category.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setNameBytes(ByteString value)

The name of the windows update category.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides