public static final class Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder extends GeneratedMessage.Builder<Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder> implements Inventory.WindowsUpdatePackage.WindowsUpdateCategoryOrBuilderCategories specified by the Windows Update.
Protobuf type
google.cloud.osconfig.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Inventory.WindowsUpdatePackage.WindowsUpdateCategory.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
getDefaultInstanceForType()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Inventory.WindowsUpdatePackage.WindowsUpdateCategory |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| 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 |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder |
This builder for chaining. |