- 2.50.0 (latest)
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.6
- 2.4.3
- 2.3.2
public static final class PatchJobs.WindowsUpdateSettings.Builder extends GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder> implements PatchJobs.WindowsUpdateSettingsOrBuilder
Windows patching is performed using the Windows Update Agent.
Protobuf type google.cloud.osconfig.v1.WindowsUpdateSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchJobs.WindowsUpdateSettings.BuilderImplements
PatchJobs.WindowsUpdateSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllClassifications(Iterable<? extends PatchJobs.WindowsUpdateSettings.Classification> values)
public PatchJobs.WindowsUpdateSettings.Builder addAllClassifications(Iterable<? extends PatchJobs.WindowsUpdateSettings.Classification> values)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.osconfig.v1.PatchJobs.WindowsUpdateSettings.Classification> The classifications to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addAllClassificationsValue(Iterable<Integer> values)
public PatchJobs.WindowsUpdateSettings.Builder addAllClassificationsValue(Iterable<Integer> values)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for classifications to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addAllExcludes(Iterable<String> values)
public PatchJobs.WindowsUpdateSettings.Builder addAllExcludes(Iterable<String> values)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
values | Iterable<String> The excludes to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addAllExclusivePatches(Iterable<String> values)
public PatchJobs.WindowsUpdateSettings.Builder addAllExclusivePatches(Iterable<String> values)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
values | Iterable<String> The exclusivePatches to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addClassifications(PatchJobs.WindowsUpdateSettings.Classification value)
public PatchJobs.WindowsUpdateSettings.Builder addClassifications(PatchJobs.WindowsUpdateSettings.Classification value)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
value | PatchJobs.WindowsUpdateSettings.Classification The classifications to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addClassificationsValue(int value)
public PatchJobs.WindowsUpdateSettings.Builder addClassificationsValue(int value)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
value | int The enum numeric value on the wire for classifications to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addExcludes(String value)
public PatchJobs.WindowsUpdateSettings.Builder addExcludes(String value)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
value | String The excludes to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addExcludesBytes(ByteString value)
public PatchJobs.WindowsUpdateSettings.Builder addExcludesBytes(ByteString value)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
value | ByteString The bytes of the excludes to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addExclusivePatches(String value)
public PatchJobs.WindowsUpdateSettings.Builder addExclusivePatches(String value)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
value | String The exclusivePatches to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addExclusivePatchesBytes(ByteString value)
public PatchJobs.WindowsUpdateSettings.Builder addExclusivePatchesBytes(ByteString value)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
value | ByteString The bytes of the exclusivePatches to add. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.WindowsUpdateSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
build()
public PatchJobs.WindowsUpdateSettings build()
Type | Description |
PatchJobs.WindowsUpdateSettings |
buildPartial()
public PatchJobs.WindowsUpdateSettings buildPartial()
Type | Description |
PatchJobs.WindowsUpdateSettings |
clear()
public PatchJobs.WindowsUpdateSettings.Builder clear()
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
clearClassifications()
public PatchJobs.WindowsUpdateSettings.Builder clearClassifications()
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
clearExcludes()
public PatchJobs.WindowsUpdateSettings.Builder clearExcludes()
List of KBs to exclude from update.
repeated string excludes = 2;
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
clearExclusivePatches()
public PatchJobs.WindowsUpdateSettings.Builder clearExclusivePatches()
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.WindowsUpdateSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.WindowsUpdateSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
clone()
public PatchJobs.WindowsUpdateSettings.Builder clone()
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
getClassifications(int index)
public PatchJobs.WindowsUpdateSettings.Classification getClassifications(int index)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
index | int The index of the element to return. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Classification | The classifications at the given index. |
getClassificationsCount()
public int getClassificationsCount()
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Type | Description |
int | The count of classifications. |
getClassificationsList()
public List<PatchJobs.WindowsUpdateSettings.Classification> getClassificationsList()
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Type | Description |
List<Classification> | A list containing the classifications. |
getClassificationsValue(int index)
public int getClassificationsValue(int index)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of classifications at the given index. |
getClassificationsValueList()
public List<Integer> getClassificationsValueList()
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for classifications. |
getDefaultInstanceForType()
public PatchJobs.WindowsUpdateSettings getDefaultInstanceForType()
Type | Description |
PatchJobs.WindowsUpdateSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExcludes(int index)
public String getExcludes(int index)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The excludes at the given index. |
getExcludesBytes(int index)
public ByteString getExcludesBytes(int index)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the excludes at the given index. |
getExcludesCount()
public int getExcludesCount()
List of KBs to exclude from update.
repeated string excludes = 2;
Type | Description |
int | The count of excludes. |
getExcludesList()
public ProtocolStringList getExcludesList()
List of KBs to exclude from update.
repeated string excludes = 2;
Type | Description |
ProtocolStringList | A list containing the excludes. |
getExclusivePatches(int index)
public String getExclusivePatches(int index)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The exclusivePatches at the given index. |
getExclusivePatchesBytes(int index)
public ByteString getExclusivePatchesBytes(int index)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the exclusivePatches at the given index. |
getExclusivePatchesCount()
public int getExclusivePatchesCount()
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Type | Description |
int | The count of exclusivePatches. |
getExclusivePatchesList()
public ProtocolStringList getExclusivePatchesList()
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Type | Description |
ProtocolStringList | A list containing the exclusivePatches. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PatchJobs.WindowsUpdateSettings other)
public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(PatchJobs.WindowsUpdateSettings other)
Name | Description |
other | PatchJobs.WindowsUpdateSettings |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.WindowsUpdateSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
setClassifications(int index, PatchJobs.WindowsUpdateSettings.Classification value)
public PatchJobs.WindowsUpdateSettings.Builder setClassifications(int index, PatchJobs.WindowsUpdateSettings.Classification value)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
index | int The index to set the value at. |
value | PatchJobs.WindowsUpdateSettings.Classification The classifications to set. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
setClassificationsValue(int index, int value)
public PatchJobs.WindowsUpdateSettings.Builder setClassificationsValue(int index, int value)
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1.WindowsUpdateSettings.Classification classifications = 1;
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for classifications to set. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
setExcludes(int index, String value)
public PatchJobs.WindowsUpdateSettings.Builder setExcludes(int index, String value)
List of KBs to exclude from update.
repeated string excludes = 2;
Name | Description |
index | int The index to set the value at. |
value | String The excludes to set. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
setExclusivePatches(int index, String value)
public PatchJobs.WindowsUpdateSettings.Builder setExclusivePatches(int index, String value)
An exclusive list of kbs to be updated. These are the only patches that will be updated. This field must not be used with other patch configurations.
repeated string exclusive_patches = 3;
Name | Description |
index | int The index to set the value at. |
value | String The exclusivePatches to set. |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.WindowsUpdateSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PatchJobs.WindowsUpdateSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PatchJobs.WindowsUpdateSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PatchJobs.WindowsUpdateSettings.Builder |