public static final class PatchJobs.WindowsUpdateSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder> implements PatchJobs.WindowsUpdateSettingsOrBuilder
Windows patching is performed using the Windows Update Agent.Protobuf type
google.cloud.osconfig.v1.WindowsUpdateSettings| Modifier and Type | Method and Description |
|---|---|
PatchJobs.WindowsUpdateSettings.Builder |
addAllClassifications(Iterable<? extends PatchJobs.WindowsUpdateSettings.Classification> values)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
addAllClassificationsValue(Iterable<Integer> values)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
addAllExcludes(Iterable<String> values)
List of KBs to exclude from update.
|
PatchJobs.WindowsUpdateSettings.Builder |
addAllExclusivePatches(Iterable<String> values)
An exclusive list of kbs to be updated.
|
PatchJobs.WindowsUpdateSettings.Builder |
addClassifications(PatchJobs.WindowsUpdateSettings.Classification value)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
addClassificationsValue(int value)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
addExcludes(String value)
List of KBs to exclude from update.
|
PatchJobs.WindowsUpdateSettings.Builder |
addExcludesBytes(com.google.protobuf.ByteString value)
List of KBs to exclude from update.
|
PatchJobs.WindowsUpdateSettings.Builder |
addExclusivePatches(String value)
An exclusive list of kbs to be updated.
|
PatchJobs.WindowsUpdateSettings.Builder |
addExclusivePatchesBytes(com.google.protobuf.ByteString value)
An exclusive list of kbs to be updated.
|
PatchJobs.WindowsUpdateSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.WindowsUpdateSettings |
build() |
PatchJobs.WindowsUpdateSettings |
buildPartial() |
PatchJobs.WindowsUpdateSettings.Builder |
clear() |
PatchJobs.WindowsUpdateSettings.Builder |
clearClassifications()
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
clearExcludes()
List of KBs to exclude from update.
|
PatchJobs.WindowsUpdateSettings.Builder |
clearExclusivePatches()
An exclusive list of kbs to be updated.
|
PatchJobs.WindowsUpdateSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.WindowsUpdateSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.WindowsUpdateSettings.Builder |
clone() |
PatchJobs.WindowsUpdateSettings.Classification |
getClassifications(int index)
Only apply updates of these windows update classifications.
|
int |
getClassificationsCount()
Only apply updates of these windows update classifications.
|
List<PatchJobs.WindowsUpdateSettings.Classification> |
getClassificationsList()
Only apply updates of these windows update classifications.
|
int |
getClassificationsValue(int index)
Only apply updates of these windows update classifications.
|
List<Integer> |
getClassificationsValueList()
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExcludes(int index)
List of KBs to exclude from update.
|
com.google.protobuf.ByteString |
getExcludesBytes(int index)
List of KBs to exclude from update.
|
int |
getExcludesCount()
List of KBs to exclude from update.
|
com.google.protobuf.ProtocolStringList |
getExcludesList()
List of KBs to exclude from update.
|
String |
getExclusivePatches(int index)
An exclusive list of kbs to be updated.
|
com.google.protobuf.ByteString |
getExclusivePatchesBytes(int index)
An exclusive list of kbs to be updated.
|
int |
getExclusivePatchesCount()
An exclusive list of kbs to be updated.
|
com.google.protobuf.ProtocolStringList |
getExclusivePatchesList()
An exclusive list of kbs to be updated.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.WindowsUpdateSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.WindowsUpdateSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.WindowsUpdateSettings.Builder |
mergeFrom(PatchJobs.WindowsUpdateSettings other) |
PatchJobs.WindowsUpdateSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.WindowsUpdateSettings.Builder |
setClassifications(int index,
PatchJobs.WindowsUpdateSettings.Classification value)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
setClassificationsValue(int index,
int value)
Only apply updates of these windows update classifications.
|
PatchJobs.WindowsUpdateSettings.Builder |
setExcludes(int index,
String value)
List of KBs to exclude from update.
|
PatchJobs.WindowsUpdateSettings.Builder |
setExclusivePatches(int index,
String value)
An exclusive list of kbs to be updated.
|
PatchJobs.WindowsUpdateSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.WindowsUpdateSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.WindowsUpdateSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.WindowsUpdateSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.WindowsUpdateSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.WindowsUpdateSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(PatchJobs.WindowsUpdateSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>IOExceptionpublic 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;
getClassificationsList in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic 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;
getClassificationsCount in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic 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;
getClassifications in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the element to return.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;
index - The index to set the value at.value - The classifications to set.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;
value - The classifications to add.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;
values - The classifications to add.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;
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;
getClassificationsValueList in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic 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;
getClassificationsValue in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the value to return.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;
index - The index to set the value at.value - The enum numeric value on the wire for classifications to set.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;
value - The enum numeric value on the wire for classifications to add.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;
values - The enum numeric values on the wire for classifications to add.public com.google.protobuf.ProtocolStringList getExcludesList()
List of KBs to exclude from update.
repeated string excludes = 2;getExcludesList in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic int getExcludesCount()
List of KBs to exclude from update.
repeated string excludes = 2;getExcludesCount in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic String getExcludes(int index)
List of KBs to exclude from update.
repeated string excludes = 2;getExcludes in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludesBytes(int index)
List of KBs to exclude from update.
repeated string excludes = 2;getExcludesBytes in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the value to return.public PatchJobs.WindowsUpdateSettings.Builder setExcludes(int index, String value)
List of KBs to exclude from update.
repeated string excludes = 2;index - The index to set the value at.value - The excludes to set.public PatchJobs.WindowsUpdateSettings.Builder addExcludes(String value)
List of KBs to exclude from update.
repeated string excludes = 2;value - The excludes to add.public PatchJobs.WindowsUpdateSettings.Builder addAllExcludes(Iterable<String> values)
List of KBs to exclude from update.
repeated string excludes = 2;values - The excludes to add.public PatchJobs.WindowsUpdateSettings.Builder clearExcludes()
List of KBs to exclude from update.
repeated string excludes = 2;public PatchJobs.WindowsUpdateSettings.Builder addExcludesBytes(com.google.protobuf.ByteString value)
List of KBs to exclude from update.
repeated string excludes = 2;value - The bytes of the excludes to add.public com.google.protobuf.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;getExclusivePatchesList in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic 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;getExclusivePatchesCount in interface PatchJobs.WindowsUpdateSettingsOrBuilderpublic 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;getExclusivePatches in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.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;getExclusivePatchesBytes in interface PatchJobs.WindowsUpdateSettingsOrBuilderindex - The index of the value to return.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;index - The index to set the value at.value - The exclusivePatches to set.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;value - The exclusivePatches to add.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;values - The exclusivePatches to add.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;public PatchJobs.WindowsUpdateSettings.Builder addExclusivePatchesBytes(com.google.protobuf.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;value - The bytes of the exclusivePatches to add.public final PatchJobs.WindowsUpdateSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>public final PatchJobs.WindowsUpdateSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.WindowsUpdateSettings.Builder>Copyright © 2023 Google LLC. All rights reserved.