public static final class PatchJobs.ZypperSettings.Builder extends 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.v1beta.ZypperSettings
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PatchJobs.ZypperSettings.BuilderImplements
PatchJobs.ZypperSettingsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllCategories(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The categories to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addAllExcludes(Iterable<String> values)
public PatchJobs.ZypperSettings.Builder addAllExcludes(Iterable<String> values)
List of patches to exclude from update.
repeated string excludes = 5;
Name | Description |
values | Iterable<String> The excludes to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addAllExclusivePatches(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The exclusivePatches to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addAllSeverities(Iterable<String> values)
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;
Name | Description |
values | Iterable<String> The severities to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addCategories(String value)
public PatchJobs.ZypperSettings.Builder addCategories(String value)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Name | Description |
value | String The categories to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addCategoriesBytes(ByteString value)
public PatchJobs.ZypperSettings.Builder addCategoriesBytes(ByteString value)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Name | Description |
value | ByteString The bytes of the categories to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addExcludes(String value)
public PatchJobs.ZypperSettings.Builder addExcludes(String value)
List of patches to exclude from update.
repeated string excludes = 5;
Name | Description |
value | String The excludes to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addExcludesBytes(ByteString value)
public PatchJobs.ZypperSettings.Builder addExcludesBytes(ByteString value)
List of patches to exclude from update.
repeated string excludes = 5;
Name | Description |
value | ByteString The bytes of the excludes to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addExclusivePatches(String value)
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;
Name | Description |
value | String The exclusivePatches to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addExclusivePatchesBytes(ByteString value)
public PatchJobs.ZypperSettings.Builder addExclusivePatchesBytes(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;
Name | Description |
value | ByteString The bytes of the exclusivePatches to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PatchJobs.ZypperSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PatchJobs.ZypperSettings.Builder |
addSeverities(String value)
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;
Name | Description |
value | String The severities to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
addSeveritiesBytes(ByteString value)
public PatchJobs.ZypperSettings.Builder addSeveritiesBytes(ByteString value)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Name | Description |
value | ByteString The bytes of the severities to add. |
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
build()
public PatchJobs.ZypperSettings build()
Type | Description |
PatchJobs.ZypperSettings |
buildPartial()
public PatchJobs.ZypperSettings buildPartial()
Type | Description |
PatchJobs.ZypperSettings |
clear()
public PatchJobs.ZypperSettings.Builder clear()
Type | Description |
PatchJobs.ZypperSettings.Builder |
clearCategories()
public PatchJobs.ZypperSettings.Builder clearCategories()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clearExcludes()
public PatchJobs.ZypperSettings.Builder clearExcludes()
List of patches to exclude from update.
repeated string excludes = 5;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clearExclusivePatches()
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;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PatchJobs.ZypperSettings.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PatchJobs.ZypperSettings.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PatchJobs.ZypperSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PatchJobs.ZypperSettings.Builder |
clearSeverities()
public PatchJobs.ZypperSettings.Builder clearSeverities()
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clearWithOptional()
public PatchJobs.ZypperSettings.Builder clearWithOptional()
Adds the --with-optional
flag to zypper patch
.
bool with_optional = 1;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clearWithUpdate()
public PatchJobs.ZypperSettings.Builder clearWithUpdate()
Adds the --with-update
flag, to zypper patch
.
bool with_update = 2;
Type | Description |
PatchJobs.ZypperSettings.Builder | This builder for chaining. |
clone()
public PatchJobs.ZypperSettings.Builder clone()
Type | Description |
PatchJobs.ZypperSettings.Builder |
getCategories(int index)
public String getCategories(int index)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The categories at the given index. |
getCategoriesBytes(int index)
public ByteString getCategoriesBytes(int index)
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the categories at the given index. |
getCategoriesCount()
public int getCategoriesCount()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Type | Description |
int | The count of categories. |
getCategoriesList()
public ProtocolStringList getCategoriesList()
Install only patches with these categories. Common categories include security, recommended, and feature.
repeated string categories = 3;
Type | Description |
ProtocolStringList | A list containing the categories. |
getDefaultInstanceForType()
public PatchJobs.ZypperSettings getDefaultInstanceForType()
Type | Description |
PatchJobs.ZypperSettings |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getExcludes(int index)
public String getExcludes(int index)
List of patches to exclude from update.
repeated string excludes = 5;
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 patches to exclude from update.
repeated string excludes = 5;
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 patches to exclude from update.
repeated string excludes = 5;
Type | Description |
int | The count of excludes. |
getExcludesList()
public ProtocolStringList getExcludesList()
List of patches to exclude from update.
repeated string excludes = 5;
Type | Description |
ProtocolStringList | A list containing the excludes. |
getExclusivePatches(int index)
public 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;
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 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;
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 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;
Type | Description |
int | The count of exclusivePatches. |
getExclusivePatchesList()
public 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;
Type | Description |
ProtocolStringList | A list containing the exclusivePatches. |
getSeverities(int index)
public String getSeverities(int index)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The severities at the given index. |
getSeveritiesBytes(int index)
public ByteString getSeveritiesBytes(int index)
Install only patches with these severities. Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |