public static final class PatchJobs.ZypperSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder> implements PatchJobs.ZypperSettingsOrBuilder
Zypper patching is performed by running `zypper patch`. See also https://en.opensuse.org/SDB:Zypper_manual.Protobuf type
google.cloud.osconfig.v1.ZypperSettings| Modifier and Type | Method and Description |
|---|---|
PatchJobs.ZypperSettings.Builder |
addAllCategories(Iterable<String> values)
Install only patches with these categories.
|
PatchJobs.ZypperSettings.Builder |
addAllExcludes(Iterable<String> values)
List of patches to exclude from update.
|
PatchJobs.ZypperSettings.Builder |
addAllExclusivePatches(Iterable<String> values)
An exclusive list of patches to be updated.
|
PatchJobs.ZypperSettings.Builder |
addAllSeverities(Iterable<String> values)
Install only patches with these severities.
|
PatchJobs.ZypperSettings.Builder |
addCategories(String value)
Install only patches with these categories.
|
PatchJobs.ZypperSettings.Builder |
addCategoriesBytes(com.google.protobuf.ByteString value)
Install only patches with these categories.
|
PatchJobs.ZypperSettings.Builder |
addExcludes(String value)
List of patches to exclude from update.
|
PatchJobs.ZypperSettings.Builder |
addExcludesBytes(com.google.protobuf.ByteString value)
List of patches to exclude from update.
|
PatchJobs.ZypperSettings.Builder |
addExclusivePatches(String value)
An exclusive list of patches to be updated.
|
PatchJobs.ZypperSettings.Builder |
addExclusivePatchesBytes(com.google.protobuf.ByteString value)
An exclusive list of patches to be updated.
|
PatchJobs.ZypperSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.ZypperSettings.Builder |
addSeverities(String value)
Install only patches with these severities.
|
PatchJobs.ZypperSettings.Builder |
addSeveritiesBytes(com.google.protobuf.ByteString value)
Install only patches with these severities.
|
PatchJobs.ZypperSettings |
build() |
PatchJobs.ZypperSettings |
buildPartial() |
PatchJobs.ZypperSettings.Builder |
clear() |
PatchJobs.ZypperSettings.Builder |
clearCategories()
Install only patches with these categories.
|
PatchJobs.ZypperSettings.Builder |
clearExcludes()
List of patches to exclude from update.
|
PatchJobs.ZypperSettings.Builder |
clearExclusivePatches()
An exclusive list of patches to be updated.
|
PatchJobs.ZypperSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PatchJobs.ZypperSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PatchJobs.ZypperSettings.Builder |
clearSeverities()
Install only patches with these severities.
|
PatchJobs.ZypperSettings.Builder |
clearWithOptional()
Adds the `--with-optional` flag to `zypper patch`.
|
PatchJobs.ZypperSettings.Builder |
clearWithUpdate()
Adds the `--with-update` flag, to `zypper patch`.
|
PatchJobs.ZypperSettings.Builder |
clone() |
String |
getCategories(int index)
Install only patches with these categories.
|
com.google.protobuf.ByteString |
getCategoriesBytes(int index)
Install only patches with these categories.
|
int |
getCategoriesCount()
Install only patches with these categories.
|
com.google.protobuf.ProtocolStringList |
getCategoriesList()
Install only patches with these categories.
|
PatchJobs.ZypperSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExcludes(int index)
List of patches to exclude from update.
|
com.google.protobuf.ByteString |
getExcludesBytes(int index)
List of patches to exclude from update.
|
int |
getExcludesCount()
List of patches to exclude from update.
|
com.google.protobuf.ProtocolStringList |
getExcludesList()
List of patches to exclude from update.
|
String |
getExclusivePatches(int index)
An exclusive list of patches to be updated.
|
com.google.protobuf.ByteString |
getExclusivePatchesBytes(int index)
An exclusive list of patches to be updated.
|
int |
getExclusivePatchesCount()
An exclusive list of patches to be updated.
|
com.google.protobuf.ProtocolStringList |
getExclusivePatchesList()
An exclusive list of patches to be updated.
|
String |
getSeverities(int index)
Install only patches with these severities.
|
com.google.protobuf.ByteString |
getSeveritiesBytes(int index)
Install only patches with these severities.
|
int |
getSeveritiesCount()
Install only patches with these severities.
|
com.google.protobuf.ProtocolStringList |
getSeveritiesList()
Install only patches with these severities.
|
boolean |
getWithOptional()
Adds the `--with-optional` flag to `zypper patch`.
|
boolean |
getWithUpdate()
Adds the `--with-update` flag, to `zypper patch`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PatchJobs.ZypperSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PatchJobs.ZypperSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
PatchJobs.ZypperSettings.Builder |
mergeFrom(PatchJobs.ZypperSettings other) |
PatchJobs.ZypperSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.ZypperSettings.Builder |
setCategories(int index,
String value)
Install only patches with these categories.
|
PatchJobs.ZypperSettings.Builder |
setExcludes(int index,
String value)
List of patches to exclude from update.
|
PatchJobs.ZypperSettings.Builder |
setExclusivePatches(int index,
String value)
An exclusive list of patches to be updated.
|
PatchJobs.ZypperSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PatchJobs.ZypperSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PatchJobs.ZypperSettings.Builder |
setSeverities(int index,
String value)
Install only patches with these severities.
|
PatchJobs.ZypperSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PatchJobs.ZypperSettings.Builder |
setWithOptional(boolean value)
Adds the `--with-optional` flag to `zypper patch`.
|
PatchJobs.ZypperSettings.Builder |
setWithUpdate(boolean value)
Adds the `--with-update` flag, to `zypper patch`.
|
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.ZypperSettings.Builder>public PatchJobs.ZypperSettings.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.ZypperSettings.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.ZypperSettings.Builder>public PatchJobs.ZypperSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PatchJobs.ZypperSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.ZypperSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PatchJobs.ZypperSettings.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.ZypperSettings.Builder>public PatchJobs.ZypperSettings.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.ZypperSettings.Builder>public PatchJobs.ZypperSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder>public PatchJobs.ZypperSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder>public PatchJobs.ZypperSettings.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.ZypperSettings.Builder>public PatchJobs.ZypperSettings.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.ZypperSettings.Builder>public PatchJobs.ZypperSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PatchJobs.ZypperSettings.Builder>public PatchJobs.ZypperSettings.Builder mergeFrom(PatchJobs.ZypperSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder>public PatchJobs.ZypperSettings.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.ZypperSettings.Builder>IOExceptionpublic boolean getWithOptional()
Adds the `--with-optional` flag to `zypper patch`.
bool with_optional = 1;getWithOptional in interface PatchJobs.ZypperSettingsOrBuilderpublic PatchJobs.ZypperSettings.Builder setWithOptional(boolean value)
Adds the `--with-optional` flag to `zypper patch`.
bool with_optional = 1;value - The withOptional to set.public PatchJobs.ZypperSettings.Builder clearWithOptional()
Adds the `--with-optional` flag to `zypper patch`.
bool with_optional = 1;public boolean getWithUpdate()
Adds the `--with-update` flag, to `zypper patch`.
bool with_update = 2;getWithUpdate in interface PatchJobs.ZypperSettingsOrBuilderpublic PatchJobs.ZypperSettings.Builder setWithUpdate(boolean value)
Adds the `--with-update` flag, to `zypper patch`.
bool with_update = 2;value - The withUpdate to set.public PatchJobs.ZypperSettings.Builder clearWithUpdate()
Adds the `--with-update` flag, to `zypper patch`.
bool with_update = 2;public com.google.protobuf.ProtocolStringList getCategoriesList()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;getCategoriesList in interface PatchJobs.ZypperSettingsOrBuilderpublic int getCategoriesCount()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;getCategoriesCount in interface PatchJobs.ZypperSettingsOrBuilderpublic String getCategories(int index)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;getCategories in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCategoriesBytes(int index)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;getCategoriesBytes in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the value to return.public PatchJobs.ZypperSettings.Builder setCategories(int index, String value)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;index - The index to set the value at.value - The categories to set.public PatchJobs.ZypperSettings.Builder addCategories(String value)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;value - The categories to add.public PatchJobs.ZypperSettings.Builder addAllCategories(Iterable<String> values)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;values - The categories to add.public PatchJobs.ZypperSettings.Builder clearCategories()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;public PatchJobs.ZypperSettings.Builder addCategoriesBytes(com.google.protobuf.ByteString value)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;value - The bytes of the categories to add.public com.google.protobuf.ProtocolStringList getSeveritiesList()
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;getSeveritiesList in interface PatchJobs.ZypperSettingsOrBuilderpublic int getSeveritiesCount()
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;getSeveritiesCount in interface PatchJobs.ZypperSettingsOrBuilderpublic String getSeverities(int index)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;getSeverities in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getSeveritiesBytes(int index)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;getSeveritiesBytes in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the value to return.public PatchJobs.ZypperSettings.Builder setSeverities(int index, String value)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;index - The index to set the value at.value - The severities to set.public PatchJobs.ZypperSettings.Builder addSeverities(String value)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;value - The severities to add.public PatchJobs.ZypperSettings.Builder addAllSeverities(Iterable<String> values)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;values - The severities to add.public PatchJobs.ZypperSettings.Builder clearSeverities()
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;public PatchJobs.ZypperSettings.Builder addSeveritiesBytes(com.google.protobuf.ByteString value)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;value - The bytes of the severities to add.public com.google.protobuf.ProtocolStringList getExcludesList()
List of patches to exclude from update.
repeated string excludes = 5;getExcludesList in interface PatchJobs.ZypperSettingsOrBuilderpublic int getExcludesCount()
List of patches to exclude from update.
repeated string excludes = 5;getExcludesCount in interface PatchJobs.ZypperSettingsOrBuilderpublic String getExcludes(int index)
List of patches to exclude from update.
repeated string excludes = 5;getExcludes in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExcludesBytes(int index)
List of patches to exclude from update.
repeated string excludes = 5;getExcludesBytes in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the value to return.public PatchJobs.ZypperSettings.Builder setExcludes(int index, String value)
List of patches to exclude from update.
repeated string excludes = 5;index - The index to set the value at.value - The excludes to set.public PatchJobs.ZypperSettings.Builder addExcludes(String value)
List of patches to exclude from update.
repeated string excludes = 5;value - The excludes to add.public PatchJobs.ZypperSettings.Builder addAllExcludes(Iterable<String> values)
List of patches to exclude from update.
repeated string excludes = 5;values - The excludes to add.public PatchJobs.ZypperSettings.Builder clearExcludes()
List of patches to exclude from update.
repeated string excludes = 5;public PatchJobs.ZypperSettings.Builder addExcludesBytes(com.google.protobuf.ByteString value)
List of patches to exclude from update.
repeated string excludes = 5;value - The bytes of the excludes to add.public com.google.protobuf.ProtocolStringList getExclusivePatchesList()
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;getExclusivePatchesList in interface PatchJobs.ZypperSettingsOrBuilderpublic int getExclusivePatchesCount()
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;getExclusivePatchesCount in interface PatchJobs.ZypperSettingsOrBuilderpublic String getExclusivePatches(int index)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;getExclusivePatches in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getExclusivePatchesBytes(int index)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;getExclusivePatchesBytes in interface PatchJobs.ZypperSettingsOrBuilderindex - The index of the value to return.public PatchJobs.ZypperSettings.Builder setExclusivePatches(int index, String value)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;index - The index to set the value at.value - The exclusivePatches to set.public PatchJobs.ZypperSettings.Builder addExclusivePatches(String value)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;value - The exclusivePatches to add.public PatchJobs.ZypperSettings.Builder addAllExclusivePatches(Iterable<String> values)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;values - The exclusivePatches to add.public PatchJobs.ZypperSettings.Builder clearExclusivePatches()
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;public PatchJobs.ZypperSettings.Builder addExclusivePatchesBytes(com.google.protobuf.ByteString value)
An exclusive list of patches to be updated. These are the only patches that will be installed using 'zypper patch patch:<patch_name>' command. This field must not be used with any other patch configuration fields.
repeated string exclusive_patches = 6;value - The bytes of the exclusivePatches to add.public final PatchJobs.ZypperSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder>public final PatchJobs.ZypperSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PatchJobs.ZypperSettings.Builder>Copyright © 2023 Google LLC. All rights reserved.