Package com.google.cloud.osconfig.v1beta
Class PatchJobs.WindowsUpdateSettings.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
com.google.cloud.osconfig.v1beta.PatchJobs.WindowsUpdateSettings.Builder
- All Implemented Interfaces:
PatchJobs.WindowsUpdateSettingsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- PatchJobs.WindowsUpdateSettings
public static final class PatchJobs.WindowsUpdateSettings.Builder
extends com.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
implements PatchJobs.WindowsUpdateSettingsOrBuilder
Windows patching is performed using the Windows Update Agent.Protobuf type
google.cloud.osconfig.v1beta.WindowsUpdateSettings-
Method Summary
Modifier and TypeMethodDescriptionaddAllClassifications(Iterable<? extends PatchJobs.WindowsUpdateSettings.Classification> values) Only apply updates of these windows update classifications.addAllClassificationsValue(Iterable<Integer> values) Only apply updates of these windows update classifications.addAllExcludes(Iterable<String> values) List of KBs to exclude from update.addAllExclusivePatches(Iterable<String> values) An exclusive list of kbs to be updated.Only apply updates of these windows update classifications.addClassificationsValue(int value) Only apply updates of these windows update classifications.addExcludes(String value) List of KBs to exclude from update.addExcludesBytes(com.google.protobuf.ByteString value) List of KBs to exclude from update.addExclusivePatches(String value) An exclusive list of kbs to be updated.addExclusivePatchesBytes(com.google.protobuf.ByteString value) An exclusive list of kbs to be updated.build()clear()Only apply updates of these windows update classifications.List of KBs to exclude from update.An exclusive list of kbs to be updated.getClassifications(int index) Only apply updates of these windows update classifications.intOnly apply updates of these windows update classifications.Only apply updates of these windows update classifications.intgetClassificationsValue(int index) Only apply updates of these windows update classifications.Only apply updates of these windows update classifications.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExcludes(int index) List of KBs to exclude from update.com.google.protobuf.ByteStringgetExcludesBytes(int index) List of KBs to exclude from update.intList of KBs to exclude from update.com.google.protobuf.ProtocolStringListList of KBs to exclude from update.getExclusivePatches(int index) An exclusive list of kbs to be updated.com.google.protobuf.ByteStringgetExclusivePatchesBytes(int index) An exclusive list of kbs to be updated.intAn exclusive list of kbs to be updated.com.google.protobuf.ProtocolStringListAn exclusive list of kbs to be updated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setClassifications(int index, PatchJobs.WindowsUpdateSettings.Classification value) Only apply updates of these windows update classifications.setClassificationsValue(int index, int value) Only apply updates of these windows update classifications.setExcludes(int index, String value) List of KBs to exclude from update.setExclusivePatches(int index, String value) An exclusive list of kbs to be updated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>
-
mergeFrom
public PatchJobs.WindowsUpdateSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PatchJobs.WindowsUpdateSettings.Builder>- Throws:
IOException
-
getClassificationsList
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Specified by:
getClassificationsListin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- A list containing the classifications.
-
getClassificationsCount
public int getClassificationsCount()Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Specified by:
getClassificationsCountin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- The count of classifications.
-
getClassifications
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Specified by:
getClassificationsin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The classifications at the given index.
-
setClassifications
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.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
index- The index to set the value at.value- The classifications to set.- Returns:
- This builder for chaining.
-
addClassifications
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.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
value- The classifications to add.- Returns:
- This builder for chaining.
-
addAllClassifications
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.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
values- The classifications to add.- Returns:
- This builder for chaining.
-
clearClassifications
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Returns:
- This builder for chaining.
-
getClassificationsValueList
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Specified by:
getClassificationsValueListin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- A list containing the enum numeric values on the wire for classifications.
-
getClassificationsValue
public int getClassificationsValue(int index) Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Specified by:
getClassificationsValuein interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of classifications at the given index.
-
setClassificationsValue
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for classifications to set.- Returns:
- This builder for chaining.
-
addClassificationsValue
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
value- The enum numeric value on the wire for classifications to add.- Returns:
- This builder for chaining.
-
addAllClassificationsValue
Only apply updates of these windows update classifications. If empty, all updates are applied.
repeated .google.cloud.osconfig.v1beta.WindowsUpdateSettings.Classification classifications = 1;- Parameters:
values- The enum numeric values on the wire for classifications to add.- Returns:
- This builder for chaining.
-
getExcludesList
public com.google.protobuf.ProtocolStringList getExcludesList()List of KBs to exclude from update.
repeated string excludes = 2;- Specified by:
getExcludesListin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- A list containing the excludes.
-
getExcludesCount
public int getExcludesCount()List of KBs to exclude from update.
repeated string excludes = 2;- Specified by:
getExcludesCountin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- The count of excludes.
-
getExcludes
List of KBs to exclude from update.
repeated string excludes = 2;- Specified by:
getExcludesin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The excludes at the given index.
-
getExcludesBytes
public com.google.protobuf.ByteString getExcludesBytes(int index) List of KBs to exclude from update.
repeated string excludes = 2;- Specified by:
getExcludesBytesin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the excludes at the given index.
-
setExcludes
List of KBs to exclude from update.
repeated string excludes = 2;- Parameters:
index- The index to set the value at.value- The excludes to set.- Returns:
- This builder for chaining.
-
addExcludes
List of KBs to exclude from update.
repeated string excludes = 2;- Parameters:
value- The excludes to add.- Returns:
- This builder for chaining.
-
addAllExcludes
List of KBs to exclude from update.
repeated string excludes = 2;- Parameters:
values- The excludes to add.- Returns:
- This builder for chaining.
-
clearExcludes
List of KBs to exclude from update.
repeated string excludes = 2;- Returns:
- This builder for chaining.
-
addExcludesBytes
public PatchJobs.WindowsUpdateSettings.Builder addExcludesBytes(com.google.protobuf.ByteString value) List of KBs to exclude from update.
repeated string excludes = 2;- Parameters:
value- The bytes of the excludes to add.- Returns:
- This builder for chaining.
-
getExclusivePatchesList
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;- Specified by:
getExclusivePatchesListin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- A list containing the exclusivePatches.
-
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;- Specified by:
getExclusivePatchesCountin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Returns:
- The count of exclusivePatches.
-
getExclusivePatches
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;- Specified by:
getExclusivePatchesin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The exclusivePatches at the given index.
-
getExclusivePatchesBytes
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;- Specified by:
getExclusivePatchesBytesin interfacePatchJobs.WindowsUpdateSettingsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the exclusivePatches at the given index.
-
setExclusivePatches
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;- Parameters:
index- The index to set the value at.value- The exclusivePatches to set.- Returns:
- This builder for chaining.
-
addExclusivePatches
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;- Parameters:
value- The exclusivePatches to add.- Returns:
- This builder for chaining.
-
addAllExclusivePatches
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;- Parameters:
values- The exclusivePatches to add.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
addExclusivePatchesBytes
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;- Parameters:
value- The bytes of the exclusivePatches to add.- Returns:
- This builder for chaining.
-