Class Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

build()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory build()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

buildPartial()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

clear()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clear()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clearId()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearId()

The identifier of the windows update category.

string id = 1;

Returns
TypeDescription
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
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

clone()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clone()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

getDefaultInstanceForType()

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType()
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getId()

public String getId()

The identifier of the windows update category.

string id = 1;

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

The identifier of the windows update category.

string id = 1;

Returns
TypeDescription
ByteString

The bytes for id.

getName()

public String getName()

The name of the windows update category.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Inventory.WindowsUpdatePackage.WindowsUpdateCategory other)
Parameter
NameDescription
otherInventory.WindowsUpdatePackage.WindowsUpdateCategory
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The id to set.

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

The bytes for id to set.

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder
Overrides