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.v1alpha.Inventory.WindowsUpdatePackage.WindowsUpdateCategory
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory build()
Returns
buildPartial()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory buildPartial()
Returns
clear()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearId()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearId()
The identifier of the windows update category.
string id = 1;
Returns
clearName()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearName()
The name of the windows update category.
string name = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getId()
The identifier of the windows update category.
string id = 1;
Returns
getIdBytes()
public ByteString getIdBytes()
The identifier of the windows update category.
string id = 1;
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Inventory.WindowsUpdatePackage.WindowsUpdateCategory other)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Inventory.WindowsUpdatePackage.WindowsUpdateCategory other)
Parameter
Returns
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Inventory.WindowsUpdatePackage.WindowsUpdateCategory.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides