Class PatchJobs.ZypperSettings (2.14.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.14.0keyboard_arrow_down
public static final class PatchJobs . ZypperSettings extends GeneratedMessageV3 implements PatchJobs . ZypperSettingsOrBuilder
Static Fields
CATEGORIES_FIELD_NUMBER
public static final int CATEGORIES_FIELD_NUMBER
Field Value
EXCLUDES_FIELD_NUMBER
public static final int EXCLUDES_FIELD_NUMBER
Field Value
EXCLUSIVE_PATCHES_FIELD_NUMBER
public static final int EXCLUSIVE_PATCHES_FIELD_NUMBER
Field Value
SEVERITIES_FIELD_NUMBER
public static final int SEVERITIES_FIELD_NUMBER
Field Value
WITH_OPTIONAL_FIELD_NUMBER
public static final int WITH_OPTIONAL_FIELD_NUMBER
Field Value
WITH_UPDATE_FIELD_NUMBER
public static final int WITH_UPDATE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PatchJobs . ZypperSettings getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static PatchJobs . ZypperSettings . Builder newBuilder ()
Returns
newBuilder(PatchJobs.ZypperSettings prototype)
public static PatchJobs . ZypperSettings . Builder newBuilder ( PatchJobs . ZypperSettings prototype )
Parameter
Returns
public static PatchJobs . ZypperSettings parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PatchJobs . ZypperSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PatchJobs . ZypperSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs . ZypperSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PatchJobs . ZypperSettings parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs . ZypperSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PatchJobs . ZypperSettings parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static PatchJobs . ZypperSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PatchJobs . ZypperSettings parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PatchJobs . ZypperSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PatchJobs . ZypperSettings parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PatchJobs . ZypperSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<PatchJobs . ZypperSettings > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
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;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
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;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
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;
Returns
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;
Returns
getDefaultInstanceForType()
public PatchJobs . ZypperSettings getDefaultInstanceForType ()
Returns
getExcludes(int index)
public String getExcludes ( int index )
List of patches to exclude from update.
repeated string excludes = 5;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
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;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
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;
Returns
Type
Description
int
The count of excludes.
getExcludesList()
public ProtocolStringList getExcludesList ()
List of patches to exclude from update.
repeated string excludes = 5;
Returns
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;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
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;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
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;
Returns
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;
Returns
getParserForType()
public Parser<PatchJobs . ZypperSettings > getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
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;
Parameter
Name
Description
index
int
The index of the element to return.
Returns
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;
Parameter
Name
Description
index
int
The index of the value to return.
Returns
Type
Description
ByteString
The bytes of the severities at the given index.
getSeveritiesCount()
public int getSeveritiesCount ()
Install only patches with these severities.
Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Returns
Type
Description
int
The count of severities.
getSeveritiesList()
public ProtocolStringList getSeveritiesList ()
Install only patches with these severities.
Common severities include critical, important, moderate, and low.
repeated string severities = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
getWithOptional()
public boolean getWithOptional ()
Adds the --with-optional
flag to zypper patch
.
bool with_optional = 1;
Returns
Type
Description
boolean
The withOptional.
getWithUpdate()
public boolean getWithUpdate ()
Adds the --with-update
flag, to zypper patch
.
bool with_update = 2;
Returns
Type
Description
boolean
The withUpdate.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public PatchJobs . ZypperSettings . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PatchJobs . ZypperSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public PatchJobs . ZypperSettings . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[],[],null,[]]